Computer Forums

Member Login

Remember Me? Sign Up! | Forgot Password
 
Slogan
 
Closed Thread
Old 12-13-2004, 01:26 AM   #1 (permalink)
 
True Techie

Join Date: Dec 2004

Posts: 145

Mohan Giri

Default C Programming

Hi I am Mohan Giri, new user to this site. I am happy to register in this site. I am a Diploma Holder in Computer Technology discipline. When I am studying I didn't concentrate on my studies because I choose this field for my father's complesion. But now I get involved in this field and eager to learn things, especially C and C++ programming. But I feel I have no one to discuss. But now after registering to this site I am very confident that I will be expert in C and C++. I am interested in ALP, Embedded Software and System Programming but dont know anything about this fields except what is the aplication of those fields. So help me all to learn about these fields. Lets come to my doubt.

I downloaded "Turbo C 2.0" from Pittsburgh University Site and Installed it in my PC. My PC is configured with P2 processor and Windows 2000 NT OS. Now what problem I have is: after typing the program in Integrated Environment if I click or choose any menu items in the Integrated environment the control (cursor) comesout from the IE to Command Promt after displaying "Divide Overflow" messsage. But I installed the same compiler in my friend's P3 windows XP OS machine its working nice. What is the reason?????????? Anybody clear my doubt???????
Thank You
Mohan Giri is offline  
Old 12-13-2004, 05:45 AM   #2 (permalink)
 
Ultra Techie

Join Date: Jun 2004

Posts: 973

intercodes

Send a message via Yahoo to intercodes
Default

Mohan Giri,

Welcome to T.F

Quote:
It means that a program tried to access a part of memory that it should not have.
More likely that you have an old version of DOS , that is not compatible with the turbo C. Try gettting a new version of turbo c or get turbo c++. Turbo c++ works both with c and c++ programs.
intercodes is offline  
Old 12-13-2004, 10:54 PM   #3 (permalink)
 
True Techie

Join Date: Dec 2004

Posts: 145

Mohan Giri

Default

Thank you for replying my thread. I will try with Turbo C++ compiler.
Mohan Giri is offline  
Old 12-15-2004, 01:07 AM   #4 (permalink)
 
Newb Techie

Join Date: Dec 2004

Posts: 16

northman

Default

One comment about Turbo C++ (Version 3.0)
If you compile C++ code, you should save source file with cpp extension (namefile.cpp), for c code there is enough c extension.
northman is offline  
 
Closed Thread

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On