By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
449,277 Members | 1,235 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 449,277 IT Pros & Developers. It's quick & easy.

strange problem in running c++ program...

P: n/a

Hello Friends,
I am facing a strange problem which i would like to share with you
people and get ur ideas and knowledge about it. Whenever i try to run a
C++ program after successfully compiling i get the following error.

The title of the window is: 16 bit MS-DOS Subsystem
c:\WINDOWS\system32\cmd.exe -tc
The NTVDM CPU has encountered an illegal instruction
CS: c000 IP:359e OP: 0f 03 20 12 03 Chose 'Close' to terminate the
application.
I only get two options one is close on clicking close the tc program
ends and if click the ignore button then the screen goes blank. now i
have an AMD Turion 64 bit dual core processor. Intially when i used to
run the c++ programs on intel processors it never gave me any issues.
so is the problem due to the processor. if it is then can you tell me
the solution and if it is not due to the processor what problem would
it be and what could be the solution.

Thanks in advance
Kunal Ramesh Lalwani
Sr Process Executive.
Styx Infosoft Pvt Ltd
ahmedabad 380054
(091) 9979391229 (M)

Dec 16 '06 #1
Share this Question
Share on Google+
7 Replies


P: n/a
On 2006-12-16 20:08, kunal wrote:
Hello Friends,
I am facing a strange problem which i would like to share with you
people and get ur ideas and knowledge about it. Whenever i try to run a
C++ program after successfully compiling i get the following error.

The title of the window is: 16 bit MS-DOS Subsystem
c:\WINDOWS\system32\cmd.exe -tc
The NTVDM CPU has encountered an illegal instruction
CS: c000 IP:359e OP: 0f 03 20 12 03 Chose 'Close' to terminate the
application.
I only get two options one is close on clicking close the tc program
ends and if click the ignore button then the screen goes blank. now i
have an AMD Turion 64 bit dual core processor. Intially when i used to
run the c++ programs on intel processors it never gave me any issues.
so is the problem due to the processor. if it is then can you tell me
the solution and if it is not due to the processor what problem would
it be and what could be the solution.
Seem like you compiled the program for the wrong CPU, check out your
compiler-documentation. It's also possible that you compiled your
application as a 64-bit application but are running a 32-bit OS. You
should ask in a Windows-group since this seems to be a Windows-problem.

--
Erik Wikström
Dec 16 '06 #2

P: n/a

kunal wrote:
Hello Friends,
I am facing a strange problem which i would like to share with you
people and get ur ideas and knowledge about it. Whenever i try to run a
C++ program after successfully compiling i get the following error.

The title of the window is: 16 bit MS-DOS Subsystem
c:\WINDOWS\system32\cmd.exe -tc
The NTVDM CPU has encountered an illegal instruction
CS: c000 IP:359e OP: 0f 03 20 12 03 Chose 'Close' to terminate the
application.
I only get two options one is close on clicking close the tc program
ends and if click the ignore button then the screen goes blank. now i
have an AMD Turion 64 bit dual core processor. Intially when i used to
run the c++ programs on intel processors it never gave me any issues.
so is the problem due to the processor. if it is then can you tell me
the solution and if it is not due to the processor what problem would
it be and what could be the solution.

Thanks in advance
Kunal Ramesh Lalwani
Sr Process Executive.
Styx Infosoft Pvt Ltd
ahmedabad 380054
(091) 9979391229 (M)
[OT] Your off-topic here. Try an MS newsgroup for your particular
platform.

If i recall, cmd only supports 32 bit applications. Try using
command.com instead.
You also have the option of configuring a shortcut with the appropriate
compatibility mode, etc.
I can't really provide any additional details since i don't run Windows.

Dec 16 '06 #3

P: n/a

Salt_Peter wrote:
kunal wrote:
Hello Friends,
I am facing a strange problem which i would like to share with you
people and get ur ideas and knowledge about it. Whenever i try to run a
C++ program after successfully compiling i get the following error.

The title of the window is: 16 bit MS-DOS Subsystem
c:\WINDOWS\system32\cmd.exe -tc
The NTVDM CPU has encountered an illegal instruction
CS: c000 IP:359e OP: 0f 03 20 12 03 Chose 'Close' to terminate the
application.
I only get two options one is close on clicking close the tc program
ends and if click the ignore button then the screen goes blank. now i
have an AMD Turion 64 bit dual core processor. Intially when i used to
run the c++ programs on intel processors it never gave me any issues.
so is the problem due to the processor. if it is then can you tell me
the solution and if it is not due to the processor what problem would
it be and what could be the solution.

Thanks in advance
Kunal Ramesh Lalwani
Sr Process Executive.
Styx Infosoft Pvt Ltd
ahmedabad 380054
(091) 9979391229 (M)

[OT] Your off-topic here. Try an MS newsgroup for your particular
platform.

If i recall, cmd only supports 32 bit applications. Try using
command.com instead.
You also have the option of configuring a shortcut with the appropriate
compatibility mode, etc.
I can't really provide any additional details since i don't run Windows.
Well thanks for your help but right now i have installed windows xp
professional service pack 2 which is only designed for a 32 bit
processor hence i couldnt use the power of the dual core processor. but
still i will try to get a solution to this problem.

