User profile: ami1234

User info
User name:ami1234
History
Joined:
Number of posts:8
Latest posts:

generate random numbers
Hi peter87, i didnt really understand what ur trying to say, if you could elaborate it would be bett...

generate random numbers
i tired that as well, it just outputs negative numbers, like not a single value is positive

generate random numbers
srand (time(NULL)); for(int i=0; i<N; i++) { points[i].x=(rand()%(32767-(-32767)))+(-32767); poi...

C++ Fibonacci Almost done, Just need 1 more thing to add.
it gets negative because the number is greater than the value you can store in an int, try using a d...

Generate random number
srand (time(NULL)); for(int i=0; i<N; i++) { points[i].x=(rand()%(32767-(-32767)))+(-32767); p...

This user does not accept Private Messages

User: ami1234

  • Public profile