Go back to Richel Bilderbeek's homepage.
Go back to Richel Bilderbeek's C++ page.
CLN example 2: basics: adding seperators to integers
CLN example 2 shows how to to convert an cln::cl_I to std::string and adding the thousands seperators.
Operating system: Ubuntu 10.04 LTS Lucid Lynx
IDE: Qt Creator 2.0.0
Project type: console application
Libraries used:
#------------------------------------------------- |
//--------------------------------------------------------------------------- |
Screen output:
i without seperators: 123456789012345678901234567890 |
Go back to Richel Bilderbeek's C++ page.
Go back to Richel Bilderbeek's homepage.