+ 5
What is the best way to get random numbers in c++ ? I m using turbo c++ compiler
I want random numbers between 1 and 69 (Both numbers included)
7 odpowiedzi
+ 6
Saksham Narula I am wondering how did you manage to install 30 years old compiler into current PC now? 🤔🧐
Please use current latest C++ compilers, suggested by Serena Yvonne pleasee..
+ 4
int random_rangue(int min, int max) {
return rand() % (max-min) + min + 1;
}
+ 4
Saksham Narula That's the problem with India C++ schools
Im Indian and Im telling you that Tcc/TurboC is like pure shit to experts in C++
+ 3
This is really a surprise that the school is stilll using an outdated tools for teaching, where industrial already abandoned it long time ago.
0
In school they teach us c++ on turbo c++ compiler
0
Use visual studio