Well in bloodshed c++ i am able to run the following program :
Code:
#include <iostream.h>
using namespace std;
int main()
{
cout << "Hello World!" << endl;
cout << "Press any key to continue." << endl;
cin.get();
return 0;
}
I am using the .h extension which don't support namespaces and still
able to run it .
what the hell ?
Also Code:
#include <iostream.h>
#include<string.h //how can i use that ?
using namespace std; //with this ?
int main()
{
cout << "Hello World!" << endl;
cout << "Press any key to continue." << endl;
cin.get();
return 0;
}