Start Discovering Solved Questions and Your Course Assignments
TextBooks Included
Solved Assignments
Asked Questions
Answered Questions
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
the string of characters goodfnofmorning is to be stored in a character array named goodstr1 write the declaration for
write a program that declares three one-dimensional arrays named miles gallons and mpg each array should be capable of
programa write a program that stores the string hooray for all of us in an array named strng use the declaration strng
write a c program that stores the following letters in the array named message this is a test have your program copy
write a function named trimrear that deletes all trailing blanks from a string write the function using pointers with
a create a text file named cardat containing the following data without the headingsb write a c program that reads the
a create a text file named partsdat with the following data without the headingsb write a c program to create an
a banks customer records are to be stored in a file and read into a set of arrays so that a customers record can be
program a create a text file named paydat containing the following data without the headingsb write a c program that