Mail Archives: djgpp/1997/06/13/19:35:20
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 -