Search:

Type: Posts; User: John Gaden

Search: Search took 0.00 seconds.

  1. struct within a struct, odd behavior accessing variables

    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...
  2. Replies
    9
    Views
    1,933

    I understand that. I'm just looking for the...

    I understand that. I'm just looking for the closest way to accomplish semi-simultaneousness.
  3. Replies
    9
    Views
    1,933

    That would just print mesg1, then print mesg2. ...

    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...
  4. Replies
    9
    Views
    1,933

    Multithreading?

    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...
  5. Replies
    6
    Views
    1,689

    Thanks a lot. :) I understand what you were...

    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...
  6. Replies
    6
    Views
    1,689

    It goes to namelist.txt through fin and reads a...

    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...
  7. Replies
    6
    Views
    1,689

    File I/O and Arrays

    I have a text document namelist.txt
    This file contains a list of names in this format:

    Aimee
    Alice
    Alicia
    Allison

    etc.
Results 1 to 7 of 7