Dear students,
At times when you compile a program you see a warning message at the end of compiler screen. It is only a warning message and not an error so it has not as such critical impact on your program. However in order to avoid this warning message, You are recommended to use(using namespace std;)statement at the start of the program.
At times when you compile a program you see a warning message at the end of compiler screen. It is only a warning message and not an error so it has not as such critical impact on your program. However in order to avoid this warning message, You are recommended to use(using namespace std;)statement at the start of the program.
Example:
using namespace std; /* It tells the compiler to treat the names in the standard library, a very important part of the C++ language definition */
#include
#include // for getch()
#include
main()
{
cout<<"Welcome to VUsolutions"<
getche();
}
{
cout<<"Welcome to VUsolutions"<
getche();
}
0 comments:
Post a Comment