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

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

Recommended Answers

All 3 Replies

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

>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>

<output dir path> Please see AD post.

-ssharish

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

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.