Thread: Anyone using Borland C & Textpad?

  1. #1
    Registered User Silverdream's Avatar
    Join Date
    Feb 2002
    Posts
    53

    Question Anyone using Borland C & Textpad?

    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.

  2. #2
    Registered User Silverdream's Avatar
    Join Date
    Feb 2002
    Posts
    53

    Unhappy

    Isnt there anyone to help me?

  3. #3
    Registered User
    Join Date
    Jan 2002
    Posts
    49
    Which compiler exactly ?

  4. #4
    Registered User Silverdream's Avatar
    Join Date
    Feb 2002
    Posts
    53
    Borland C++ 5.5

  5. #5
    Registered User
    Join Date
    Jan 2002
    Posts
    363
    Try using Mingw.
    There are alot of that type of editors available for it.

  6. #6
    Unregistered
    Guest
    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.

  7. #7
    Unregistered
    Guest
    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

  8. #8
    Registered User Silverdream's Avatar
    Join Date
    Feb 2002
    Posts
    53
    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?

  9. #9
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,659
    Have you tried asking on http://www.textpad.com/forum/index.php

  10. #10
    ....
    Join Date
    Aug 2001
    Location
    Groningen (NL)
    Posts
    2,380
    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.

  11. #11
    Registered User Nutshell's Avatar
    Join Date
    Jan 2002
    Posts
    1,020
    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.

  12. #12
    Registered User
    Join Date
    Jan 2002
    Posts
    363
    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.

  13. #13
    ....
    Join Date
    Aug 2001
    Location
    Groningen (NL)
    Posts
    2,380
    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++.
    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.

    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.

  14. #14
    Registered User Nutshell's Avatar
    Join Date
    Jan 2002
    Posts
    1,020
    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 ?

  15. #15
    Registered User
    Join Date
    Jan 2002
    Posts
    363
    It depends on what one you get.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. overwrite words in textpad
    By west in forum C++ Programming
    Replies: 2
    Last Post: 02-17-2005, 03:49 PM