+ 1
include <iostream> #include <string> using namespace std; class cofe { private: bool (checkvolt)() { return true ;
https://code.sololearn.com/cOM2FT4QOj6f/?ref=app . What's wrong with that? https://code.sololearn.com/cOM2FT4QOj6f/?ref=app
1 Réponse
+ 3
Your "public" is outside the class.