Recently i have install a new operating system for my computer. So, i have to install all my software individually. After installing Code Blocks 13.12, i have changed some settings for using it efficiently. May be these can help you also....
Modification 1:
For making Code Blocks compatible with C++11 ISO standard
Modification 2:
Sometimes we want a predefined code template for each new file in Code Blocks. Here is the way to do so
For example, we want to this following code snippet each time after opening a new file.
Go to Settings > Editor > Abbreviations > Add a keyword (ex. temp) and the above code snippet in the code section close the window by pressing OK
Press CTRL+SHIFT+N to open a new file then save it with proper extension. After saving it just write temp (as my keyword was temp) and press CTRL+J. See the magic
Modification 1:
For making Code Blocks compatible with C++11 ISO standard
Settings > Compiler > Compiler settings> Check (Have g++ follow the C++11 ISO C++ language standard)
Modification 2:
Sometimes we want a predefined code template for each new file in Code Blocks. Here is the way to do so
Settings > Editor > Abbreviations > Add a keyword and corresponding code for that key wordAfter opening a new file by CTRL+SHIFT+N write the keyword and then click CTRL+J. Your code snippet will be automatically pasted.
For example, we want to this following code snippet each time after opening a new file.
Go to Settings > Editor > Abbreviations > Add a keyword (ex. temp) and the above code snippet in the code section close the window by pressing OK
Press CTRL+SHIFT+N to open a new file then save it with proper extension. After saving it just write temp (as my keyword was temp) and press CTRL+J. See the magic
No comments:
Post a Comment