If I include strings.h in GUI and try to use strings: string example; , then I get an error: string does not name a type, but if I use it with console, it works. How can I use strings in GUI?
If I include strings.h in GUI and try to use strings: string example; , then I get an error: string does not name a type, but if I use it with console, it works. How can I use strings in GUI?
#include <string>
....
std::string MyString = "Hello, World!";