Discussion:
A2 Q1 - Specifications
(too old to reply)
Chris Jones
2011-10-02 21:45:48 UTC
Permalink
Hello,

I have a couple questions about this assignment.

1) Do we have to use arrays or can we use vectors?

2) Do we have to check if one and only one shell argument is provided
(eg. Option) or can they supply more and we only check the first?

Thanks,
cs240
2011-10-03 13:26:53 UTC
Permalink
1) Heap is usually implemented using arrays. In this case, I don't see why
you want to use vectors rather than arrays since the input file has the
data size in the first line. I would suggest you stick with arrays for
simplicity.

2) Your program should be responsible for checking the correct arguments,
which should not be hard to do.

Vivian
CS24O Tutor
Post by Chris Jones
Hello,
I have a couple questions about this assignment.
1) Do we have to use arrays or can we use vectors?
2) Do we have to check if one and only one shell argument is provided
(eg. Option) or can they supply more and we only check the first?
Thanks,
Loading...