does anyone know how to make a variable type to store GUIDS? I can currently read GUIDS however storing them is proving difficult. Ideally I would like to do this to compare them and organise them based on a variable type. I am a beginner however am eager to jump in and learn.

hope someone can help explain.

Recommended Answers

All 2 Replies

Boost::uuid (C++) http://www.boost.org/doc/libs/1_42_0/libs/uuid/index.html

or the GUID struct (C) in <windows.h> http://msdn.microsoft.com/en-us/library/aa373931%28VS.85%29.aspx

i keep finding the boost libraries. are these better for use in a c++ program? I'm currently using an SDK and it looks like thats using the windows.h guid struct. i take it thats probably the better one given the sdk is already using it.

thanks for you 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, networking, learning, and sharing knowledge.