iopkc.blogg.se

Codeblocks compiler location
Codeblocks compiler location







% now.date().year_month_day().day.as_number() Paste the following into the main.cpp file you just created:Ĭonst boost::posix_time::ptime now = boost::posix_time::second_clock::local_time() Ĭonst boost::wformat f = boost::wformat( L"%02d.%02d.%s %02d:%02d" )

codeblocks compiler location

Then make sure the Debug and Release checkboxes are set:Īn example that only requires the use of non-compiled libraries, the Boost.DateTime example. Click Yes when prompted if we wish to add this to the current active project: Select File > New > Project > Empty Project:Ĭhoose the C++ compiler you are currently using, such as Cygwin or MinGW and then click Finish:Īdd the main.cpp source file by selecting File > New > Empty File. To configure Code::Blocks to use a header-only Boost library: Boost.DateTime. Some examples of how to configure Code::Blocks to use the Boost C++ libraries:









Codeblocks compiler location