Hi all,
I am learning to code in c++ on Linux Mint 13. I am going through an exercise drill in a book called "Programming Principles and Practice using c++ by Bjarne Strustrup". I have a couple of questions.
- I am having trouble with the calling the error function mentioned below.
Have your program write "I hear you just had a birthday and you are age years old." If age is 0 or less or 110 or more, call error("you're kidding!").
(It is Drill no5. on pg83 if anyone has access to the book)
- Also, I think Bjarne is using a Windows machine to do these exercises.
Ones I've encountered sofar:
keep_window_open()
Does this mean that I have to find alternative functions to the ones mentioned in the book? and is there any website where I can find alternative funtions for windows ones (on a beginners level?)
thanks in advance,