Mail Archives: djgpp/1997/03/04/22:28:06
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 -