What are c++ templates used for?
No Answer is Posted For this Question
Be the First to Post Answer
Explain container class.
Explain the operation of overloading of an assignment operator.
Define a program that reads two matrices of size 3x3 with real values from the user then prints their sum, difference and multiplication.
What is a c++ map?
A company pays its salespeople on a commission basis. The salespeople receive $200 per week plus 9 percent of their gross sales for that week. For example, a saleperson who sells $5000 worth of merchandise in a week receives $200 plus 9 percent of $5000, or a total of $650. You have been supplied with a list of items sold by each salesperson. The values of these items are as follows: Item Value A 239.99 B 129.75 C 99.95 D 350.89 Write a program that inputs one salesperson's items sold in a week (how many of item A? of item B? etc.) and calculates and displays that salesperson's earnings for that week.
How would you implement a substr() function that extracts a sub string from a given string?
What is math h in c++?
What are the types of pointer?
Describe the main characteristics of static functions?
What are the advantages of using a pointer?
What is the type of 'this' pointer? When does it get created?
If a round rectangle has straight edges and rounded corners, your roundrect class inherits both from rectangle and from circle, and they in turn both inherit from shape, how many shapes are created when you create a roundrect?