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

Member initialize list is a better may...

Because I also can initialize private const member right?

c++classesconstantsconstructors
20th Jul 2017, 1:33 AM
Lin Yu-Chien
Lin Yu-Chien - avatar
2 Answers
+ 1
That's usually how I do it. https://code.sololearn.com/c8Ad35RlKEvg
20th Jul 2017, 1:59 AM
ChaoticDawg
ChaoticDawg - avatar
0
Thank you
22nd Jul 2017, 1:51 PM
Lin Yu-Chien
Lin Yu-Chien - 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
Excuse me, why do they always ask us to input without telling us what it is for in python.
2 Votes
Should i learn python more or HTML?
2 Votes
Quiz
0 Votes
how much time will it take to learn python OOP if i spend 1 hour everyday
0 Votes
C++ Vectors
0 Votes
Code challenge
0 Votes
Does solving a code coach actually give XPs?
2 Votes
A Little Question Here!
1 Votes
(Resolved) Error: Gcc undefined reference to sha 256 đŸ™„đŸ€ŠđŸœâ€â™€ïž
1 Votes
can't understand an error
0 Votes