Friday, July 31, 2009

Using namespace std; - this statement is giving an error in C++...?

error is "declaration syntax error"..Whats the reason behind this?? while I am using Turbo C++ 3 or 4.5 version........

Using namespace std; - this statement is giving an error in C++...?
you have a problem with your compiler ....check your compiler setting.
Reply:using namespace std;


sounds more like VC++ or Managed C++.


In Turbo C++, it is likely





#include %26lt;stdio.h%26gt;
Reply:Don't use that (Using namespace std;) in Turbo C++ instead use this (#include %26lt;stdio.h%26gt;) .


Hope it helps. ^^
Reply:check for uppercase letter mistakes. statement should work.


No comments:

Post a Comment