could try getch();
Type: Posts; User: aldyfight
could try getch();
mr made use english language for his study, so he must make english in indonesia style, because if i translate with google translate, thats its perfect language, hahahaha
hahahahahaha thats from my country...
if you use devcpp .... you have the proble so am i. i use developer priview. hahahahahaha the g++ will debug autmatically
okey thanks for feed back
hahahaha on linux is doesnt have, conio.h and i will make it better, i was sorry i am from indonesia my vocabolary is little, hahahahah next time i will improve. if you wanna improve. use this code
i just wanna share my first game in C programming.
#include <stdio.h>
#include <math.h>
void win(void){
printf("\nyou win and computer lose\n");
}
void lose(void){
cool
i will try
while on while in while ..
hahahahahaha where is the code
in programmer life warning is no matter but , error is the trouble;
oh gdb is use for debug the program.... i just know, and when i compile without -lm can work the program but if i dont use -lm the log cannot be compile, and if i use the option -lm . the output is...
i think this game must be on free for user to use, and never threat the user with trojan to search the cheat in client side,
hahahahaha . i cannot said anything about the function....
thanks both of you for helping me,
i just know before i use this function i must make a seed before,
srand();
and if i was make this automatic i must use this
srand( (unsigned int)time(NULL) );...
i was sorry before i am new in c programming and new join here , i just search random function,
there are random function using rand();
but when i compile
this code
#include <stdio.h>