Hi,
I have some questions concerning files (in Dos windows). My file is REGLECO.DAT
Here a part of it's content
Code:
sIdentif fRegle sType sDescript
HRSUP 40.0000 CIE Nm. hres pour temps supplementaire
TXSUP 1.5000 CIE Taux pour heures supplémentaire
TXSYN 0.0078 CIE Taux cotisation syndicale
In my DOS window, there is
Code:
Identification Regle Type Description
under Identification, I want the content of sIdentif to be displayed on my dos windows. same for fRegle, sType and sDescript.
here's the part I did:
Code:
#include <stdio.h>
#include <myconio.h>
#include <ctype.h>
#include <string.h>
#include <stdlib.h>
#include <math.h>
int main()
{
gotoxy(34,7);
puts ("TABLE DES REGLES");
gotoxy(7,9);
puts ("Identification");
gotoxy(24,9);
puts ("Regle");
gotoxy(33,9);
puts ("Type");
gotoxy(41,9);
puts ("Description");
getch();
}
I just want the info of the file to be displayed under each of my for word (formated).
thanks
P.S. I would like to know how to put the dos window full size in my program