• Cours
  • Compilateur de code
  • Discuter
  • Tarification
  • Équipes
Menu
+ 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

code
20th Jun 2020, 1:48 AM
Buneodbek
Buneodbek - avatar
1 Réponse
+ 3
Your "public" is outside the class.
20th Jun 2020, 1:59 AM
Arsenic
Arsenic - avatar

Vous avez souvent des questions comme celle-ci ?

Apprenez de maniĂšre plus efficace, gratuitement :

  • Introduction Ă  Python

    7.1M apprenants

  • Introduction Ă  Java

    4.7M apprenants

  • Introduction Ă  C

    1.5M apprenants

  • Introduction Ă  HTML

    7.5M apprenants

Voir tous les cours
Aujourd'hui en vedette
Concerning image
1 Votes
What is dynamic memory
1 Votes
How can I learn codes
1 Votes
How do you create a game
1 Votes
What is the answer of the web development where it is asked how many times will the messages will be displayed.In the last part.
1 Votes
Code coach "camel and snake"
0 Votes
stop scrolling if navbar is open
2 Votes
Object Oriented Programming
0 Votes
“Beginner in Coding: Which Language Should I Learn First for Unreal Engine Game Development?”
0 Votes
What is the best coding language to create a successful game on steam
0 Votes