Following along to SamsTeachYourself C++
If you're following along to this book, try not to copy paste my solutions. You'll be a better programmer for it.
Also, consider using cppreference.com to look at the API documentation when you have issues compiling or to seek out additional knowledge.
I do not own any of the quotations or code snippets from the book. I believe this to be considered "fair use" ... so if you are Pearson Education, Inc. please ask me to remove them if I'm in violation and please don't sue me.