Hi,
I have a question concerning file and structure. My file is REGLECO.DAT
Here's 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
And this is what my program originally display (word are located with gotoxy(x,y))
Code:
Identification Regle Type Description
What I want is to read my file (using structure if possible) and that when someone open this part of my program, it display
Code:
Identification Regle Type Description
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
This part of my program only display information, nothing more. So, how do I read my file REGLECO.DAT and put all the info in a structure (because i'm new with this notion) and after, display on the screen the info like in the last box.
Thanks