Open main menu

CDOT Wiki β

Changes

Console UI Core Classes - OOP344 20111

4 bytes removed, 12:12, 7 February 2011
no edit summary
Under Construction!
=Basic (BIO) Encapsulating Classes=
Your objective at this stage is to create series core of classes designed to interact with the user. These '''Core Classes''' then can be used in development of any interactive application.
* 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 the Core Classes.
<big><syntaxhighlight lang="cpp">
#endif
</syntaxhighlight></big>
==File Names==
Use the following rules to create filenames for your class.
*Each class MUST have its own header file and cpp file for implementation
*Use the class name for the name of the file but make sure it is all lowercase.
*:For example '''CFrame''' class should have '''cframe.h''' and '''cframe.cpp''' files for its implementation.
=Basic (BIO) Encapsulating Classes=