prog.cpp:21:40: error: 'Title' has not been declared
/*1)*/static_property(std::string, Title, title_set, title_get);
^
prog.cpp:21:47: error: 'title_set' is not a type
/*1)*/static_property(std::string, Title, title_set, title_get);
^
prog.cpp:21:58: error: 'title_get' is not a type
/*1)*/static_property(std::string, Title, title_set, title_get);
^
prog.cpp:21:67: error: ISO C++ forbids declaration of 'static_property' with no type [-fpermissive]
/*1)*/static_property(std::string, Title, title_set, title_get);
^
prog.cpp: In static member function 'static void Console::title_set(const string&)':
prog.cpp:9:32: error: 'SetConsoleTitle' was not declared in this scope
SetConsoleTitle(title.c_str());
^
prog.cpp: In static member function 'static std::string Console::title_get()':
prog.cpp:14:14: error: 'MAX_PATH' was not declared in this scope
char title[MAX_PATH];
^
prog.cpp:15:19: error: 'title' was not declared in this scope
GetConsoleTitle(title, MAX_PATH);
^
prog.cpp:15:34: error: 'GetConsoleTitle' was not declared in this scope
GetConsoleTitle(title, MAX_PATH);
^
prog.cpp: In function 'int main()':
prog.cpp:34:2: error: 'Title' is not a member of 'Console'
Console::Title = "Hello World";
^
prog.cpp:35:22: error: 'Title' is not a member of 'Console'
std::string title = Console::Title;
^