Search:

Type: Posts; User: matt345

Search: Search took 0.01 seconds.

  1. Replies
    4
    Views
    811

    thanks it worked

    thanks it worked
  2. Replies
    4
    Views
    811

    well you have to remember those 3 numbers in 3...

    well you have to remember those 3 numbers in 3 seconds
    they they "should" be cleared
    and you have to enter them correctly

    but they don't get cleared so the game is pointless
  3. Replies
    4
    Views
    811

    c program problem

    the program compiles fine by it doesn't run as it should
    any idea what might be wrong?



    case 1: /*selection 1 easy*/

    i1 = rand() % 100;
    i2 = rand() % 100;
    i3 = rand() %...
  4. Replies
    8
    Views
    1,523

    ok, a small question for the end how to clear...

    ok, a small question for the end

    how to clear the screen as neither system("clear") nor system("cls") seem to work
    >sh: cls: command not found<
  5. Replies
    8
    Views
    1,523

    ohh i got it :) thank you

    ohh i got it :)
    thank you
  6. Replies
    8
    Views
    1,523

    well it seems i got another problem here there...

    well it seems i got another problem here
    there is a parse error before else but i cant find it



    while ( iNum <= iNumQue )
    {

    iCurrTime = time(NULL);
  7. Replies
    8
    Views
    1,523

    damn that always happens to me. thanks

    damn that always happens to me.

    thanks
  8. Replies
    8
    Views
    1,523

    while loop problem

    Could anybody check this out?
    it gives me a segmentation fault error when run




    #include <stdio.h>

    main()
  9. Replies
    6
    Views
    1,206

    Okay, thanks

    Okay, thanks
  10. Replies
    6
    Views
    1,206

    Thanks evariste it works fine now :) but...

    Thanks evariste

    it works fine now :)

    but gcc compiler DID compile it even with all those errors
    and didn't even give me a warning
  11. Replies
    6
    Views
    1,206

    Problem in a C program

    Hello,

    I'm learning C with help of a book and one of the challenges is to create a number guessing program.

    The compiler doesn't give me an error but when i run the program and enter a number...
Results 1 to 11 of 11