On Tue, 11 Nov 2003 22:02:53 -0500, Lucas Holt <[EMAIL PROTECTED]>
> > You can't learn C++ without learning C first. So I'd suggest you
> > become intimiately familiar with C, and then move on to the advanced
> > concepts and features that C++ provides once you want/need to use them.
> > --
> > Matt Emmerton
> Thats not entirely accurate. Western Michigan University only teaches
> C++, and i can tell you that most C topics like pointers and printf
> have never come up in class. C style strings are it, and they didn't
> even explain those. This is a common misconception.
Pretty much everything in the base language of C is in C++. This includes
pointers, so you probably didn't learn C++ completely. printf however, is
part of one of the C standard libraries (stdio in this case), not the
language itself and not C++ at all (not sure if C++ has variable arg
> you can go your whole life without
> only using
> cout << "hello world" << endl;
Depends on what you plan on doing in your entire life. A simple program
written in C probably would have to use printf. Anything in the kernel
won't use cout, and even things you would expect in your standard C
enviroment have to be specially written for the kernel anyway. And anyway,
most pople could go their entire life without cout.
Plus, cout may be easier to use for simple things like printing out numbers
and strings, but if you want your strings formatted, cout isn't much fun.
I'd suggest learning C, and then if you have to, learn C++.
Robin Schoonover (aka End)
# Free Speech!! While Supplies Last!! -- [EMAIL PROTECTED]
[EMAIL PROTECTED] mailing list
To unsubscribe, send any mail to "[EMAIL PROTECTED]"