Ditch Turbo C++ use Relo !

Status
Not open for further replies.

prankie

D PrankMaster
when i try to open previously saved files, it compiles them succesfully but when i run them it just opens them on notepad..

*img209.imageshack.us/img209/6527/a1ka2.th.jpg

Compiled succesfully!!

*img209.imageshack.us/img209/7959/a2cw4.th.jpg

Openin in notepad..
 
OP
Zeeshan Quireshi

Zeeshan Quireshi

C# Be Sharp !
mate , i think you're tryin to Run the Source file .

like if the code is in File.cpp then the compiled executable will most probably be File.exe , try runnin the Executable file :)
 

eggman

I have Yolks not Brains!
Sorry for BUMPING but ............
During compilation it says:

UNABLE TO OPEN FILE 'STDIO.h'
 

[xubz]

"The Cake is a Lie!!"
eggman said:
Sorry for BUMPING but ............
During compilation it says:

UNABLE TO OPEN FILE 'STDIO.h'
You didn't read the Readme that came with the Compiler did you? :rolleyes:

Code:
Installing and running the Command Line Tools
-----------------------------------------------

1. Run freecommandlinetools.exe; choose the 
   drive and folder into which you want to
   install the free C++Builder 5 command line 
   tool development system.
   
2. From the bin directory of your installation:
   a. Add "c:\Borland\Bcc55" 
      to the existing path
   b. Create a bcc32.cfg file which will set 
      the compiler options for the Include 
      and Lib paths (-I and -L switches to 
      compiler) by adding these lines:
      -I"c:\Borland\Bcc55\include"
      -L"c:\Borland\Bcc55\lib"
   c. Create an ilink32.cfg file which will set 
      the linker option for the Lib path by 
      adding this line:
      -L"c:\Borland\Bcc55\lib"

Do that. (Always RTFM!)
 

eggman

I have Yolks not Brains!
After youe suggestion, it doesnt show any error during Compilation...........but during RUN it shows:
*img404.imageshack.us/img404/4346/shitoe2.jpg

any solution?
 

Sukhdeep Singh

Host4Cheap.org
Thanks xubz, finally got this to work.... :)

But when i click Make and RUN....it opens the file in notepad rather than executable :confused:
 

eggman

I have Yolks not Brains!
[xubz] said:
Did you put the bcc32.cfg and ilink32.cfg in the C:\Borland\BCC55\bin folder?
Yes dude. And here are the contents:

bcc32.cfg

Code:
-I"c:\Borland\Bcc55\include"
-L"c:\Borland\Bcc55\lib"

ilink.cfg

Code:
-L"c:\Borland\Bcc55\lib"
 
OP
Zeeshan Quireshi

Zeeshan Quireshi

C# Be Sharp !
@eggman , i think there are case-differences in the path of compiler n in config file , make them exactly the same case as in the original path.
 

eggman

I have Yolks not Brains!
Zeeshan Quireshi said:
@eggman , i think there are case-differences in the path of compiler n in config file , make them exactly the same case as in the original path.
Yes, It was different. But even after ccorrecting the case, the problem is there. :(
 
Status
Not open for further replies.
Top Bottom