Login | Register

Preprocessor for C++ class implementation


Preprocessor for C++ class implementation

Djalalian, Zahra (2000) Preprocessor for C++ class implementation. Masters thesis, Concordia University.



A single file approach for class implementation in C++ programming language is addressed in this thesis. The objective of this thesis is to find a simple and efficient class implementation approach for C++ programming language. The current C++ class implementation named as "two files approach" has many drawbacks and also has some advantages. This thesis develops a new approach, the single file approach, which keeps the two files approach's advantages and eliminates its disadvantages. In the single file approach the developer puts all class information into one file and thus it is easier for the developer to develop only one file (canonical file) for class information. In this thesis a preprocessor program is developed to generate four different files from the canonical file, i.e. the header file and the implementation file for the compiler, and two documentation (interfaces) files for clients. These output files do not have the interface and implementation files' drawbacks of the two files approach. Also, in the single file approach the separation of class information is done automatically which saves the developer's time.

Divisions:Concordia University > Faculty of Engineering and Computer Science > Computer Science and Software Engineering
Item Type:Thesis (Masters)
Authors:Djalalian, Zahra
Pagination:xi, 95 leaves ; 29 cm.
Institution:Concordia University
Degree Name:Theses (M.Comp.Sc.)
Program:Computer Science and Software Engineering
Thesis Supervisor(s):Grogono, Peter
ID Code:1056
Deposited By: Concordia University Libraries
Deposited On:27 Aug 2009 17:16
Last Modified:08 Dec 2010 15:18
Related URLs:
All items in Spectrum are protected by copyright, with all rights reserved. The use of items is governed by Spectrum's terms of access.

Repository Staff Only: item control page


Downloads per month over past year

Back to top Back to top