Posts by FZero • 75 points
8 posts
-
1
votes1
answer471
viewsQ: Array of pointers with struct
I’m trying to assign 3 names to a string vector within a struct, and using pointers to reference the dynamically allocated struct, and then print and then reverse it into a repeat structure, but…
-
2
votes1
answer284
viewsQ: Stack operations
I am trying to do operations using stack but at the time of allocating the results in the previous position in stack is that I am not getting, because the result of operation is not allocated in the…
-
0
votes1
answer88
viewsQ: Error referencing Struct with Pointers
I’m trying to convert this below algorithm into c language but I’m having trouble calling the variable and assigning a value to p.key=1 of the struct element. Error Code: error: request for Member…
-
1
votes1
answer41
viewsQ: Read a string from a File with space
Hello, I want to read a file line and then returns the number of spaces too, but first I’m trying to return the entire string but when I enter a space is not displayed the rest of the string after…
-
2
votes1
answer1048
viewsQ: Compare Strings with Struct Array in C
I am trying to search a struct vector to return a list from the sex variable, but at string comparison time the list is not returned. complete code: PASTEBIN void consultar_registro() { struct…
-
0
votes1
answer36
viewsQ: Variable returning 0 in file
Hello, I’m learning files I’m having difficulty using fwrite and fread, so the num1 variable is returning me 0 in the repeat structure and I think I did everything right =( #include<stdio.h>…
-
0
votes0
answers62
viewsQ: Separate a string in 2 from a file
I’m having trouble separating a consulted string from a file into two. the file is so alex 6461 anddre 979794 Douglas 6469794 Gustavo ... i want to pick the characters picked up on the line and…
-
0
votes1
answer216
viewsQ: Select an ID of a radiobutton query and store it in a session
I’m having trouble picking up an ID from a query using array and storing it in a session to use it on other screens. Any help I thank.Dry the code below Order Screen <!DOCTYPE html>…