English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

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

2006-11-09 21:42:09 · 6 answers · asked by kumarangopi 3 in Computers & Internet Programming & Design

6 answers

I think u may have to carry only the two header files.

2006-11-09 21:50:27 · answer #1 · answered by Vaibhav 4 · 0 0

Your header file might be compiled as an extended object library of your exe file. This means that whenever you run chart.exe, it will look for its extended library which are your header files. To solve this, check your header decleration.

2006-11-09 21:57:01 · answer #2 · answered by Anonymous · 0 0

you need to make sure that it compiles those two header files inside the .exe file

2006-11-09 21:45:03 · answer #3 · answered by Anonymous · 0 0

kumarango... when you compile your code you must use independent source library. so when you compile the source the code will have certain flags and library built in. Assembler pointer must be made at start of your code.

2006-11-09 21:47:43 · answer #4 · answered by Joe_Young 6 · 0 0

run is sucessufully in ur computer. In the bin folder(as defined), it wil generate .exe file, run it on other computer it will run. ex, ur file is porg.c, it will output prog.exe Copy it and run it

2016-05-22 02:19:40 · answer #5 · answered by Karen 4 · 0 0

fedest.com, questions and answers