alright thanks guys
And Adak thanks nice catch
Type: Posts; User: green2black
alright thanks guys
And Adak thanks nice catch
I wrote a program that reads in a file into an array of structures. I am supposed to check that the data is valid while reading it in. It should read in 7 elements into the structure and print an...
thanks guys
MK27 that was it. I was making things WAY harder than I needed to. Thanks a lot
wooo thanks a lot ill give this another shot now
can I use the same string conversions with %d? Im really new with this...
something like?
%3[^:]d
Im working on a program that opens a file of student records and stores them in an array of structures.
My structure looks like this
typedef struct
{
char name[21];
char...
Thanks I got it all working now. Turns out the main problem was how I was saving the file.
But now I have run into another problem. When I read all of the values into my array I am somehow...
Hey thanks again
Im gonna work on this more later. Hopefully it all goes well!
Thanks for the quick reply master5001
I added your ideas with fgets and strtok but still get the same error.
Could I be saving the .txt file incorrectly?
For that confusing code part..
I...
I am having a whole lot of trouble so far with this program. The program prompts the user for the name of a file, which contains floating point numbers, to be opened for reading and store the values...
got it thanks guys
thanks, I got the board declaration thing fixed but still have problems with the pointer from integer without a cast thing. Any help would be.......well helpful
Ive been trying to clean this program up but can't figure out these past two things. When I try to compile it I get a message saying in function gameloop, board is undeclared. I also get a warning...