#include <iostream>
      #include <boost/uuid/uuid.hpp>
      #include <boost/uuid/uuid_generators.hpp>
      #include <boost/uuid/uuid_io.hpp>
      
      int generateUUID(){
        boost::uuids::uuid uuid = boost::uuids::random_generator()();
        std::cout << boost::uuids::to_string(uuid) << std::endl;
        return 0;
      }
      
      Cpp language logo

      Generate UUID

      Codiga's C++ Recipes

      Generate UUID with Boost library

      0 Comments

        Add Comment

        Log in to add a comment

        Codiga - All rights reserved 2022.