Thread: Noob question again..........

  1. #1
    Registered User
    Join Date
    Aug 2007

    Noob question again..........

    Ok, my cout code is not working and I have no reason why.

    cout<<"Enter your heath.\n";

    Thanks for the help.

  2. #2
    Jack of many languages Dino's Avatar
    Join Date
    Nov 2007
    Katy, Texas
    You are missing several key instructions, like
    #include <iostream>
    using namespace std ; 
    int main() { 
       // insert your code here 
       return 0 ; 
    Mac and Windows cross platform programmer. Ruby lover.

    Quote of the Day
    12/20: Mario F.:I never was, am not, and never will be, one to shut up in the face of something I think is fundamentally wrong.

    Amen brother!

  3. #3
    Registered User
    Join Date
    Sep 2006
    I can't see any problems with your statement. Perhaps you should post some more code?
    I might not be a pro, but I'm usually right

  4. #4
    Registered User
    Join Date
    Oct 2001
    Maybe you missed a semicolon on the line above.

  5. #5
    Devil's Advocate SlyMaelstrom's Avatar
    Join Date
    May 2004
    Out of scope
                                   In function 'int main(void)'
    Line 6 - /usr/bin/source.cpp - expected 'l' before't'
    The error is likely what is above, I'd just like to add this little humorous warning.
    Sent from my iPadŽ

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. quick noob question
    By thanatos1 in forum C# Programming
    Replies: 2
    Last Post: 06-17-2009, 08:28 PM
  2. another noob question
    By clb2003 in forum C Programming
    Replies: 4
    Last Post: 02-12-2009, 01:28 PM
  3. Noob printf question
    By lolguy in forum C Programming
    Replies: 3
    Last Post: 12-14-2008, 08:08 PM
  4. Very noob question :(.
    By GamerProduction in forum Tech Board
    Replies: 4
    Last Post: 04-14-2007, 05:40 AM
  5. Noob question ( little dos program )
    By Demon1s in forum C++ Programming
    Replies: 13
    Last Post: 04-04-2003, 09:28 PM