From: Michael Trausch Newsgroups: comp.os.msdos.djgpp Subject: Re: hello program doesn't work Date: Sat, 6 Feb 1999 23:50:59 -0500 Organization: Wood County Internet Council Lines: 52 Message-ID: References: NNTP-Posting-Host: woody.wcnet.org Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII In-Reply-To: To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com 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 int main() { printf("hello, world"); return(0); } (or, using cout): #include 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.