STL (140)
OOPS (873)
C++ General (2409)
Mention the ways in which parameterized can be invoked. Give an example of each.
what is different between oops and c++
How would you call C functions from C++ and vice versa?
What is a multimap c++?
What is difference between inheritance and polymorphism?
What are default parameters? How are they evaluated in c++ function?
List the types of polymorphism in c++?
Will rust take over c++?
How many types of classes are there in c++?
What are the methods of exporting a function from a dll?
Question: Implement a base class Appointment and derived classes Onetime, Daily, Weekly, and Monthly. An appointment has a description (for example, “see the dentist”) and a date and time. Write a virtual function occurs_on(int year, int month, int day) that checks whether the appointment occurs on that date. For example, for a monthly appointment, you must check whether the day of the month matches. Then fill a vector of Appointment* with a mixture of appointments. Have the user enter a date and print out all appointments that happen on that date.
Why is main function important?
What is the difference between structures and unions?
What are issues if we mix new and free in C++?
Write a function that swaps the values of two integers, using int* as the argument type?