I have a struct solar_system, and a struct planet. I want to create solar_system test_system, which should then contain planet planets, then assign a string to test_system.planets[1 through...
Type: Posts; User: John Gaden
I have a struct solar_system, and a struct planet. I want to create solar_system test_system, which should then contain planet planets, then assign a string to test_system.planets[1 through...
I understand that. I'm just looking for the closest way to accomplish semi-simultaneousness.
That would just print mesg1, then print mesg2. I'm looking to do both at the same time.
Erm. Actually, I see what you meant. With my function adding another argument to allow a second mesg would...
I've been fooling around with some things and have come to a situation I'm not sure how to deal with.
I'm using code::blocks in xp with the curses library.
I have a function:
void...
Thanks a lot. :)
I understand what you were saying about my >> idea.
Turns out strcpy was the correct way to go, the issue seemed that "names[50][11]" 50 was not enough. Stupid mistake.
This...
It goes to namelist.txt through fin and reads a line to c, the buffer being 11 characters and the delim being a new line. It then passes it to names[i]. It seems to work for the first time around...
I have a text document namelist.txt
This file contains a list of names in this format:
Aimee
Alice
Alicia
Allison
etc.