nested classes...

This is a discussion on nested classes... within the A Brief History of Cprogramming.com forums, part of the Community Boards category; i have a sequence of nested classes... is it bad to use classes solely fro the sake of organizing functions? ...

nested classes...

i have a sequence of nested classes... is it bad to use classes solely fro the sake of organizing functions? is there an alternative? what i do is declare an instance of the class before the function definitions... so that the class [nested] functions can call the functions in the instance of itself...

what are those? and... what's the point of this... [i mean, the keyword 'this', not this post, as that's clearly defined above...] thanks...

i am starting to redesign my nested classes... and it's not inheritance since no class has copies of other class' functions... it's just including the declaration of all classes, and organizing instances of them in each other... [not recursively, of course...]

heeeey!!! lol, i wish i knew that before!!! well i still need to organize data variables... can i use namespace for that as well? can i nest them? [i might do so...] and... is this a standard keyword? i couldn't find it in my bc45 help file...

yes... thanks, that does occur to me... but i figured that was what classes were for... as a means of organizing a programmer's project... in that case i would not see any reason why we'd have namespaces... other than that they would allocated concrete variables instead of creating templates for them [as classes do...] great! say... is it very unusual to have a function of one class call a function of another class? i'd say this is good, except that i have to seperate the class definitions from the class function definitions in order to link to it... [which is a peeve since i have many a file that just have the class definitions and many a seperate file for the function include tree... argh!!!