delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/06/13/19:35:20

Message-Id: <199706132335.QAA58886@lausd.k12.ca.us>
From: "LP" <csantill AT lausd DOT k12 DOT ca DOT us>
To: <djgpp AT delorie DOT com>
Date: Fri, 13 Jun 1997 16:35:44 -0700
MIME-Version: 1.0

from: csantill AT lausd DOT k12 DOT ca DOT us

I have 2 questions:

#1 I'm feeling my way around w/DJGPP & decided to try that rotating
cursor-type thing.  I worked in C before so I have some knoledge.  Here how
it should look w/each char being a frame        \||-\

Here's my simple source:

#include <stdio.h>

void main(void)
{

   char c;

  For(c=0; c==100; c++)
  {
      printf("\\\b");
      printf("|\b");
      printf("/\b");
      printf("-\b");
  }

}

I'm not sure of the printf syntax in DJGPP but I know it works in BC/C++
4.5 & ANSI C.

It might be a dumb question but RHIDE's help is not very informative about
ANSI stuff & it would be nice to the how syntax of printf works in DJGPP(I
want to make the switch from BC/C++ 4.5 to DJGPP because I don't really
like Borland's compiler - Turbo Pascal 7.0 works faster & it only compiles
286 code w/less hassle).

#2 What is the file name of the DJ Pascal and how do incorporate it into
the same RHIDE as DJGPP?

Thanx for taking the time to ready this entire email.

- Raw text -


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