I am a newbie in C++ programming. When compiling I never use any option.
This is my day to day command:
g++ MyCode.cc -o MyCode
For safety practice what's the best option to use?
Open-ended questions are questions that allow someone to give a free-form answer. Closed-ended questions can be answered with “Yes” or “No,” or they have a limited set of possible answers (such as: A, B, C, or All of the Above).
1. To show Bookmarks in Chrome, click the icon with three horizontal bars in the top right corner to open the control panel. 2. In the control panel, hover over "Bookmarks" to display a second menu where you can click the "Show bookmarks bar" text to toggle the bar on or off.
g++ -W -Wall -Werror
Will display all errors and warnings possible and treat them as errors.
“-Werror”: treats all warnings as errors so you have to fix them. Incredibly valuable.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With