Article View: att.lang.c++
Article #285Re: can someone please help with compile error?
From: tspham
Date: Mon, 27 Oct 1997 00:00
Date: Mon, 27 Oct 1997 00:00
32 lines
1330 bytes
1330 bytes
Vangeli <vangeli@crystalvision.net> wrote in article
<345411F6.8099B23@crystalvision.net>...
> I just recently purchased a book to learn how to program in C++ and tried
to compile the following program out of that
> book:
>
> #include <iostream.h>
> int main()
> {
> int x=5;
> int y=7;
> cout "\n";
> cout <<x+y<<""<<x*y;
> cout "\n";
> return 0;
> }
>
#include <iostream.h>
int main()
{
int x=5;
int y=7;
cout "\n"; // cout << '\n';
cout <<x+y<<""<<x*y; // cout << (x+y) << ' ' <<
(x*y);
cout "\n";
return 0;
}
Technical Details
Message-ID:
<01b98300$98544ee0$a58fd9cf@skeptictank>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<345411F6.8099B23@crystalvision.net>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 114592,639f772a9c997d09 X-Google-Attributes: gid114592,public X-Google-Thread: 10d4ba,639f772a9c997d09 X-Google-Attributes: gid10d4ba,public X-Google-Thread: 109b8e,639f772a9c997d09 X-Google-Attributes: gid109b8e,public From: <tspham@uci.edu> Subject: Re: can someone please help with compile error? Date: 1997/10/27 Message-ID: <01b98300$98544ee0$a58fd9cf@skeptictank> X-Deja-AN: 285233255 References: <345411F6.8099B23@crystalvision.net> Organization: EarthLink Network, Inc. Newsgroups: att.lang.c++,alt.comp.lang.learn.c-c++,microsoft.public.usasalesinfo.developer.visualc++