I used turbo c++ to make a program.....the program has lots of different menus with big graphical text (used outtextxy())...the problem is when i run the program, after going thorugh a couple of menus, all the big graphical text (GOTHIC_FONT etc...) changes to DEFAULT_FONT ....what could be a possible reason for this?

I used turbo c++ to make a program.....the program has lots of different menus with big graphical text (used outtextxy())...the problem is when i run the program, after going thorugh a couple of menus, all the big graphical text (GOTHIC_FONT etc...) changes to DEFAULT_FONT ....what could be a possible reason for this?

Make sure that your font files are in the same directory as your program's one.
It is the main mistake of starting programmers.

And if your prgramme doesn't find font files, it takes thedault font.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.