Open main menu

CDOT Wiki β

Changes

Console UI Core Classes - OOP344 20111

448 bytes added, 12:00, 7 February 2011
no edit summary
* Use includes only in files in which the actual header file code is used.
* '''Avoid "just in case" includes.'''
== General Internal Header file (ccgh.h R0.1)==
The general header file holds the common setting and definition between all classes in the frame work.
<big><syntaxhighlight lang="cpp">
#ifndef ___CCGH_H__
#define ___CCGH_H__
 
#ifndef _CRT_SECURE_NO_DEPRECATE
#define _CRT_SECURE_NO_DEPRECATE
#endif
#ifndef _CRT_SECURE_NO_WARNINGS
#define _CRT_SECURE_NO_WARNINGS
#endif
 
#define CC_BORDER_CHARS "/-\\|/-\\|"
 
#endif
</syntaxhighlight></big>