title: expected `;' before "cout"
body: <p>Hey everyone I am a newbie and would love some help. I got the book called C++ without fear by Brian Overland and I'm following along all the examples but for some reason this happens:</p>
  
  <p>E:\portableapps\Dev-Cpp Portable\App\devcpp\main.cpp In function <code>int main(int, char**)': 
   9 E:\portableapps\Dev-Cpp Portable\App\devcpp\main.cpp expected</code>;' before "cout" 
   E:\portableapps\Dev-Cpp Portable\App\devcpp\Makefile.win [Build Error]  [main.o] Error 1 </p>
  
  <p>The example in the book says to write the following code and save it then compile and run it:</p>
  
  <pre><code>#include &lt;iostream&gt;
  using namespace std;
  int main() {
  cout &lt;&lt; "I am Blaxxon," &lt;&lt;endl;
  cout &lt;&lt; "the godlike computer." &lt;&lt;endl;
  cout &lt;&lt; "Fear me! &lt;&lt;endl;
  
  system("PAUSE");
  return 0;
  }
  </code></pre>
  
  <p>it works fine sometimes in other times I have to write it this way:</p>
  
  <pre><code>#include &lt;iostream&gt;
  using namespace std;
  int main(int argc, char *argv[]) {
  cout &lt;&lt; "I am Blaxxon," &lt;&lt;endl;
  cout &lt;&lt; "the godlike computer." &lt;&lt;endl;
  cout &lt;&lt; "Fear me! &lt;&lt;endl;
  
  system("PAUSE");
  return EXIT_SUCCESS;
  </code></pre>
  
  <p>otherwise it would show me some errors, which I think is a compiler bug; Dev-C++ portable Beta version.</p>
  
  <p>Anyways the book states that if these characters <code>&lt;&lt; endl;</code> are omitted, the program would print</p>
  
  <p>I am Blaxxon, the godlike computer. Fear me!</p>
  
  <p>In a single line, of course. So I try it but I get this error:</p>
  
  <p>E:\portableapps\Dev-Cpp Portable\App\devcpp\print2.cpp In function <code>int main(int, char**)': 
  9 E:\portableapps\Dev-Cpp Portable\App\devcpp\print2.cpp expected</code>;' before "cout"
   E:\portableapps\Dev-Cpp Portable\App\devcpp\Makefile.win [Build Error]  [print2.o] Error 1 </p>
  
  <p>It doesn't print anything in a single like it just show me a systax error. No clue what it is. Any help please.</p>