Search:

Type: Posts; User: linux_kid

Search: Search took 0.01 seconds.

  1. Replies
    2
    Views
    841

    ok, that fixed the problem. I should have...

    ok, that fixed the problem. I should have realized that. thanks.
  2. Replies
    2
    Views
    841

    printf problem

    I am making a simple program that outputs a random number but when I put a printf in it triggers a segment fault and I don't understand why. here is the code:


    #include <stdio.h>
    #include...
  3. Replies
    2
    Views
    2,870

    get input wihout stopping loop

    i wanted to make a simple program to keep updating the time until a key is pressed. for example:

    while(/*check for key press*/) {
    cout << time;
    }
Results 1 to 3 of 3