STL (140)
OOPS (873)
C++ General (2409) What will happen if I allocate memory using "new" and free it using "free" or allocate sing "calloc" and free it using "delete"?
3 9616
What are c++ tokens?
What is the difference between a type-specific template friend class and a general template friend class?
What is encapsulation in simple terms?
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.
What problems might the following macro bring to the application?
What is name hiding in c++?
What's the order in which the objects in an array are destructed?
#include
What are the types of pointer?
What is the benefit of oop?
What are the five basic elements of a c++ program?
What are the advantages of inheritance in c++?
Why is "using namespace std;" considered bad practice?
In a function declaration what does extern means?
Can class objects be passed as function arguments?