943,536 Members | Top Members by Rank

Ad:
  • C Discussion Thread
  • Marked Solved
  • Views: 400
  • C RSS
Mar 22nd, 2009
0

Help please,,,,,,,,,,,,,,,,,

Expand Post »
Hey guys this is a very naive problem,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,

but how do i save the c programs i compiled on borland c++ on the dekstop???????????????????????
Reputation Points: 6
Solved Threads: 0
Newbie Poster
PRATS 1990 is offline Offline
8 posts
since Mar 2009
Mar 22nd, 2009
0

Re: Help please,,,,,,,,,,,,,,,,,

depends on your version of windows. But why would you want to do that anyway? With Vista just copy it to here: C:\Users\<your login name here>\Desktop
Last edited by Ancient Dragon; Mar 22nd, 2009 at 12:53 pm.
Sponsor
Team Colleague
Featured Poster
Reputation Points: 5608
Solved Threads: 2282
Retired and Enjoying Life
Ancient Dragon is offline Offline
21,945 posts
since Aug 2005
Mar 22nd, 2009
0

Re: Help please,,,,,,,,,,,,,,,,,

>how do i save the c programs i compiled on borland c++ on the dekstop???????????????????????
Well, when you compile the C code you would the binary or the .exe file out of it. Unless you have any errors. Assuming that your program compiled with no warning or errors, the .exe file should be in you local working directory. If you want to save the binary of it on the desktop then i guess you will have to look at the compile command line options and look for an flag output.

Just made a quick search, it’s the -n flag that you would have to use. That is
  1. bcc<x> -n <output dir path> <source file>
<output dir path> Please see AD post.

-ssharish
Reputation Points: 73
Solved Threads: 20
Posting Whiz in Training
ssharish2005 is offline Offline
253 posts
since Dec 2006
Mar 23rd, 2009
0

Re: Help please,,,,,,,,,,,,,,,,,

THANKS ,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
1 MR ANCIENT DRAGON
2 ssharish2005
Reputation Points: 6
Solved Threads: 0
Newbie Poster
PRATS 1990 is offline Offline
8 posts
since Mar 2009

This thread is solved

Either the thread starter or a moderator has marked this thread as solved. You can most likely trust the responses and answers given. There is most likely no reason for any further responses to be posted here. If you have a related question, please start a new thread in this forum instead.

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in C Forum Timeline: Calculating num of elements in array of structure
Next Thread in C Forum Timeline: Declaration program





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC