Showing posts with label chapter 2 drill. Show all posts
Showing posts with label chapter 2 drill. Show all posts

Thursday, 23 June 2016

Chapter 2 Drill - Principles & Practice Using C++

This drill is extremely straight forward. I'm doing a comment on it though because I noticed that the link provided in the book for the header file is now out of date and header file it provides will not work.

After some digging (for a guy who created a programming language, his website is poorly organised with a ton of missing links. I don't know if this is done on purpose because you know, irony or not) I managed to find the correct header file which you can download from his website below:

http://www.stroustrup.com/Programming/PPP2code/std_lib_facilities.h

I'm using Visual Studio 15 and so far I've found it to be an excellent compiler. The amount of errors it catches is amazing and I love that most of the time it will even pick up on spelling mistakes and suggest what you might have meant. 9 times out of 10 I've not even had to compile for it to bring up errors as it just underlines in the same red squiggle you would see on Word.