C++ Language... as far as I know

  posted by 'Gregory Gates' on October 1, 2007 at 9:00 am

Maybe this article is only a rational justification and why of my C++ programming style where I maintain the C++ class code with the declaration in the header file. It is my simple truth, I like my C++ source-code to look like my Java, Javascript, and PHP source-code. There are no separate class declarations; it is all together, it is where it should be.

I have to admit, my C++ code does look awkward to the purist, for there is only one main.cpp and many include files with inline coded methods as opposed the to the traditional method of one header file containing a class definition and one source file with the class implementation. Regrettably, the pursits remained unconvinced by my attempts to articulate the roots of the C language single, multi-pass compilers, or the use of pre-compiled headers. Perhaps, I will have more success by getting this on paper, so to speak.  Read more

2009
2008
2007
2006