K
kkrish
Hello all,
I am using MSDOS operating system and in a function of a program I
tried to display a few hundred lines of a file in graphics mode using
outtextxy().
The program gets 20 lines from a file and displays
them using outtextxy with colored letters .When the user gives a
key(up arrow) input the old content will be erased (i drew the old
text in background color) and new text will be shown fresh from the
file.
It worked but when I switched to some other part of the same
program which uses floodfill and fillellipse,etc the program does not
do them.This happens everytime after I call the file displaying
fuction.
Will continuous usage of outtextxy in different colors and
accesing the file contents frequenntly crash a program.I checked
whether I have closed the files and used fseek properly.Can someone
help me.
Thanks in advance ,
Krishna.
I am using MSDOS operating system and in a function of a program I
tried to display a few hundred lines of a file in graphics mode using
outtextxy().
The program gets 20 lines from a file and displays
them using outtextxy with colored letters .When the user gives a
key(up arrow) input the old content will be erased (i drew the old
text in background color) and new text will be shown fresh from the
file.
It worked but when I switched to some other part of the same
program which uses floodfill and fillellipse,etc the program does not
do them.This happens everytime after I call the file displaying
fuction.
Will continuous usage of outtextxy in different colors and
accesing the file contents frequenntly crash a program.I checked
whether I have closed the files and used fseek properly.Can someone
help me.
Thanks in advance ,
Krishna.