How can I easily generate a Unique ID in C++, compiling using gcc


Recommended Answers

All 3 Replies

How unique?
- unique to the program
- unique to the system you're running on
- unique to the LAN you're on
- unique to the whole planet

And how long do you need it to be unique for?

unique to the program, need it unique forever, well at least 10 years

Cheers for the reply!


Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.