Various tutorials involve #include "string6.h" or #include <string>
I have Borland 5.02-what do I use?
The below code does not work at all and apparently the problem has to do with the fact that im trying to use a string
Code:#include <iostream.h> #include <string> int main() { string name; int ID; cout << "Enter your name "; cin >> name; cout << "Enter your ID number "; cin >> ID; cout << "Hello " << name << " or should I say " << ID << endl; return 0; }