   Cpp file size
  How big are your cpp files in genaral? +100, +500 or +1000 lines of code?  
  usually less than 100 lines of actual code.around 200-300 when you include comments.  ;  I normally have about 100 - 200 lines w/o comments however I have a couple of 800 line files. Because of the way I have set up my project they are all header files. I have one cpp file - 388 lines and I have one model file, 2726 lines. But that doesn''t count  ------------------------------Baldur K  ;  For the game i''m doing at the moment, the largest file i''ve got is 2711 lines long(including comments), but it doesn''t get changed. The rest are about.. 300-600 lines(including comments) in length  -= DarkStar =-;  I usually have one header and one source file per class (interface + implementation), unless there are a few very small classes or structures that closely related to each other. File size will vary with the classes, but well-designed classes shouldn''t be super-mega-huge. I usually try to keep things around 1-2 thousand lines at most (LOTS of whitespace included), and much smaller if possible.  ;  The largest cpp file I made was 5105 lines long (about 84 pages whit courier new, size 10). ;  My personalised obfuscating string class has an implementation file (.cpp) of 1273 lines.  Thats the longest I have. ;My sprite module includes maybe ~500 lines of (stolen, naturally) code. That''s the record, I think. -bas;  Was it really necessary to necro this thread after 1.5 years? ;  Your so observant Pouya... always the one to notice these things. 