|
From: Scott S. <age...@co...> - 2004-02-09 12:54:10
|
Using the .h with C++ headers is wrong. You drop off the .h and put "using namespace std" without the quotes in your code. For C headers, you put a c in the front, like cstdio and drop the .h. vasanthsena x wrote: >Hi, > >I am new to c++.On many tutorials and books I have >seen the following > >#include <iostream> > >however this results in an error. >I did the following #include <iostream.h>.this works. > >My question is does it matter if we include ".h" >extension.and what is the right way. > >Thanks, >S. > >__________________________________ >Do you Yahoo!? >Yahoo! Finance: Get your refund fast by filing online. >http://taxes.yahoo.com/filing.html > > >------------------------------------------------------- >The SF.Net email is sponsored by EclipseCon 2004 >Premiere Conference on Open Tools Development and Integration >See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. >http://www.eclipsecon.org/osdn >_______________________________________________ >Dev-cpp-users mailing list >Dev...@li... >TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm >https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > > > |