ok, that fixed the problem. I should have realized that. thanks.
Type: Posts; User: linux_kid
ok, that fixed the problem. I should have realized that. thanks.
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...
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;
}