- Open the CodeBlocks program
- Write a C++11 source code file
- Click on Menu > Settings > Compiler…
- Make sure the Global compiler settings icon is selected from the LHS icons menu
- Check if Selected compiler: GNU GCC Compiler
- Check if Compiler settings tab is being selected
- Under the Compiler settings tab, check if Compiler Flags tab is being selected
- Check if Categories: <All categories>
- Tick the box: Have g++ follow the coming C++0x ISO C++ language standard [-std=c++0x]
- Click OK button to close the Compiler settings window
- To test it, click the "Build and Run" icon from the toolbar
Reading. Practice. Writing.
Please feel free to comment. Suggestions are also welcomed here. Write something "wholesome serving purpose" here.
Wednesday
How to set CodeBlocks version 12.11 to compile and run a C++11 source code file with -std=c++0x of GNU GCC Compiler?
Do the following steps:
Subscribe to:
Post Comments (Atom)
Newton-Raphson Method in C++
The Newton Raphson Method is an open method used to find the roots of a function. It employs the technique of linear approximation and invol...
-
Open LibreOffice Draw program. Select the rectangle shape from shape toolbar at the bottom of drawing page. Click a point and drag-and-re...
-
DiGi Super Long Life is a feature where you can extend your talktime validity to 1 year for just RM38. Indirectly, the subscription fee is ...
-
DiGi Super Long Life is a feature where you can extend your talktime validity to 1 year for just RM30. Indirectly, the subscription fee is...
No comments:
Post a Comment