Start Discovering Solved Questions and Your Course Assignments
TextBooks Included
Active Tutors
Asked Questions
Answered Questions
write a grammar for bitwise logical expressions a bitwise logical expression is much like an arithmetic expression
a permutation is an ordered subset of a set for example say you wanted to pick a combination to a vault there are 60
write a function that finds the smallest and the largest element of a vector argument and also computes the mean and
write two functions that reverse the order of elements in a vector for example 1 3 5 7 9 becomes 9 7 5 3 1 the first
write a function that takes a vector argument and returns a vector containing the number of characters in each string
can we declare a non-reference function argument const eg void fconst int what might that mean why might we want to do
create a library class include vectors of books and patrons include a struct called transaction have it include a book
create a patron class for the library the class will have a users name library card number and library fees if owed
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
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