Code Optimization
| Getting Started with C++ |
C++ Programming Course
Welcome to the complete C++ programming course, taking you from zero to hero. This course covers everything you need to know to become proficient in C++ programming, from installation and setup to advanced template metaprogramming and the standard library.
Getting Started with C++
Before you can start programming in C++, you need a compiler and text editor. In this lesson we cover {content}.
Code Optimization
-O0 - no optimization, debugging friendly
-O1 - some optimization
-O2 - aggressive optimization (default)
-O3 - maximum optimization
-Os - optimize for size
-fgraphite-identity - Graphite optimizations
-march=native - optimize for current CPU
Link-time optimization: -flto
Next: Advanced Memory Management
Article author: Arthur Isaev
| I recommend our hosting beget.com |
| Write to info@aredel.com if you: |
| 1. Want to write an article for our site or translate an article into your native language. |
| 2. Want to place thematically relevant ads on the site. |
| 3. Ads on my site pass maximum censorship. If you see an ad block unsuitable for school-age children, shocking or misleading - please contact us by e-mail |
| 4. Found a mistake, inaccuracy, bug, etc. on the site. ... ....... |
| 5. Articles can be shared on social media by clicking a network icon:
|