okay.. this is the code I've done until now..
I'm just testing here ! .. as I'm still a biggenner in C programming..
Code:
#include <stdio.h>
#include <string> // make standard strings available
#include <iostream> // make standard I/O available
int main()
{
using namespace std;
string name;
cout << "Please enter your name: ";// prompt the user
cin >> name;// read a name
cout << "Hello " << name << "..\n"; //output the name followed by a new line
}
Error:
c:\program files\microsoft visual studio\vc98\include\eh.h(32) : fatal error C1189: #error : "eh.h is only for C++!"
I'm compiling my code in Microsoft Visial c++ 6