Mail Archives: djgpp/1999/02/07/00:07:18
Please post your source code so that we can see what it looks like... we
can't tell you what's up without the source.
However, this is what a program for "Hello, World" should look like:
(Using the printf method:)
#include <stdio.h>
int main()
{
printf("hello, world");
return(0);
}
(or, using cout):
#include <iostream.h>
int main()
{
cout << "hello, world";
return(0);
}
On Sat, 6 Feb 1999, Cheerio wrote:
> I just downloaded DJGPP and RHIDE today, but I'm having trouble with the
> "hello world" program.
>
> There's something about the program exit code being -1, and a black box at
> the bottome says "Unmatched quote character".
>
> When I switch to the user screen, there's nothing there, so I guess it
> didn't work.
>
> What am I doing wrong?
>
> Thanks,
> Cheerio
>
>
>
>
>
---
Michael Trausch mtrausch AT wcnet DOT org
Lake High School http://www.wcnet.org/~mtrausch
Old programmers never die. They just terminate and stay resident.
- Raw text -