Open main menu

CDOT Wiki β

Changes

Team F - OOP344 20133

555 bytes removed, 13:46, 20 November 2013
Coding Style and Standards
-Comments at least one per function saying what it does.
* Compiler error/warning ! strcpy, strcat etc, are unsafe under visual studio environment. Simply, we can turn this off in win32/msvc.
<syntaxhighlight lang="html4strict">
Right-click your C++ and chose the "Properties" item to get to the properties window.
Now follow and expand to, "Configuration Properties"->"C/C++"->"Preprocessor"->"Preprocessor definitions".
 
In the "Preprocessor definitions" add
 
_CRT_SECURE_NO_WARNINGS
 
but it would be a good idea to add
 
_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)
 
as to inherit predefined definitions
</syntaxhighlight>
1
edit