Click here to Skip to main content
11,934,380 members (40,629 online)
Rate this:
Please Sign up or sign in to vote.
See more: VC6 C++ MFC Project-Management , +
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 1:16am
Edited 26-Dec-11 1: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
Web03 | 2.8.151126.1 | Last Updated 27 Dec 2011
Copyright © CodeProject, 1999-2015
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