Thank you for ur help and support
Thanks in advance
Kunal Ramesh Lalwani
Sr Process Executive.
Styx Infosoft Pvt Ltd
ahmedabad 380054
(091) 9979391229 (M)
Dec 17 '06 #4

P: n/a
kunal wrote:
Salt_Peter wrote:
>>kunal wrote:
>>>Hello Friends,
I am facing a strange problem which i would like to share with you
people and get ur ideas and knowledge about it. Whenever i try to run a
C++ program after successfully compiling i get the following error.

The title of the window is: 16 bit MS-DOS Subsystem
c:\WINDOWS\system32\cmd.exe -tc
The NTVDM CPU has encountered an illegal instruction
CS: c000 IP:359e OP: 0f 03 20 12 03 Chose 'Close' to terminate the
application.
I only get two options one is close on clicking close the tc program
ends and if click the ignore button then the screen goes blank. now i
have an AMD Turion 64 bit dual core processor. Intially when i used to
run the c++ programs on intel processors it never gave me any issues.
so is the problem due to the processor. if it is then can you tell me
the solution and if it is not due to the processor what problem would
it be and what could be the solution.

Thanks in advance
Kunal Ramesh Lalwani
Sr Process Executive.
Styx Infosoft Pvt Ltd
ahmedabad 380054
(091) 9979391229 (M)

[OT] Your off-topic here. Try an MS newsgroup for your particular
platform.

If i recall, cmd only supports 32 bit applications. Try using
command.com instead.
You also have the option of configuring a shortcut with the appropriate
compatibility mode, etc.
I can't really provide any additional details since i don't run Windows.


Well thanks for your help but right now i have installed windows xp
professional service pack 2 which is only designed for a 32 bit
processor hence i couldnt use the power of the dual core processor. but
still i will try to get a solution to this problem.

Thank you for ur help and support
Thanks in advance
>>>Kunal Ramesh Lalwani
Sr Process Executive.
Styx Infosoft Pvt Ltd
ahmedabad 380054
(091) 9979391229 (M)

Sr Process Executive !!! what the hell is that?
Dec 17 '06 #5

P: n/a
Uenal S. Mutlu wrote:
>
Sr Process Executive !!! what the hell is that?
Hey! don't break wind???...
[NOTE: As long as you post this kind of stuff in this group, I shall
follow up with this advice!]

Dec 17 '06 #6

P: n/a

kunal wrote:
Salt_Peter wrote:
kunal wrote:
Hello Friends,
I am facing a strange problem which i would like to share with you
people and get ur ideas and knowledge about it. Whenever i try to run a
C++ program after successfully compiling i get the following error.
>
The title of the window is: 16 bit MS-DOS Subsystem
c:\WINDOWS\system32\cmd.exe -tc
The NTVDM CPU has encountered an illegal instruction
CS: c000 IP:359e OP: 0f 03 20 12 03 Chose 'Close' to terminate the
application.
>
>
I only get two options one is close on clicking close the tc program
ends and if click the ignore button then the screen goes blank. now i
have an AMD Turion 64 bit dual core processor. Intially when i used to
run the c++ programs on intel processors it never gave me any issues.
so is the problem due to the processor. if it is then can you tell me
the solution and if it is not due to the processor what problem would
it be and what could be the solution.
>
Thanks in advance
Kunal Ramesh Lalwani
Sr Process Executive.
Styx Infosoft Pvt Ltd
ahmedabad 380054
(091) 9979391229 (M)
[OT] Your off-topic here. Try an MS newsgroup for your particular
platform.

If i recall, cmd only supports 32 bit applications. Try using
command.com instead.
You also have the option of configuring a shortcut with the appropriate
compatibility mode, etc.
I can't really provide any additional details since i don't run Windows.

Well thanks for your help but right now i have installed windows xp
professional service pack 2 which is only designed for a 32 bit
processor hence i couldnt use the power of the dual core processor. but
still i will try to get a solution to this problem.

Thank you for ur help and support
Thanks in advance
Kunal Ramesh Lalwani
Sr Process Executive.
Styx Infosoft Pvt Ltd
ahmedabad 380054
(091) 9979391229 (M)
[OT]
XP does support dual-core, you have to change the HAL (hardware
abstraction layer).

How to force a Hardware Abstraction Layer during an upgrade or an
installation of Windows XP
http://support.microsoft.com/kb/299340 ( see ACPI Multiprocessor PC )

A 32-bit operating system will not become a 64-bit OS once you
reconfigure it for dual-core.
A 32-bit dual-core is not a 64 bit processor. This system's
architecture, for example, is a 64-bit dual-core and that is not a
128-bit processor. It just runs on a 64-bit OS with SMP.
http://en.wikipedia.org/wiki/Symmetric_multiprocessing

Again. you should refer your questions to the appropriate newsgroups.

Dec 17 '06 #7

P: n/a
Uenal S. Mutlu wrote:
[SNIP]
Sr Process Executive !!! what the hell is that?
Just another thing you will never understand. Don't sweat it.

--
WW aka Attila
:::
Courage is almost a contradiction in terms. It means a strong desire to
live, taking the form of readiness to die. - G.K. Chesterton
Dec 19 '06 #8

This discussion thread is closed

Replies have been disabled for this discussion.