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
You only declared name in the class, static variables need to be defined like so outside of the class:
name
string CPractice::name ="hello" ;