how to make a generator which generates codes for eg;-123456?? how to make this i need
serious help thanks in advance for everyone who helped me.
Recommended Answers
Jump to PostI think you are looking for random number generator. Here is an example :
#include <iostream> #include <ctime> int main(){ srand(time(0)); //seed random number generator for(int i = 0; i < 5; i++){ for(int j = 0; j < 5; ++j){ int randomNumber = rand(); //use rand() …
All 2 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.