954,479 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

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

Hey guys this is a very naive problem,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,

but how do i save the c programs i compiled on borland c++ on the dekstop???????????????????????

PRATS 1990
Newbie Poster
8 posts since Mar 2009
Reputation Points: 6
Solved Threads: 0
 

depends on your version of windows. But why would you want to do that anyway? With Vista just copy it to here: C:\Users\\Desktop

Ancient Dragon
Retired & Loving It
Team Colleague
30,049 posts since Aug 2005
Reputation Points: 5,662
Solved Threads: 2,343
 

>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

bcc<x> -n <output dir path> <source file>

Please see AD post.

-ssharish

ssharish2005
Posting Whiz in Training
253 posts since Dec 2006
Reputation Points: 73
Solved Threads: 20
 

THANKS ,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
1 MR ANCIENT DRAGON
2 ssharish2005

PRATS 1990
Newbie Poster
8 posts since Mar 2009
Reputation Points: 6
Solved Threads: 0
 

This question has already been solved

Post: Markdown Syntax: Formatting Help
You