Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: Turbo C in linux  (Read 17501 times)

0 Members and 1 Guest are viewing this topic.

sumit_09

    Topic Starter


    Rookie

    Turbo C in linux
    « on: April 25, 2009, 11:29:30 AM »
    How can I install turbo C in linux mint? Please tell me the complete procedure?

    Geek-9pm


      Mastermind
    • Geek After Dark
    • Thanked: 1026
      • Gekk9pm bnlog
    • Certifications: List
    • Computer: Specs
    • Experience: Expert
    • OS: Windows 10
    Re: Turbo C in linux
    « Reply #1 on: April 25, 2009, 01:19:48 PM »
    Google this:
    Linux windows emulator
     ;D
    You run a windows emulator and run your program.
    But programs written in Turbo C use the Windows API.
    So they are not Linux programs until compiled by a Linux C package.


    sumit_09

      Topic Starter


      Rookie

      Re: Turbo C in linux
      « Reply #2 on: April 26, 2009, 12:06:18 PM »
      Google this:
      Linux windows emulator
       ;D
      You run a windows emulator and run your program.
      But programs written in Turbo C use the Windows API.
      So they are not Linux programs until compiled by a Linux C package.


      what is windows emulator and WINDOWS API  ?
      Please tell me the simple procedure to run C programs in linux mint?

      Geek-9pm


        Mastermind
      • Geek After Dark
      • Thanked: 1026
        • Gekk9pm bnlog
      • Certifications: List
      • Computer: Specs
      • Experience: Expert
      • OS: Windows 10
      Re: Turbo C in linux
      « Reply #3 on: April 26, 2009, 04:41:13 PM »
      Sorry, you said Trbo C wihich I understood to be a windows tool.
      Let's start over.
      If you are new, it is best to use Ubuntu until you become familiar with Linux.
      Here is a link about C and C++ in Ubuntu.

      http://www.ubuntugeek.com/how-to-install-c-and-c-compilers-in-ubuntu-and-testing-your-first-c-and-c-program.html

      Just ignore the advertising!





      sumit_09

        Topic Starter


        Rookie

        Re: Turbo C in linux
        « Reply #4 on: April 26, 2009, 10:40:15 PM »
         ;D
         I read on the this webpage to run turbo C in linux with dosbox which is a utility software.

        http://pingusays.blogspot.com/2009/04/turbo-c-in-linux.html

        after that I was going to download dos box from (http://www.dosbox.com/download.php?main=1 ) but don't know which version should I install ?Please tell the rest of the procedure?

        Geek-9pm


          Mastermind
        • Geek After Dark
        • Thanked: 1026
          • Gekk9pm bnlog
        • Certifications: List
        • Computer: Specs
        • Experience: Expert
        • OS: Windows 10
        Re: Turbo C in linux
        « Reply #5 on: April 27, 2009, 02:16:35 PM »
        Hey, Thanks. I didn't know you could do it in DOSBX.
        But I would recommend you install Ubuntu, perhaps on another HD, If you are not using it.
        The links you gave a excellent. I think it is easier to do in Ubuntu.
        Look here:
        Quote
        Using DOSBOX to run Turbo C++ in Ubuntu Linux
        http://dogbuntu.wordpress.com/2007/07/05/using-dosbox-to-run-turbo-c-in-ubuntu-linux/
        Notice how easy it is to get a DOSBOX in Ubuntu:

        Code: [Select]
        Simply, Go to the terminal:
        sudo aptitude install dosbox
        What could be easier?

        The link I gave above is not on this forum.
        But  glad you stopped in and hope this is of some help.
        Come back and teach us what you have learned.
        I really did like the debugger in Turbo C. It was neat.

        BC_Programmer


          Mastermind
        • Typing is no substitute for thinking.
        • Thanked: 1140
          • Yes
          • Yes
          • BC-Programming.com
        • Certifications: List
        • Computer: Specs
        • Experience: Beginner
        • OS: Windows 11
        Re: Turbo C in linux
        « Reply #6 on: April 27, 2009, 03:23:14 PM »
        Turbo C++ is a borland product for MS-DOS.

        the best method for linux would likely be gcc, which I believe is included in all major distros.
        I was trying to dereference Null Pointers before it was cool.

        Ralph Spencer

        • Guest
        Beep
        « Reply #7 on: April 28, 2009, 02:07:09 AM »
        I go with BC_Programmer. The gcc is included in Ubuntu. It can be invoked by the command "gcc" in the terminal. You will get the error "No input files" because you need to specify the path to the source and some other options.

        Geek-9pm


          Mastermind
        • Geek After Dark
        • Thanked: 1026
          • Gekk9pm bnlog
        • Certifications: List
        • Computer: Specs
        • Experience: Expert
        • OS: Windows 10
        Re: Turbo C in linux
        « Reply #8 on: April 28, 2009, 10:09:18 AM »
        But is it a nice to use a the Borland product?

        The Ubuntu people use it in the DOSBOX and replace the standard library with a Linux library. I have yet to try it.

        sumit_09

          Topic Starter


          Rookie

          Re: Turbo C in linux
          « Reply #9 on: April 29, 2009, 01:20:20 AM »
          what is BC_programmer ?

          Ralph Spencer

          • Guest
          Re: Turbo C in linux
          « Reply #10 on: April 29, 2009, 02:57:36 AM »
          BC_Programmer is another member of this forum.

          Geek-9pm


            Mastermind
          • Geek After Dark
          • Thanked: 1026
            • Gekk9pm bnlog
          • Certifications: List
          • Computer: Specs
          • Experience: Expert
          • OS: Windows 10
          Re: Turbo C in linux
          « Reply #11 on: April 30, 2009, 09:54:56 AM »
          Quote
          what is BC_programmer ?
          Maybe quote of the month!  8)