Hi people,
I have a C++ project with 6 Classes and each class have about
10 member function, and each member function code with about
more than 3 pages.
I have created each file for each class implementation(implement_file.cpp) . but the file is still big since 10 member functions x 3pages/per 1 member function = 30 pages for a file.
This is kinda a huge implementation file.
Is that any other ways to implement to eliminate the file size?
For example:
Header file: interface.h
---------------------------------
| all C++ classes declaration here|
Implement file: classA.cpp
-------------------------
| #include "interface.h"
| implement for class A with 10 member functions and
| 30 pages for 10 function.
----------------------------------
Implement file classB.cpp
------------------------------
|#include "interface.h"
| implement for class B with 10 member function.
--------------------------------------------------------
Can you guys, experienced programmer know how to redesign or
modulize the big project like this into easy manageable files?
Does it common to code a class with 100 pages for 1 file/per one class???
Thanx a lot for your sugesstion or advice.
Lisa2000