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.
3144which are the 4 members functions in c++ objects that can either be declared explicitly by programmer or implementation if nt available.
4 6396How to Increment the value of the empid E001 for each and every employee by using the programe?
1 36701. Wrie a function which returns the most frequent number in a list of integers. Handle the case of more than one number which meets this criterion. public static int[] GetFrequency(int[] list)
1 7136what are three tenets of object orinted Systems?Why they call like that ? Please answer me. Advance thanks.
2 4854class 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
2287WHAT IS THE DIFFERENCE BETWEEN OBJECT BASED & OBJECT ORIENTD PROGRAMMING LANGUAGE.(GIVE AT LIST 4 PIONT)
TCS,
1 6061Why can't we have instance(stack) of a class as a member of the same class like eg.Class A{A obj;} as we can have self refential pointer
2153
What is encapsulation example?
what is graphics
What are the 3 pillars of oop?
What type of loop is a for loop?
How can you overcome the diamond problem in inheritance?
What are oops methods?
What is the difference between encapsulation and polymorphism?
What is inheritance and how many types of inheritance?
Why is abstraction needed?
What is abstraction and encapsulation?
What is the problem with multiple inheritance?
Why we use classes in oop?
Question: Write a program that prints a paycheck. Ask the program user for the name of the employee, the hourly rate, and the number of hours worked. If the number of hours exceeds 40, the employee is paid “time and a half”, that is, 150 percent of the hourly rate on the hours exceeding 40. Be sure to use stepwi se refine ment and break your solution into several functions. Use the int_name function to print the dollar amount of the check.
What is polymorphism in oops with example?