www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/02/17/21:08:21

From: Cliff <cronos AT access DOT mountain DOT net>
Newsgroups: comp.os.msdos.djgpp
Subject: Help =o
Date: Mon, 17 Feb 1997 17:41:42 -0500
Organization: Home
Lines: 29
Message-ID: <3308DEA6.4062@access.mountain.net>
NNTP-Posting-Host: am3-11.mountain.net
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

I just downloaded what I thought was all of  the djgpp files that I
needed.  First I would like to know if this is all that I need or if
there is anything else I should get. 
O.K. here is what I have:
djdev201.zip
gcc2721b.zip
bnu27b.zip
gpp2721b.zip
lgp2721.zip
I tried to run the program hello world (I am still a newbie to c and c++
so it might be me and not the compiler.  
this is what my progam looked like:
#include <stdio.h>

main()
{
    printf("Hello, World!);
}

I put the command C:\DJGPP\BIN>gcc -c -Wall hello.c
it said there was an stdio.h error or somthing similar
is my script wrong or did I put the wrong command?
please help me!

Thank you 



Cliff

- Raw text -


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