why to use template classes in c++?
Answer / swati
the template classes are use for the reuse of the data
types which you want to use the program for many times
| Is This Answer Correct ? | 1 Yes | 0 No |
I am developing a payroll system mini project.I used file concept in program for reading and writing.When the program is reloading into the memory that is if i execute next time the file was cleaned and adding data from the starting this is my problem.I want to strore the previous data and if i want to add any record that should be next of previous data.Please help me.
What are the three parts of a simple empty class?
Why is static class not inherited?
Can destructor be overloaded?
create a class complex having real and imaginary part of a complex no. as a data member. overload the binary operators(+,- and *) to perform the operations on complex no. objects. overload binary operator using friend function.
2 Answers CTS, Delhi University,
WHAT IS THE ACTUAL DEFINATION OF OBJECT AND THE CLASS IN ONE SINGLE LINE WHICH THE INTERVIEWER WANT TO LISTEN.
What are the valid types of data that the main () can return in C/C++ language
what is graphics
What is object in oop?
Can we have a private virtual method ?
write a program that takes input in digits and display the result in words from 1 to 1000
What is difference between oop and pop?