Answer Posted / yughandhar
Templates is one of the features added to c++ recently.a
template can be considered as a kind of macro.
Templates are mainely used for creating the generic classes
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
What is a function in oop?
What is pointer in oop?
Templates mean
hi all..i want to know oops concepts clearly can any1 explain??
Give an example where we have to specifically use C programming language and C++ programming language cannot be used?
What is an example of genetic polymorphism?
What are the components of marker interface?
class CTest { public: void someMethod() { int nCount = 0; cout << "This is some method --> " << nCount; } }; int main() { CTest *pctest; pctest->someMethod(); return 0; } It will executes the someMethod() and displays the value too. how is it possible with our creating memory for the class . i think iam not creating object for the class. Thanks in Advance... Prakash
What are different oops concepts?
Where is pseudocode used?
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 is multilevel inheritance explain with example?
Will I be able to get a picture in D drive to the c++ program? If so, help me out?
What is polymorphism programming?
what is the sylabus for priliminaries?