Click here to Skip to main content
15,885,910 members
Please Sign up or sign in to vote.
2.00/5 (2 votes)
Hi All,
I'm working on big project having 250 .cpp and .h files.Project size is directly propotional to number of project files.so project increase my number of project file increase....

So problem is maintainance of project but obeouse ,maintaining such big project is not small thing.
_____________________________________________
So,
We planed to restructure our code into small - small modules.
By using,
1)DLL
2)LIB

So is i'm goes throught right path or any thing else present to do so.

thanks regard
santosh
________________________________________________________
Posted
Updated 26-Dec-11 0:17am
v2
Comments
ThatsAlok 28-Dec-11 1:57am    
Just small comment, Could you do a walk through of your code, find the common things and include design pattern when restructure or refactor your code. since companies doesn't give you second thought on your codes!

Projects can take help of the following to group functionality:

Classe.
Namespace
Libraries
Folders

You have to give nice and meaningful names. Group similar code in same places. Keep code modular. Give proper comments. Avoid keeping dead code.

Google C++ Style Guide[^]
This is the guide line provided by google to work with C++ code. Follow it and improvise.
 
Share this answer
 
v3
Break out things into libraries where it makes sense, not just because you can. Follow the kiss (keep it simple stupid) design methodology where possible and it will save you headaches in the long run.
 
Share this answer
 
That sounds good.

Organize your libraries by function and give them meaningful names.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900