SyntaxFix
Write A Post
Hire A Developer
Questions
You want to do #include <string> instead of string.h and then the type string lives in the std namespace, so you will need to use std::string to refer to it.
#include <string>
string.h
string
std
std::string