C and C++

Moderators: None (Apply to moderate this forum)
Number of threads: 28691
Number of posts: 94711

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
GRAPHICS PROBLEM IN C++ Posted by mushahidh on 31 Oct 2010 at 6:52 AM
hi evereyone, i have some problem related to graphics in c++ that is when i include graphics.h in my program and use graphic command like draw line etc..then suddenly windows has been closed and messages appears that "NTVDM CPU HAS ENCOUNTERED AN ILLEGAL INSTRUCTION", and some error code and two options ignore and cancel apperes when i presss cancel turbo c++ windows closed. i have reinstalled my windows xp but problem still there. i m using intel core2 duo processor. and also same problem apperar in my laptop which has vista installed in it. but problem not happend in my university and in my friend computer. please tell me what should i do..my final project is totally graphics based...i m waiting 4 reply thanks
Report
Re: GRAPHICS PROBLEM IN C++ Posted by AsmGuru62 on 1 Nov 2010 at 5:47 PM

You reinstalled XP after "NTVDM encountered invalid instruction"??!!
Nice!

That error means that your DOS code, which is built by Turbo C, is not proper - a simply saying it has a bug - XP was not an issue there.

Now, without your code, I can't tell you what is happening, but I may be able to help with your project if you send me the code - I have Turbo C, so I can test it.

Usually, that error means float point exception (like dividing by zero), but some other issues also possible, like corrupted code segment and then CPU meets the instruction unavailable for NTVDM program.

My mail is asmguru62@hotmail.com - if I have some spare time I will help. And, I hope your project is not due tomorrow.



 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.