Un-Answered Questions { Programming Languages }

What are the important differences between c++ and java?

601


What is c++ mutable?

704


how to declare and populate an array of checkBoxes

681


Declare the structure which contains the following members and write in C list of all students who score more than 75 marks. Roll No, Name, Father Name, Age, City, Marks.

683


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.

628


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.

696


Tell me about virtual function

544


Can we call C++ OOPS? and Why

275


Can we provide one default constructor for our class?

284


How to input string in C++

401


If class D is derived from a base class B

297


Define an Abstract class in C++?

512


How to reverse a string in C++

354


How to convert integer to string in C++

382


How to run C++ program in cmd

370