hi ,
I want to be able to use textpad and borland C compiler (command line compiler) together. I am not able to integrate them. I followed the instructions in the help file but still no luck. Please help me.
hi ,
I want to be able to use textpad and borland C compiler (command line compiler) together. I am not able to integrate them. I followed the instructions in the help file but still no luck. Please help me.
Which compiler exactly ?
Try using Mingw.
There are alot of that type of editors available for it.
I'm using Borland C++ 5.5 with Wordpad text editor. To write a program, I open a file in the same directory as the compiler, change it to a text file, and then write my program and save it. I then open a DOS window to compile and run it. If this doesn't help, maybe you could supply more info.
My last message should have read Notepad, rather than Wordpad (not a pure text editor). Basically, any text editor will work. I found some help in using the Borland compiler at:
http://www.cplusplus.com/doc/compiler/bccl.html
hi Guys,
Thanx for all ur replies. Here is what i managed to do. i am now able to compile the program from Textpad. But when i run any program, i get this error
'.exe' is not recognized as an internal or external command, operable program or batch file.
Press any key to continue...
I am not able to understand what the error means.
Can anyone help pls?
Have you tried asking on http://www.textpad.com/forum/index.php
Why use Notepad? There are a lot of quite small and easy to use programmer's file editors available for download. PFE is a good example.
www.lancs.ac.uk/people/cpaap/pfe/
Such programmer's file editors are meant to develop code and are independent to a compiler or language. Very nice.
But isn't it much more convenient and fast to hav an editor, actually an IDE which has a built-in compiler. When whenever u edit some code u just havta click compile and run to try it out. INSTEAD of writing the code, save it, open dos, compile it and THEN run it? Thats why i chose DevC++.
Thats my opinion.
Its not necessarily faster to do it in Dev C++.
Command lines give much greater customisation and flexibility.
For example, on an older computer compiling a program through dev takes up to 3 min. Using mingw directly through the command line means that you can specify to only recompile the one file that you have been working on. This can REALLY save time.
A built-in compiler? You mean an editor which has a compiler built in it? I've never seen such. Even old things like Turbo C and Turbo Pascal didn't have that. They had a command-line compiler and an editor which was strongly connected to the compiler. By pressing a certain key-combination or choosing compile from the menu, you could start the compiler to do things.But isn't it much more convenient and fast to hav an editor, actually an IDE which has a built-in compiler. When whenever u edit some code u just havta click compile and run to try it out. INSTEAD of writing the code, save it, open dos, compile it and THEN run it? Thats why i chose DevC++.
That's the same for programmer's file editors. In a good programmer's file editor you can setup the editor to support several languages, several compilers and much more. If you click on a C file, the editor uses layout for C-code, or it uses layout for ASM-code if you click on a ASM-file. And just press something like Make or Compile to create binaries.
That's why I use PFE and CodeWright.
So u mean a file editor can link up certain compilers so u don't have to go in the command line to compile, saving time ?
It depends on what one you get.