Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Number classes limit in VisualC++ vers.6.0 2

Status
Not open for further replies.

pererm

Programmer
Feb 11, 2002
27
ES
I have an application with 1051 classes. I can´t see the last 2 new classes in the ClassView tree. It´s impossible to manage to do this. If I delete the App.clw file and open the ClassWizard to create it again, says that this is not possible because i have more than 1000 classes in my source files. Is that a limit for Visual C++ version 6.0? Is posible works in other way to skip this problem? What do you do for work with many classes? Help me, thanks and sorry for my faults in English. PERE
 
> Is posible works in other way to skip this problem?
Well personally, I would have split this monster up into half a dozen (or more) separate sub-systems where whole bunches of classes could have been made private to those sub-systems.

Whether this is an option for you at this late state is another matter.

How many more classes were you planning to add?
Is there a design driving the creation of all these classes?

--
 
thanks Salem. When u say system u refers a subproject, or exactly what? Yes in the way we work, it´s possible to create more classes.
 
As Salem mentioned, split it up.

You can look at it like this:

classes = some kind of clever (clever=makes sense)grouping of functionality/responsibility

components = some clever grouping of related classes

subsystems = some clever grouping of related components

Some benefits:
* Navigating in the code base is easier and faster.
* Different ppl can focus on different components/sunsystems => parallell development.

How you glue 'em all together is a mere technical matter depending on what you're developing: libs, dlls or one mega build compiling it all...


/Per

"It was a work of art, flawless, sublime. A triumph equaled only by its monumental failure."
 
Thanks PerFnurt, i had suposed that. We must think in other way to structure our application.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top