www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/10/13/15:37:53

From: "Damian Yerrick" <web DOT poison AT pineight DOT 8m DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: blur blur
Date: Wed, 13 Oct 1999 09:45:29 -0500
Organization: Rose-Hulman Institute of Technology
Lines: 62
Message-ID: <7u261p$kru$1@solomon.cs.rose-hulman.edu>
References: <38046D99 DOT EFC4C829 AT pd DOT jaring DOT my>
NNTP-Posting-Host: yerricde.laptop.rose-hulman.edu
X-Trace: solomon.cs.rose-hulman.edu 939826041 21374 137.112.205.146 (13 Oct 1999 14:47:21 GMT)
X-Complaints-To: news AT cs DOT rose-hulman DOT edu
NNTP-Posting-Date: 13 Oct 1999 14:47:21 GMT
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2314.1300
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
To: djgpp AT Delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Jacky18 <jacky18 AT pd DOT jaring DOT my> wrote:

>Subject: blur blur

What is that supposed to mean?

> I'm a newbie in this DJGPP thing.. and to tell you the truth..
> i don't even know what's all about it.... from what i read..

It's the best DOS C compiler around. Even id Software
used it to make Quake.

> seems that DJGPP is awesome for graphics and also
> DJGPP programming seems are C/C++ language
> like.. so..

DJGPP is a free 32-bit compiler that compiles C language
or C++ language code into DOS protected mode executables.

> is it possible to use Borland C++ to compile DJGPP program?

It's theoretically possible to port a C++ program from DJGPP
to Borland, but I wouldn't recommend it.

> or can a DJGPP compile C/C++ program

DJGPP by default supports ANSI C and C++. Fortran and
Pascal are also available.

> like what the normal Borland compiler does??????

Try compiling the archetypical noddy program:

/*** hello.c ***/

#include <stdio.h>

int main(void)
{
  puts("Hello world. This is Noddy.");
  puts("http://www.pbs.org/kids/noddy/");

  return 0;
}

/*** hello.c end ***/

Save it as hello.c using your favorite text editor, then
cd to the folder containing hello.c (or open Start > Run)
and type

gcc hello.c -o hello.exe

Press Enter; then watch the program compile. Come
back if you have any problems.


Damian Yerrick
http://come.to/yerrick


- Raw text -


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