• Courses
  • Code Compiler
  • Discuss
  • Pricing
  • Teams
Menu
0

Why am I getting this error??

I was making a object counter , but I want the static count var to be private and inited to zero , Im getting error https://code.sololearn.com/c115rr6DFZ4Y/?ref=app

c++staticcodeerrortroubeshoot
6th Jun 2019, 2:48 PM
Shahil Ahmed
Shahil Ahmed - avatar
3 Answers
+ 1
So is it possible to make it private and initialize it? ~ swim ~
6th Jun 2019, 4:40 PM
Shahil Ahmed
Shahil Ahmed - avatar

Often have questions like this?

Learn more efficiently, for free:

  • Introduction to Python

    7.1M learners

  • Introduction to Java

    4.7M learners

  • Introduction to C

    1.5M learners

  • Introduction to HTML

    7.5M learners

See all courses
Hot today
Anyone Have group of learning code?
1 Votes
Theres a lot of weird bugs in the Introduction to C++ course
2 Votes
The question is, Can AI replace programmers?
2 Votes
Bug in sololearn ?
0 Votes
Hi I want to learn react.js and I don't have even idea of coding just newbie
0 Votes
Why does range(5) print 0-4 in python
0 Votes
How do I complete this code to make “game over” appear on the screen.
0 Votes
Wouldn’t a erlang course be amazing?
1 Votes
Quiz module
0 Votes
Sorry for the interruption but i wants to build a os
0 Votes