[prog] School problem, C++ and cout.precision(2);

Ganesh Swami ganesh at rapidtech.bc.ca
Sat Nov 23 04:14:52 EST 2002


Robert J. Hansen wanted us to know:

> > I can certainly see times when straight C is more appropriate, and I
> 
> When?  C++ incorporates almost all of ISO C90; almost without exception,
> every well-written C program is a valid C++ program.  Bjarne Stroustrup
> recommends K&R's "The C Programming Language" as being full of examples
> of well-written C++.

Ah !

> 
> Given that whenever you'd need C-like abilities, you've got them right
> there in the language, I don't see any reason to ever use C.  
> 
> But then again, I'm a language zealot.  :)
> 

How come you dont have a single kernel in C++ ?

Is it because C++ does function name mangling ?

	-- Ganesh

-- 
:       _ /~\'_
         (o o)
=====oooO==U==Oooo================[Ganesh Swami]==========
Ethernet n.: something used to catch the etherbunny.




More information about the Programming mailing list