The following exercises enable you to try what you’ve learned in this chapter. If you get stuck, look back over the chapter for help. If you’re still stuck after that, you can download the solutions from the Apress website (www.apress.com/book/download.html), but that really should be a last resort.
Exercise 1-1: Create, compile, link, and execute a program that will display the text "Hello World" on your screen.
Exercise 1-2: Create and execute a program that outputs your name on one line and your age on the next line.
Exercise 1-3: The following program produces several compiler errors. Find these errors and correct them so the program can compile cleanly and run.
Int main
{
std:cout <>
)
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here