+ 1
rand() %10
how can i cout>>rand() % 10 ; in c++ ? i do the code and compiles perfectly but it does not appear on cmd. any ideas ?
2 Respostas
+ 2
replace ">>" with "<<"
+ 1
ohh my god so stupid my bad !
thank you ! !
how can i cout>>rand() % 10 ; in c++ ? i do the code and compiles perfectly but it does not appear on cmd. any ideas ?