Turbo C doubt

Reply

Join Date: Nov 2006
Posts: 9
Reputation: kumarangopi is an unknown quantity at this point 
Solved Threads: 0
kumarangopi kumarangopi is offline Offline
Newbie Poster

Turbo C doubt

 
0
  #1
Nov 10th, 2006
Does we need turbo c software to run turbo c exe file?
Hmmm sounds wierd! I wrote a program called chart.c in turbo c which is two header files like bimap.h ,xyz.h.When I compile,chart.exe is created.when i run chart.exe in some other machine, its not running unless tc sofware and those two header files is placed in the system.Can anyone tell me why it happens and how to make one single exe file without all these headerfiles and tc sofware.

Thanks in advance
Reply With Quote Quick reply to this message  
Join Date: Nov 2006
Posts: 100
Reputation: manutd is an unknown quantity at this point 
Solved Threads: 1
manutd's Avatar
manutd manutd is offline Offline
Junior Poster

Re: Turbo C doubt

 
0
  #2
Nov 10th, 2006
Why use Turbo C? Try downloading Dev-C++, Code::Blocks, or if you're into the command line, gcc.
Silence is better than unmeaning words.
- Pythagoras
My blog
Reply With Quote Quick reply to this message  
Join Date: May 2006
Posts: 4,164
Reputation: WaltP has a brilliant future WaltP has a brilliant future WaltP has a brilliant future WaltP has a brilliant future WaltP has a brilliant future WaltP has a brilliant future WaltP has a brilliant future WaltP has a brilliant future WaltP has a brilliant future WaltP has a brilliant future WaltP has a brilliant future 
Solved Threads: 396
Moderator
WaltP's Avatar
WaltP WaltP is offline Offline
Industrious Poster

Re: Turbo C doubt

 
0
  #3
Nov 10th, 2006
Originally Posted by kumarangopi View Post
Does we need turbo c software to run turbo c exe file?
Hmmm sounds wierd! I wrote a program called chart.c in turbo c which is two header files like bimap.h ,xyz.h.When I compile,chart.exe is created.when i run chart.exe in some other machine, its not running unless tc sofware and those two header files is placed in the system.Can anyone tell me why it happens and how to make one single exe file without all these headerfiles and tc sofware.
No, you don't have to have the source code files on the machine. The .EXE is all you should need.
What happens when you try to run it? Without the "what happens" there is no way we can figure out the "why".


Originally Posted by manutd View Post
Why use Turbo C? Try downloading Dev-C++, Code::Blocks, or if you're into the command line, gcc.
No need to suggest a new compiler. Turbo C works just fine. It isn't broken just because it's old.
The 3 Laws of the Procrastination Society:
1) Never do today that which can be put off until tomorrow
2) Tomorrow never comes
Reply With Quote Quick reply to this message  
Join Date: Jun 2006
Posts: 7,767
Reputation: ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of 
Solved Threads: 493
Super Moderator
Featured Poster
~s.o.s~'s Avatar
~s.o.s~ ~s.o.s~ is offline Offline
Failure as a human

Re: Turbo C doubt

 
0
  #4
Nov 10th, 2006
Why use Turbo C? Try downloading Dev-C++, Code::Blocks, or if you're into the command line, gcc.
Agreed.
Better move on with the times rather than being left behind. When using Turbo C, beginners keep getting weird ideas about how to clear the screnn, checking for key hits, using the useless inbuilt graphic library.
Using modern optimizing compilers keep you from using non standard funcitons in your program.

Do a reality check ? Want graphics in your program to make a game, use third party graphics engine ? Want GUI ? Use GTK+.
There always is a better alternative if you have open ideas about it.
I don't accept change; I don't deserve to live.

Sacrifice is a painful, pure and beautiful thing.

Dammit, Jones, What the Hell Are Knoll Pointers?!
Reply With Quote Quick reply to this message  
Join Date: Aug 2005
Posts: 16,551
Reputation: Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute 
Solved Threads: 1610
Team Colleague
Featured Poster
Ancient Dragon's Avatar
Ancient Dragon Ancient Dragon is offline Offline
Still Learning

Re: Turbo C doubt

 
0
  #5
