topical media & game development
basic-program-code-02-Ex2-04.c
? /
basic-program-code-02-Ex2-04.c
// Ex2_04.cpp
// Using escape sequences
include <iostream>
include <iomanip>
using std::cout;
int main()
{
char newline = '\n'; // Newline escape sequence
cout << newline; // Start on a new line
cout << "\"We\'ll make our escapes in sequence\", he said.";
cout << "\n\tThe program\'s over, it\'s time take make a beep beep.\a\a";
cout << newline; // Start on a new line
return 0; // Exit program
}
(C) Æliens
20/2/2008
You may not copy or print any of this material without explicit permission of the author or the publisher.
In case of other copyright issues, contact the author.