Thread: Question

  1. #1
    Registered User
    Join Date
    Apr 2005
    Posts
    5

    Question

    hello everyone,

    Since I'm new born baby to "C++ programming", I need some help I download the C++ editor which is DevC++, It is very good program for people like me.

    Now my question is I was trying to test, the complier & I typed in the code exactly as it is on the web page, but when I try to complie & run. It give cout error emessage.

    http://www.cprogramming.com/compiler.html

    what am I doing wrong ?

    james

  2. #2
    Just Lurking Dave_Sinkula's Avatar
    Join Date
    Oct 2002
    Posts
    5,005
    Some of the example code here needs updating.

    http://www.parashift.com/c++-faq-lit....html#faq-27.4
    Code:
    #include <iostream>
    int main()
    {
      std::cout << "The Compiler Works" << std::endl;
      return 0;
    }
    Last edited by Dave_Sinkula; 04-26-2005 at 04:39 PM. Reason: Added code.
    7. It is easier to write an incorrect program than understand a correct one.
    40. There are two ways to write error-free programs; only the third one works.*

  3. #3
    Registered User
    Join Date
    Apr 2005
    Posts
    5
    O...I guess I have to join the news group to find out the answer.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Alice....
    By Lurker in forum A Brief History of Cprogramming.com
    Replies: 16
    Last Post: 06-20-2005, 02:51 PM
  2. Debugging question
    By o_0 in forum C Programming
    Replies: 9
    Last Post: 10-10-2004, 05:51 PM
  3. Question about pointers #2
    By maxhavoc in forum C++ Programming
    Replies: 28
    Last Post: 06-21-2004, 12:52 PM
  4. Question...
    By TechWins in forum A Brief History of Cprogramming.com
    Replies: 16
    Last Post: 07-28-2003, 09:47 PM
  5. Question, question!
    By oskilian in forum A Brief History of Cprogramming.com
    Replies: 5
    Last Post: 12-24-2001, 01:47 AM