Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Search & Filtering

Write a program to create a file and input user defined value to it. Then append new contents and print all the contents from file to output screen.

Write a program to count the number of words present in a file.

write a program to create a class “A” that stores name and age of a student. Create another class “B” that stores two subject marks. Derive another class “C” from “A” and “B” that stores the grade by calculating the following conditions. if average mark >= 90 then grade = ‘O’ else grade is ‘P’. Display all the details of student through the object of class ‘C’


WAP to create a class Greater. Which have one private data member x. And member function input(),Max(). Find the greater no between two objects without using operator overloading.


Wap to create two Base class String1,String2 and private data members called str1,str2 respectively, And one derived class StringConcat derived from that two base class which concatenate that two base class's data members and display it. You use whatever member function which suit your program


Q1. Write the statements using seekg() to achieve the following:

(i) To move the pointer by 15 positions backward from current position.

(ii) To go to the beginning after an operation is over.

(iii) To go backward by 20 bytes from the end.

(iv) To go to byte number 50 in the file.


Q2. Write a Program in C++ that will read a line of text containing more than three words and then replace all the blank spaces with an underscore(_). 


Add two distances in inch-feet by creating a class named 'AddDistance'


Write a program that would print the information (name, year of joining, salary, address) of three employees by creating a class named 'Employee'. The output should be as follows: Name Year of joining Address Robert 1994 64C- WallsStreat Sam 2000 68D- WallsStreat John 1999 26B- WallsStreat


Write a program to print the volume of a box by creating a class named 'Volume' with an initialization list to initialize its length, breadth and height. (just to make you familiar with initialization lists) 


 Print the sum, difference and product of two complex numbers by creating a class named 'Complex' with separate functions for each operation whose real and imaginary parts are entered by the user


LATEST TUTORIALS
APPROVED BY CLIENTS