i need answers for the following questions so i'll be prepaed for my next exam.please
Q1. Write the copy constructor for a dynamic array class template.
is the following answer right?
template <class T>
DynamicClass<T> :: DynamicClass(co nst DynamicClass<T> & obj)
Q2. Write the addItemToHead and AddItemToTail functions for a linked list. Assume the rest of the linkedList class...
User Profile
Collapse
-
my problem is that at the end of the input file there is the lines that we have to add or subtract for example 90+50 which means that add the time in line 90 to the time in line 50
thanks... -
here's the input
356
2:23:58
16:20:56
18:30:20
21:29:53
4:20:15
3:13:43
20:41:51
21:1:16
3:23:35
4:49:10
20:59:47
16:41:59
18:56:38
22:7:49
23:8:57
21:16:55
14:28:18
15:29:12
0:43:47
13:53:54
4:50:12
12:59:58
18:20:44
21:53:55
0:46:31
7:18:54
12:19:40...Leave a comment:
-
Creating a time class - Homework
I wrote the following time class for the following assignment.i need help in completing this program pleasee.
Write a class to hold time. Time is the hour, minute and seconds. Write a constructor that will allow the user of your class to initialize a time or set the time to all zeros if not initialized. Include all the operators listed above.
Your program will need to read from a file of times and commands. There will be a number...Last edited by Niheel; Oct 19 '06, 05:06 AM.
No activity results to display
Show More
Leave a comment: