Multiple program in c++


1.Write a program to print message on prompt.

2.Write a program to sum of two numbers.

3.Write a program  to sum of two numbers giving the value at runtime.

4.Write a program to check positive or negative numbers.

5.Write a program to sum of two numbers with user defind function.

6.Write a program to sum of two numbers with user defined function giving value at runtime.

7.Write a program to use user defined function with for loop.

8.Write a program of function with no parameter and but return value.

9.Write a program of function with no parameter and but return value.

10.Write a program of function with  parameter and but not return value.

11.Write a program of function with  parameter and return value.

12.Write a program defining macros without value.

13.Write a program defining macros with value.

14.Write a program of macro with conditional statement.

15.Write a program of macro.

16.Write a program of pass by value.

17.Write a program of pass by reference.

18.Write a program to create user define class.

19.Write a program to create  data members in user define class.

20.Write a program to adding a member function of class.

21.Write a program to use constructor.

22.Write a program to use  copy constructor.

23.Write a program to use  parameter constructor.

24.Write a program to use default constructor.

25.Write a program to use default constructor.

26.Write a program to use dynamic constructor.

27.Write a program to use destructor.

28.Write a program to use data hiding method(encapsulation and abstraction).

29.Write a program to use function overloading with user defined function.

30.Write a program to use function overloading with different data type.

31.Write a program to use function overloading.

32.Write a program to use unary operator overloading.

33.Write a program to use unary operator overloading with constructor.

34.Write a program of postfix and prefix unary  increment operator.

35.Write a program of single inheritance.

36.Write a program of multilevel inheritance.

37.Write a program of multiple inheritance.

38.Write a program  of hierarchical inheritance.

39.Write a program of hybrid inheritance.

40.Write a program of  virtual function.

41.Write a program of  pure virtual function.

42.Write a program of  virtual base class.

43.Write a program of binary operator overloading.

44.Write a program of comparsion operator overloading.

45.Write a program of assignment operator overloading.

46.Write a program of array within class.

47. Write a program of  string manipulation using operator overloading.

48.Write a program to read multi-word string using get function.

49.Write a program of  write() function.

50.Write a program of  precision() function.

51.Write a program of  fill() function.

52.Write a program of simple dereferencing.

53.Write a program of  dereferencing with values.

54.Write a program to create a file “st.txt” and store student information into it using<<operator.

55.Write a program to reads the contents of a file “st.txt” using>> operator.

56.Write a program that’s gets charaters from standard input device keyboard and puts into the file “sitd.txt” using get() and put() function.

57.Write a program to read a file using get() function and write its contents to standard output device (screen).

58.Write a program to read multiple lines from a file “sitd.txt” using getline() function.

59.Write a program to illustrate the concept of overriding member function.

60.Write a program use of function template to evaluate the minimum of two values of any data types.

61.Write a program to sW.A.P. two values independent of the type of the variable using function template.

62.Write a program to create a function template with two genric data type.

63.Write a program to calculate the minimum of two and three numbers of any data type.

64.Write a program to overload function template with non-function template.

65.Write a program to showing use of non-type parameter in function template.

66.Write a program to create a own header file.

67.Write a program to string length( ) function.

68.Write a program to string uppercase( ) function.

69.Write a program to string concat( )  function.

70.Write a program to string palindrome( ) function.

71.Write a program to string lowercase( ) function

Related Posts

Comments are closed.