Re: [Dev-C++] Writing a program in c++
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
From: Rob M. <rob...@gm...> - 2013-03-30 15:00:36
|
Try this: // header file includes #include <iostream> using namespace std; #include <stdio.h> #include <math.h> #include <iomanip> For standard "C" headers, the ".h" is fine, but for C++, looks like DevC++ requires using namespace. And leave off the ".h" Don't believe that was necessary in prior versions. On Sat, Mar 30, 2013 at 4:11 AM, Ravi Shekhawat <she...@gm...>wrote: > Sir, dev c++ compiler is depicting error in the header file iostream.h > disabling me to write programs in c++.Could you please tell me how to fix > this horrible error?It's approving stdio.h though > > > ------------------------------------------------------------------------------ > Own the Future-Intel(R) Level Up Game Demo Contest 2013 > Rise to greatness in Intel's independent game demo contest. Compete > for recognition, cash, and the chance to get your game on Steam. > $5K grand prize plus 10 genre and skill prizes. Submit your demo > by 6/6/13. http://altfarm.mediaplex.com/ad/ck/12124-176961-30367-2 > _______________________________________________ > 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 > > |