| www.delorie.com/archives/browse.cgi | search |
| From: | "A. Sinan Unur" <asu1 AT c-o-r-n-e-l-l DOT edu> |
| Newsgroups: | comp.os.msdos.djgpp |
| Subject: | Re: problems with cout on Win98 |
| Date: | 1 Nov 2002 01:11:05 GMT |
| Organization: | Cornell University |
| Lines: | 29 |
| Sender: | asu1 AT cornell DOT invalid (on pool-141-149-209-68.syr.east.verizon.net) |
| Message-ID: | <Xns92B8CD560E411asu1cornelledu@132.236.56.8> |
| References: | <3dc0270e$1 AT news DOT swissonline DOT ch> <3dc1800d$1 AT news DOT swissonline DOT ch> |
| NNTP-Posting-Host: | pool-141-149-209-68.syr.east.verizon.net |
| X-Trace: | news01.cit.cornell.edu 1036113065 13188 141.149.209.68 (1 Nov 2002 01:11:05 GMT) |
| X-Complaints-To: | usenet AT news01 DOT cit DOT cornell DOT edu |
| NNTP-Posting-Date: | 1 Nov 2002 01:11:05 GMT |
| User-Agent: | Xnews/5.04.25 |
| To: | djgpp AT delorie DOT com |
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
| Reply-To: | djgpp AT delorie DOT com |
"Felix Althaus" <felix DOT althaus AT swissonline DOT ch> wrote in
news:3dc1800d$1 AT news DOT swissonline DOT ch:
> Hello again
>
> I changed the code to the following:
>
> #include <iostream>
> using namespace std
> int main()
> {
> cout. << "Hallo";
> return 0;
> }
try putting a semicolon:
using namespace std;
and lose the period:
cout << "Hallo";
Sinan.
--
A. Sinan Unur
asu1 AT c-o-r-n-e-l-l DOT edu
Remove dashes for address
Spam bait: mailto:uce AT ftc DOT gov
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |