Click here to Skip to main content
13,045,564 members (70,008 online)
Rate this:
Please Sign up or sign in to vote.
Hi All,
I'm working on big project having 250 .cpp and .h files.Project size is directly propotional to number of project project increase my number of project file increase....

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

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

thanks regard
Posted 26-Dec-11 0:16am
Updated 26-Dec-11 0:17am
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!
Rate this: bad
Please Sign up or sign in to vote.

Solution 1

That sounds good.

Organize your libraries by function and give them meaningful names.
Rate this: bad
Please Sign up or sign in to vote.

Solution 2

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.
Rate this: bad
Please Sign up or sign in to vote.

Solution 3

Projects can take help of the following to group functionality:


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.

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

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.170713.1 | Last Updated 27 Dec 2011
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100