On Fri, May 30, 2008 at 3:59 AM, Trent <[EMAIL PROTECTED]> wrote: > From: "Brett McCoy" <[EMAIL PROTECTED]> >> On Thu, May 29, 2008 at 4:23 PM, Trent <[EMAIL PROTECTED]> wrote: >> >>> C++ is an extenstion of C, and has the ability of making objects, while C >>> cannot and is based on programming functions. >> >> Not quite. C++ was based on C for various reasons (portability and >> efficent code generation), but should be treated as a separate >> language. >> > > [...]C has also > greatly influenced many other popular languages, especially C++, which was > originally designed as an extension to C."
There's a non-too-subtle difference between "originally designed as an extension" (Wikipedia, from what I can tell) and "is currently an extension." (you.) If the difference eludes you, perhaps you should concentrate on one or the other. I program in both, and they are *vastly* different. >Only thing I can think of that C comes close to OOP would be the use of > structs. There is absolutely nothing preventing you from writing OOP in C. The Linux kernel and associated modules being one of the larger examples. The use of structs are just the start of it. -- PJH 'Two Dead in Baghdad' not 'product-friendly' - Kent Ertugrul, chief executive of Phorm. http://shabbleland.myminicity.com/
