Hi ppl.. below is just some test code I found to see if string works on my system. The error I get is: error C2065: 'string' : undeclared identifier
It is includes, what could be wrong?
#include <iostream.h>
#include <string>
void main()
{
string stringA = "Nutcracker",
stringB = "Sleeping Beauty",
stringC = "Swan Lake";
}
It is includes, what could be wrong?
#include <iostream.h>
#include <string>
void main()
{
string stringA = "Nutcracker",
stringB = "Sleeping Beauty",
stringC = "Swan Lake";
}