hi,
#pragma should not be a reason to worry #pragma once specifies that the file will be included only once by the compiler when compiling a source code file. This can reduce build times.
It has its own wiki page if you cared to google it.[
^]
Compiler does not know what is 'string'. Either make it std::string OR after the #includes put a using namespace std;
These are not very difficult questions to find answers to on your own. Please google them bfore posting here.
hope it helps!