Welcome Guest. Please Login or Register. Apr 5th, 2018, 10:53pm
ATTENTION MEMBERS: Conforums will be closing it doors and discontinuing its service on April 15, 2018. Ad-Free has been deactivated. Outstanding Ad-Free credits will be reimbursed to respective payment methods.
If you require a dump of the post on your message board, please come to the support board and request it.
compiles to cd disc
« Thread started on: May 2nd, 2014, 6:07pm »
I am having troubles with compiling a program. I compile it the i try to send a cd. it does not work . 1.I compile it normal to c drive 2. the i try sending compile verision to a cd disc . this does not worl. it also mess up my code.
i am trying to send a copy of a program to my sister
Logged
rtr Guest
Re: compiles to cd disc
« Reply #1 on: May 2nd, 2014, 9:35pm »
i try sending compile verision to a cd disc . this does not worl. it also mess up my code.
I can think of only one obvious reason why a program would not run from a CD, and that is if it attempts to write a file to the same directory as the program was loaded from. Clearly that can't work if the program was run from a 'read only' medium.
Quote:
i am trying to send a copy of a program to my sister
Writing a program in such a way that it will run on somebody else's PC requires special care. There are several issues that you need to consider, for example you must ensure that your program is not dependent on the initial window size, the display resolution, the colour depth, the DPI (Dots Per Inch) value etc. - all of which may vary between one PC and another.
Even if you have only one PC on which you can test your program, you can still experiment with changing the display resolution, the DPI value and the Windows theme (all usually set in Display Properties) to ensure that it is not unduly dependent on any of those.