Course Solutions Uncategorized (Solved) : Output S1 Size 0 S1 Empty Testing Push S1 Size 1 17 S1 Empty S1 Size 4 4 6 2 17 S1 Empty T Q33114583 . . . .

(Solved) : Output S1 Size 0 S1 Empty Testing Push S1 Size 1 17 S1 Empty S1 Size 4 4 6 2 17 S1 Empty T Q33114583 . . . .

 

My Output

s1 (size 0):
s1 is empty

Testing push()

s1 (size 1): 17
s1 is not empty

s1 (size 4): 4 6 2 17
s1 is not empty

Testing copy constructor

s1 (size 4): 4 6 2 17
s2 (size 4): 4 6 2 17

Testing clear()

s1 (size 0):
s2 (size 4): 0 1477251200 1477251168 1477251136

s3 (size 4): 28 75 41 36

Testing assignment operator

s3 (size 4): 28 75 41 36
s4 (size 4): 28 75 41 36

s3 (size 0):
s4 (size 4): 0 1477251200 1477251168 1477251136

Testing assignment to self

s3 (size 4): 1477251104 1477251200 1477251168 1477251136
s4 (size 0):

/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

Output I need

Testing default constructors1 (size 0): s1 is emptyTesting push()s1 (size 1): 17 s1 is not

OR

PayPal Gateway not configured

OR

PayPal Gateway not configured

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Post