Nov 10th, 2006
Also TurboC programs quickly run out of memory which makes it a poor compiler for all but the simplest graphics programs. And that was the major reason why Mkcrosoft abandoned MS-DOS operating system.
The most important thing in the Olympic Games is not to win but to take part, just as the most important thing in life is not the triumph but the struggle. The essential thing is not to have conquered but to have fought well.
-Pierre de Coubertin, The Olympic Creed Inspired by Bishop Ethelbert
Reply With Quote Quick reply to this message  
Join Date: Nov 2006
Posts: 100
Reputation: manutd is an unknown quantity at this point 
Solved Threads: 1
manutd's Avatar
manutd manutd is offline Offline
Junior Poster

Re: Turbo C doubt

 
0
  #6
Nov 10th, 2006
And as a final reason, it's no longer being updated. While Dev-C++ IDE isn't either, you can download MinGW patches for it.
Silence is better than unmeaning words.
- Pythagoras
My blog
Reply With Quote Quick reply to this message  
Join Date: Aug 2005
Posts: 16,551
Reputation: Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute 
Solved Threads: 1610
Team Colleague
Featured Poster
Ancient Dragon's Avatar
Ancient Dragon Ancient Dragon is offline Offline
Still Learning

Re: Turbo C doubt

 
0
  #7
Nov 10th, 2006
Originally Posted by manutd View Post
And as a final reason, it's no longer being updated. While Dev-C++ IDE isn't either, you can download MinGW patches for it.

Tubo Tols is back!
Borland released a new version just a couple months ago, but I don't know what its like.
The most important thing in the Olympic Games is not to win but to take part, just as the most important thing in life is not the triumph but the struggle. The essential thing is not to have conquered but to have fought well.
-Pierre de Coubertin, The Olympic Creed Inspired by Bishop Ethelbert
Reply With Quote Quick reply to this message  
Join Date: Nov 2006
Posts: 9
Reputation: kumarangopi is an unknown quantity at this point 
Solved Threads: 0
kumarangopi kumarangopi is offline Offline
Newbie Poster

Re: Turbo C doubt

 
0
  #8
Nov 10th, 2006
Guyz,thanks for all the replies.I have done a complete program(generating growtchart-taking image and plotting on the image from coordinates in a notepad file).Now i cannot change the the complete code to .cpp.Now the problem with my program is that i have two header files bitmap.h (to open the image) and some other .h file.When i put my exe in some other machine, i have to copy two header files and tc folder to that machine and then run my exe file.How to overcome this problem?
Reply With Quote Quick reply to this message  
Join Date: Aug 2005
Posts: 16,551
Reputation: Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute 
Solved Threads: 1610
Team Colleague
Featured Poster
Ancient Dragon's Avatar
Ancient Dragon Ancient Dragon is offline Offline
Still Learning

Re: Turbo C doubt

 
0
  #9
Nov 10th, 2006
did you read WaltP's comments ? Please answer his questions instead of just repeating the peoblem.
The most important thing in the Olympic Games is not to win but to take part, just as the most important thing in life is not the triumph but the struggle. The essential thing is not to have conquered but to have fought well.
-Pierre de Coubertin, The Olympic Creed Inspired by Bishop Ethelbert
Reply With Quote Quick reply to this message  
Join Date: Nov 2006
Posts: 9
Reputation: kumarangopi is an unknown quantity at this point 
Solved Threads: 0
kumarangopi kumarangopi is offline Offline
Newbie Poster

"what happens"

 
0
  #10
Nov 10th, 2006
I will shorten my problem.Now the problem is when i copy the exe file to some other machine, its not running without TC folder.I mean to say Once i copy the tc folder to the machine the exe is running without any problem.Without TC folder when i run the exe file, the image is not getting displayed.
My program:
It gives the user a browse dialog box where the user selects text file from which the x and y coordinates is fetched to plot on a chart image(opened using bitmap.h).Now if TC folder is not there, the user is prompted with dialog box once it is selected image is not getting displayed i mean the chart.

Hope it is understood
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Other Threads in the C++ Forum


Views: 4331 | Replies: 14
Thread Tools Search this Thread



Tag cloud for C++
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2010 DaniWeb® LLC