Hi iam begginer at c++ i have class with static methods and i cant access them it throws me an error
1>------ Build started: Project: CPractice, Confi
I think you're trying to compile with gcc, when you should be compiling with g++. See What is the difference between g++ and gcc? for more on this.
gcc
g++
You also need to add string CPractice::name; below your class definition.
string CPractice::name;