I have just started programming in c++ (yesterday), my background is in HTML, CSS and Javascript.
i'm on chapter 5: controlling program flow (c++ for dummies) currently creating a break in a "for loop".
Anyway'z my problem is, when i build and run the program all action's i want the program to take are executed fine but after there executed the damn "system("PAUSE")
return 0;"
dosent work it just executes the program then displays: -
"sh: line 1: PAUSE: command not found
breakDemo has exited with status 0."
also im writing my programs in Mac OS X xCode dose this have anything to do with my issue as the author of my book is demonstrating in dev-c++ for WIN systems.
any help you could give would be much appreciated, and thanks for your time.