Ditch Turbo C++ use Relo !

Status
Not open for further replies.

prankie

D PrankMaster
Joined
Jul 2, 2005
Messages
492
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 !
Joined
Jun 9, 2006
Messages
1,801
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 :)
 

Quiz_Master

* Teh Flirt King *
Joined
Dec 31, 2005
Messages
958
I use DEV C++ and I am satisfied with it...
Gotta try this one though...
Just for R&D purpose. :D
 

eggman

I have Yolks not Brains!
Joined
Aug 7, 2006
Messages
796
Sorry for BUMPING but ............
During compilation it says:

UNABLE TO OPEN FILE 'STDIO.h'
 

[xubz]

"The Cake is a Lie!!"
Joined
Oct 14, 2006
Messages
468
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!
Joined
Aug 7, 2006
Messages
796
After youe suggestion, it doesnt show any error during Compilation...........but during RUN it shows:
*img404.imageshack.us/img404/4346/shitoe2.jpg

any solution?
 

eggman

I have Yolks not Brains!
Joined
Aug 7, 2006
Messages
796
QwertyManiac said:
Your printf spelling is wrong :lol:

My bad........hehe
:)) :))

But even after correcting the blunder the 2nd error :COULDN'T OPEN remains ........
 

[xubz]

"The Cake is a Lie!!"
Joined
Oct 14, 2006
Messages
468
Um. . OK.
Where have you installed the Compiler Set? (Exact Directory Please)
 

eggman

I have Yolks not Brains!
Joined
Aug 7, 2006
Messages
796
Thanks [xubz].

Compiler:C:\Borland\BCC55
Relo2:C:\Program Files\Relo2
 

[xubz]

"The Cake is a Lie!!"
Joined
Oct 14, 2006
Messages
468
Did you put the bcc32.cfg and ilink32.cfg in the C:\Borland\BCC55\bin folder?
 

Sukhdeep Singh

Host4Cheap.org
Joined
May 5, 2005
Messages
2,041
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!
Joined
Aug 7, 2006
Messages
796
[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 !
Joined
Jun 9, 2006
Messages
1,801
@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!
Joined
Aug 7, 2006
Messages
796
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. :(
 

The Conqueror

Elevating Humanity
Joined
Sep 22, 2007
Messages
2,020
Good tut but dev c++ is excellent.
anyways digging as it may be useful for new members
 
Status
Not open for further replies.
Top