Hey, i hope someone out here can help me out. I've recently switched to visual studio pro 6.0 to finsih up this school project, but i can't seem to run a simple program on it at all! I get errors when i even try to output to the console or when i include standard libraries (string, ifstream). For instance, here is an error code for the following line of code:
string word = "testword";
error C2065: 'string' : undeclared identifier
I did put in the include statement:
#include <string>
also tried
#include <string.h>
isn't string part of the standard library of C++? Why is visual c++ giving me so many problems? did i not set up the project correctly? Please hep!!
string word = "testword";
error C2065: 'string' : undeclared identifier
I did put in the include statement:
#include <string>
also tried
#include <string.h>
isn't string part of the standard library of C++? Why is visual c++ giving me so many problems? did i not set up the project correctly? Please hep!!