Forum Help

World Discussion Forums  230
visitors
now

World Discussion Forums        
     Add to Favorites            Digg It Digg this stuff!              More Discussion Forums  Search Forums     Show all topics in this forum

Computers/Programming General Forum
Forum topic/blog entry started by Andy on 2/8/2004 6:08:59 (server time).
This topic has been viewed 4317 times.

           
           

compiler thinks that cout is a function


I am fairly new at programming and I have a problem.
I was working on a program that used a few arrays and the function, gets().  I was planning to have the program display an array given by the user using cout, (perhaps some of you have seen this scenario before) but when I try to compile the program, the compiler states that 'cout' is undeclared and that I must specify the function, 'cout', before I use it.  Now, I know that cout<< is not a function, but I just don't see how to solve this problem.
Please inform me if you know the solution to this problem.
Thank you,
Andy
Reply from/
Date
Replies
jorge

1/29/2005 4:35:11
JHAGL;K
sweety


8/5/09 10:08:46 AM
i did not understand your problem. ask in another way.
View printable version of this topicPrint     Free typing software gets() does not work    Topic 21 of 4215

VigLink banner ad

Show Smiley's

Instant Chat

 Post a reply                 You have full membership for these forums
Name    [nickname if you like or Anon if you want to be completely anonymous]

 Your reply here...    [Please stay on topic. Previously spammed affiliate links may have referrer removed.]


Your Avatar: (optional)
   

[Avatar must be available on the web. Enter its URL above then click 'Get It'. Maximum
image size is 150x150 pixels. Your Facebook pic can be used with this method. You can get
your Facebook avatar URL by opening Facebook, right-clicking your pic and selecting 'Properties'.
Your pics URL/address will be shown. Copy it, then paste it here and click 'Get It'.]


Email me when new replies are posted to this topic
(Optional. Not displayed.)




 
Disclaimer        Rules