Search:

Type: Posts; User: Mellowz

Search: Search took 0.00 seconds.

  1. Replies
    1
    Views
    2,858

    Accessing Structures Inside Structures

    Hello,

    As you can see below, the program will hold the account data in one structure and then the character data in another structure. Eventually, 'player_data' will contain more structures to...
  2. Replies
    4
    Views
    2,232

    atof() acting weird?

    This is how the program is setup.

    The atof() function isn't working the way it should, and is producing bogus numbers. Any idea's?

    Normally I'd just start with a float, but this is for a bigger...
  3. Replies
    6
    Views
    1,524

    No need to. I finally got it to work. Turns out...

    No need to. I finally got it to work. Turns out you can use the system(); command and not have to wait for it to complete it's task.



    char cmd[50];
    sprintf(cmd, "start \"path_to_program\"");...
  4. Replies
    6
    Views
    1,524

    Okay, thanks for the FAQ about it, but whenever I...

    Okay, thanks for the FAQ about it, but whenever I use one of those commands, no new program pops up. The only one it works with for me is the system(); command. Any idea's why?
  5. Replies
    6
    Views
    1,524

    Thank you.

    Thank you.
  6. Replies
    6
    Views
    1,524

    Alternate System(); Command

    Is there a way in C to execute a statement (for example, another .exe file) without using system();?

    I want it to execute the program, which will open another .exe, and then terminate. System();...
  7. Replies
    6
    Views
    9,601

    Right now, I'm on a school computer, and it uses...

    Right now, I'm on a school computer, and it uses Microsoft Windows 2000. The one at my house uses Microsoft Windows XP.

    Anyways, is there another way of getting the return value (maybe a different...
  8. Replies
    6
    Views
    9,601

    When you say "error," do you mean if the IP...

    When you say "error," do you mean if the IP address doesn't exist, or if something is done incorrectly?
  9. Replies
    6
    Views
    9,601

    Getting System(); Command to Return Value

    I'm using int x; to return the value (0 or 1) from system(cmd); command. However, it always returns 0. Any idea's? Here's the code:


    #include <iostream>

    using namespace std;

    int main(void)...
  10. Replies
    3
    Views
    2,146

    SigSegv Violation

    I've been fixing errors like crazy for this program I recently downloaded. It runs a server, but that's not my problem. Every few hours or so I get a Segmentation Violation. I'm a little past an...
Results 1 to 10 of 10