[Question]New Month
1. Create a minimum of 5 classes and have 3 inherit from ONE Abstract Base Class (must have at least 2 data members in at least one of the three classes AND at least one function member in EACH class), then implement it into a simple program.
2. Show and example of Overloading Construtors and Overloading Functions in one simple program.
3. Is the Destructor always inherited from a base class? Is the Constructor inherited from the base class? Which of these (Protected, Private, Public) is inherited in the derived class?
4. Show an example of static_cast in a simple program.
5. The #ifndef directive does what in a code? Explain, Show an Example.
6. What is the the good uses of a virtual member?
7. Show an example of a class template in a simple program.
8. What does the operator ## do in a macro? Explain AND show a good example in a simple
program.
9. #pragma is usually used for what?
10. _cdecl, _stdcall, _fastcall, __declspec (naked)
I'm getting tired of this.
This will be the last one.
2. Show and example of Overloading Construtors and Overloading Functions in one simple program.
3. Is the Destructor always inherited from a base class? Is the Constructor inherited from the base class? Which of these (Protected, Private, Public) is inherited in the derived class?
4. Show an example of static_cast in a simple program.
5. The #ifndef directive does what in a code? Explain, Show an Example.
6. What is the the good uses of a virtual member?
7. Show an example of a class template in a simple program.
8. What does the operator ## do in a macro? Explain AND show a good example in a simple
program.
9. #pragma is usually used for what?
10. _cdecl, _stdcall, _fastcall, __declspec (naked)
I'm getting tired of this.
This will be the last one.
