Search:

Type: Posts; User: xhoangx

Search: Search took 0.01 seconds.

  1. Replies
    4
    Views
    1,129

    you mean like this? char choice; ...

    you mean like this?

    char choice;

    printf("enter choice: ");
    scanf("%c", &choice);

    if(choice==1)
    do this;
    if(choice==2)
  2. Replies
    4
    Views
    1,129

    help with if statement and ENTER

    printf("enter choice: ");
    scanf("%d", &choice);

    if(choice==1)
    do this;
    if(choice==2)
    do that;
    if(choice==(Enter key))
    do something;
  3. Replies
    3
    Views
    2,170

    got it, thanks alot for your help!

    got it, thanks alot for your help!
  4. Replies
    3
    Views
    2,170

    help with fopen() and strings. i'm a noob.

    i'm coding a game program for my c class and i need some help.

    okay, at the beginning of the game it reads the high scores from a .txt file and prints it to the screen. the standard file is...
Results 1 to 4 of 4