Quantcast
Channel: Why build program have error?
Viewing all articles
Browse latest Browse all 4

Why build program have error?

$
0
0

Hi all. I want to know why there have errors when building the program. It is a relatively short program.

 

// 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
}

 

Hope someone can help me. I am using visual studio 2008


Viewing all articles
Browse latest Browse all 4

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>