| | |
Turbo C doubt
![]() |
•
•
Join Date: Nov 2006
Posts: 9
Reputation:
Solved Threads: 0
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
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
•
•
•
•
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.
What happens when you try to run it? Without the "what happens" there is no way we can figure out the "why".
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
1) Never do today that which can be put off until tomorrow
2) Tomorrow never comes
•
•
•
•
Why use Turbo C? Try downloading Dev-C++, Code::Blocks, or if you're into the command line, gcc.
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?!
Sacrifice is a painful, pure and beautiful thing.
Dammit, Jones, What the Hell Are Knoll Pointers?!
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
-Pierre de Coubertin, The Olympic Creed Inspired by Bishop Ethelbert
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.
•
•
•
•
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
-Pierre de Coubertin, The Olympic Creed Inspired by Bishop Ethelbert
•
•
Join Date: Nov 2006
Posts: 9
Reputation:
Solved Threads: 0
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?
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
-Pierre de Coubertin, The Olympic Creed Inspired by Bishop Ethelbert
•
•
Join Date: Nov 2006
Posts: 9
Reputation:
Solved Threads: 0
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
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
![]() |
Other Threads in the C++ Forum
- Previous Thread: int main() or void main() ??!!
- Next Thread: help with a infix to postfix program
Views: 4331 | Replies: 14
| Thread Tools | Search this Thread |
Tag cloud for C++
6 algorithm array arrays assignment beginner binary c++ c/c++ calculator char class classes code command compile compiler constructor conversion convert count data delete dll dynamic encryption error file files forms fstream function functions game givemetehcodez graph gui helpwithhomework homework http iamthwee ifstream input int lazy linker list loop loops map math matrix memory network newbie number object objects opengl operator output parameter path pointer pointers problem program programming project random read recursion recursive reference simple sockets sort spoonfeeding string strings struct student studio template templates text time tree variable vc++ vector video visual void win32 window windows winsock wordfrequency wxwidgets






