Mail Archives: djgpp/1997/03/05/13:28:35
I think main() should be of type int ...
Regards, Yuri.
On 5 Mar 1997 01:39:08 GMT, "Joost F. Jacob" <jacobjf AT cistron DOT nl>
wrote:
>
>
>Brian <bardito AT aracnet DOT com> wrote in article <331BC0D5 DOT 5CB AT aracnet DOT com>...
>> Can Someone please tell me what is wrong with the following program.
>> I try to compile it on djgpp but I get 'undeclared' or something error.
>> Maybe I don't have the right iostream.h file?
>> #include <iostream.h>
>> main()
>> {
>> cout << "Hello, World";
>> }
>> Thanks in advance. - bardito AT aracnet DOT com
>>
>Add the line
>return 0;
>as last line in main()
>
>maybe thats all, i dont know that compiler of yours
>
>Joost
- Raw text -