Code behaves differently at different locations

Well I made a school project for Grade 12 on my computer (Windows 7) using DOSBOX 0.74 And BORLANDC 3.1 and the project works all fine on my computer. But when my friends tried to run it on their computers the graphics got all messed up or the program got stuck at different points. And when I tried to run the same code with Turbo C (Windows XP) at school the graphics again got messed up completely. What could be the possible cause of this. The code is extremely huge to be posted here. Any help would be appreciated, just a beginner so not so sure.
Thanks
You are probably using something nonstandard like conio.h or some weird headers that don't exist or are different on other compilers. Also, those compilers sound old to me...have you tried updating to more recent ones?
Topic archived. No new replies allowed.