What is a base initializer in C++? [closed] - c++

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
My teacher asked me what a base initializer in C++ is.
Can someone of you provide me a definition?

Read up on: Initialiser Lists.
http://www.cprogramming.com/tutorial/initialization-lists-c++.html

Related

Is map<int, list> in C++ possible? [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 9 years ago.
I want to have a linkedlist for each key in the map in C++.
Yes, std::map<int, std::list<SomeType>> is possible in C++.
Have a look at ideone, which is useful for testing simple things such as this.

Should unique_ptr be used for class member pointers? [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
Looking for some opinions on this as it's unclear in reading the C++ 11 documentation.
Absolutely. This takes care of the rule of three for you.

How can i create a new object in a class?(c++) [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 12 years ago.
Good evening every body~
As the title, How can i create a new object in a class? and i want to give it a number.
How can i do that?
Thank you very much~
class MyClass {
int yourNumber;
};
or what do you mean?

BST Supernodes Generation in C/C++ [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 12 years ago.
How can I generate a binary search tree with supernodes in C/C++?
Obtain a reference describing the data structure. http://www.cise.ufl.edu/~sahni/papers/super.pdf
Implement the data structure in C/C++.

What are the c++ commands for case speaker? [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 12 years ago.
I'm trying to make a MIDI song using c++. What are the commands?
If your platform is just "C++", then there are no such "commands". The C++ standard does not specify sound at all.