www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/07/01/14:07:46

Message-ID: <001901bda51b$06dba580$624d08c3@arthur>
From: "Arthur" <arfa AT clara DOT net>
To: "DJGPP Mailing List" <djgpp AT delorie DOT com>
Subject: Re: HELP!!!!!
Date: Wed, 1 Jul 1998 17:02:47 +0100
MIME-Version: 1.0

>#include <stdio.h>
>#include <iostream.h>
>#include <conio.h>
>
>int.main() {
>        cout << "This better work!!!!";
>        getch();
>}


Did you mean to have the "." in "int.main()"?

Also you should end in a "return 0;" statement.

This won't fix your program, but it will make it more ANSI.

James Arthur
jaa AT arfa DOT clara DOT net

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019