C code compiles but doesn't run

General questions about using TextPad

Moderators: AmigoJack, bbadmin, helios, MudGuard

Post Reply
joely86
Posts: 1
Joined: Thu Dec 04, 2008 5:15 pm

C code compiles but doesn't run

Post by joely86 »

I have recently installed the borland compiler using textpad. I have followed all of the how to's to the letter.

To check i tried printing out "hello world", this program compiles as it should, but when i go to run it there is no output.
also if i try to write to a file this doesnt work.

Is there any reason it would not print out?? help please!!!

Thanks in advance!
nvj1662
Posts: 53
Joined: Thu May 17, 2007 10:02 am

Post by nvj1662 »

I have the following set to use the Borland compiler to complie a .cpp file from Textpad and jump to any line in the code that the compiler reports as an error:
Command: C:\Program Files\CodeGear\RAD Studio\5.0\bin\bcc32.exe
Parameters: $File
Initial Folder: $FileDir

Capture Output is ticked

Regular expression to match output: ^(Error|Warning) [A-Z][0-9]+ (.+) ([0-9]+):
Registers: File: 2, Line: 3, Columne: is left blank.

If you can run the same command from a DOS box that you run in Textpad, I believe that you should be OK. Make sure that your PATH environment variable contains all of the directories that Borland requires for headers & libraries.

HTH.
[/img]
Post Reply