| delorie.com/archives/browse.cgi | search |
| Message-ID: | <3D901F5D.3E676B4C@earthlink.net> |
| From: | Martin Ambuhl <mambuhl AT earthlink DOT net> |
| X-Mailer: | Mozilla 4.79 [en]C-CCK-MCD NSCPCD479 (Win95; U) |
| X-Accept-Language: | en |
| MIME-Version: | 1.0 |
| Newsgroups: | comp.os.msdos.djgpp |
| Subject: | Re: questions/help with c++ compiling |
| References: | <F2454wgGLcJqZpiRfRv00003b15 AT hotmail DOT com> |
| Lines: | 28 |
| Date: | Tue, 24 Sep 2002 08:16:29 GMT |
| NNTP-Posting-Host: | 67.210.12.92 |
| X-Complaints-To: | abuse AT earthlink DOT net |
| X-Trace: | newsread2.prod.itd.earthlink.net 1032855389 67.210.12.92 (Tue, 24 Sep 2002 01:16:29 PDT) |
| NNTP-Posting-Date: | Tue, 24 Sep 2002 01:16:29 PDT |
| Organization: | EarthLink Inc. -- http://www.EarthLink.net |
| To: | djgpp AT delorie DOT com |
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
| Reply-To: | djgpp AT delorie DOT com |
Timothy M Boronczyk wrote:
>
> Hello everyone. I'm sure this will be the first of many questions as I
> embark upon my programming adventure :)
>
> Okay. Here's my scenario:
>
> As I said in my recent hello letter, I took a few programming classes in
> high school so I hope to pick up the syntax and commands rather quickly.
> I've been reading through the Programming in C++ tutoral at
> http://www.cprogramming.com/tutorial.html. Lesson one gives the example:
>
> #include <iostream.h>
That's wrong. The standard header is named <iostream>
> int main()
> {
> cout<<"HEY, you, I'm alive! Oh, and Hello World!";
That's wrong. The standard identifier is std::cout
> return 0;
> }
When you use tutorials from the net, be sure they come from
competent sources. From your example, www.cprogramming.com is
not a competent source.
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |