1#include <steamid.hpp>
2...
3
4// parse a Steam ID in "SteamID3" format.
5SteamID steamid( "[U:1:108998443]", SteamID::Formats::STEAMID3 );
6
7// print it in SteamID32 format
8std::cout << steamid[ SteamID::Formats::STEAMID32 ];
9
10// (prints "STEAM_1:1:54499221")
11