Start Discovering Solved Questions and Your Course Assignments
TextBooks Included
Solved Assignments
Asked Questions
Answered Questions
this exercise and the next few require you to design and implement a book class such as you can imagine as part of
design and implement a namepairs class holding nameage pairs where name is a string and age is a double represent that
refine the money class by adding a currency given as a constructor argument accept a floating-point initializer as long
design and implement a money class for calculations involving dollars and cents where arithmetic has to be accurate to
design and implement a set of useful helper functions for the date class with functions such as nextworkday assume that
write a program that removes all vowels from a file disemvowels for example once upon a time becomes nc pn tm
reverse the order of characters in a text file for example asdfghjkl becomes lkjhgfdsa warning there is no really good
draw a series of regular polygons one inside the other the innermost should be an equilateral triangle enclosed by a
draw a 300-by-200-pixel ellipse draw a 400-pixel-long x axis and a 300-pixel-long y axis through the center of the
define a class star one parameter should be the number of points draw a few stars with differing numbers of points
define a class poly that represents a polygon but checks that its points really do make a polygon in its constructor
define two classes smiley and frowny which are both derived from class circle and have two eyes and a mouth next derive
define a class pseudowindow that looks as much like a window as you can make it without heroic efforts it should have
modify binarytree to take a parameter or parameters to indicate what kind of line to use to connect the nodes eg an
casechild protection is a non-profit organisation with headquarter hq located in sydney and two branch offices located
assignment1purposethis assignment implements adts stack and queue for a calculator application2descriptionin this
most class hierarchies have nothing to do with graphics define a class iterator with a pure virtual function next that
define a binarytree class derived from shape give the number of levels as a parameter levels0 means no nodes levels1
define a class octagon to be a regular octagon write a test that exercises all of its functions as defined by you or
define a group to be a container of shapes with suitable operations applied to the various members of the group hint
define a class controller with four virtual functions on off setlevelint and show derive at least two classes from
this chapter does not say what happens when you run out of memory using new thats called memory exhaustion find out
write a program that reads characters from cin into an array that you allocate on the free store read individual
write compile and run a c program that includes two functions named calcavg and variance the calcavg function should
write compile and run a c program that selects the values in a 4-by-5 array of positive integers in increasing order