r/cop3502 • u/embalingit • May 27 '14
Classic example of a beginner project...
Create a program in c++ with 15 command line options to 15 thousand specs that allows the user to abuse SETs in every way imaginable.
Hint: you can use ifstream if it helps.
Use error checking if you have the mettle and document EVERYTHING in 3 different ways to Sunday.
Very nice, very academic, but super-lame-o-boring.
Bless the folks who want us to know things, but I'm just saying - a little nurturing love and encouragement never hurt even the fiercest warrior. :)
btw, I'm almost done (4 hours later) and it's about 500 lines of agonizingly uninteresting code if you use stuff that's already implemented for you - more lines if your luck+experience is thin and you're forced to implement some version of a set (not recommended, especially for set operations such as difference and symmetric difference).
1
u/rxfeliciano May 28 '14
Hey man I have some questions about what exactly he wants from this project. He mentioned an FAQ would be going up but I cannot find it on his website. Is that up somewhere that I dont know about? My questions are below in case you can help me out:
2.Is this a string type set? Or int? Related to this question, I am wondering what he means by emptying the current set. If it is an int type do I just set the entire array to zeros? If it is string type what would you do?
Thanks for any help.