zr350sa110025
2009-12-02 06:42:27 UTC
I need to show the program to other people, but i do not want to show them the coding.
Those guys wont have Turbo C++.....
so is it possible that i give them just an .exe file of the program?
I tried to run the executable on my other PC......but it failed.
The Program needs access to some Header Files in the INCLUDE folder.
Also it needs BGI for graphic codes.
So, i tried to zip my TC folder with all Sub Directories it needs.
But still, i cant run the .exe in a different PC.
The Problem that may cause it:
-in TC options -> Directories... -> The path of Header files will be wrong, if i extract the zip file into a different directory.
-also, when i initialize graphics in the code by : "initgraph(&gd,&gm,"C:\\TC\\BGI");"
....The BGI folder is not found, because i had unzipped the files in in a different directory.
Then i tried to extract the zip file, in the same Directory as my source directories....and it worked!
But, I cant explain all this to other people when im distributing that file :S.
So, how can i set the paths, that makes it work in all PCs (yah in Windows XP i mean :) )