Q: Can I use recursion on this assignment?
A: No. Do not use recursion (functions that call themselves).
Q: How do I construct a compound collection? It doesn't compile.
A: You need a space between nested <>.
Vector<Vector<int>> foo;    // no
Vector<Vector<int> > foo;   // yes
Q: When I print out a collection, I see weird symbols like \042. Is it a bug? What does it mean?
A: You can ignore that. Those are just special character codes for characters like quotation marks.
Q: How do I get a random number?
A:
#include "random.h"
...

int r = randomInteger(min, max);   // inclusive
Q: How do I get a random element of a collection?
A: If it's an indexed collection, such as a Vector, just pick a random index and then go access that index. If it doesn't have indexes, like a set or queue, pick a random index based on the size, and then advance forward (e.g. in a foreach or while loop) that many times and grab the element found there.
Q: Do I have to use the exact collections the spec says to use? I want to use a different one.
A: Follow the spec.
Q: What should go in my myinput.txt file?
A: Copy/paste a fun source of text from the web. For example, grab lyrics from your favorite band, or text of a book or movie script you like, or just make up any text you want.
Q: When I try to turn in the myinput.txt file, the system doesn't display it. Did the turnin system accept my file?
A: Check the page that displays information about your past submission. Do you see the text file there? If so, we received it successfully. If not, you may need to submit again. Sometimes this issue comes from the input file being very large (over ~2mb).
Q: Can I use one of the STL containers from the C++ standard library?
A: No.
Q: I already know a lot of C/C++ from my previous programming experience. Can I use advanced features, such as pointers, on this assignment?
A: No; you should limit yourself to using the material that was taught in class so far.
Q: Can I add any other files to the program? Can I add some classes to the program?
A: No; you should limit yourself to the files and functions in the spec.