turbo c 2.01

This is a discussion on turbo c 2.01 within the C Programming forums, part of the General Programming Boards category; hi there i just installed turbo c 2.01 on a very old computer now i wanna test some functions like ...

  1. #1
    Registered User dune911's Avatar
    Join Date
    Sep 2001
    Posts
    140

    turbo c 2.01

    hi there
    i just installed turbo c 2.01 on a very old computer
    now i wanna test some functions like textcolor...

    can someone please let me know some simple textcolor
    functions to put out colored text with turbo c 2.01 ? thx!

  2. #2
    Akilla
    Guest

    TC++

    Why don you use Turbo C++ 3 ?

    you can simply say textcolor(GREEN)

  3. #3
    Registered User dune911's Avatar
    Join Date
    Sep 2001
    Posts
    140
    you told me that url where i can download tc++3,
    but i weren't able to install it... *sigh*
    i just don't know how to do this... tc++2 is simple
    to install because there are three "disk"-zips...
    i already downloaded tc++3, can you tell me how
    to install it? and can you tell me which header file
    i have to include to use textcolor() and cprintf() ?

  4. #4
    Registered User
    Join Date
    Jul 2002
    Posts
    28
    I have a really old version of Turbo C and I got this to work.

    Code:
    #include <stdio.h>
    #include <conio.h>
    #include <stdlib.h>
    
    int main(void)
    {
     int i;
     for(i=0;i<=15;i++)
     {
      textcolor(i);
      cprintf("Forground color\r\n");
     }
     return EXIT_SUCCESS;
    } // end int main(void)

  5. #5
    Registered User dune911's Avatar
    Join Date
    Sep 2001
    Posts
    140
    @jerryvtts
    i will try this thank you

  6. #6
    Registered User dune911's Avatar
    Join Date
    Sep 2001
    Posts
    140
    well, the code worked fine thanks!

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Remember Turbo? It is comming back
    By Mario F. in forum A Brief History of Cprogramming.com
    Replies: 1
    Last Post: 08-14-2006, 01:26 PM
  2. turbo c 2.01
    By dune911 in forum A Brief History of Cprogramming.com
    Replies: 3
    Last Post: 07-18-2002, 07:06 PM
  3. Turbo C 2.01
    By Unregistered in forum C Programming
    Replies: 2
    Last Post: 05-10-2002, 09:59 AM
  4. Borland Turbo C 2.01 Floating Point Error
    By Unregistered in forum C Programming
    Replies: 1
    Last Post: 10-10-2001, 12:31 PM
  5. Need help installing Borland Turbo C 2.01
    By fatpotatohead in forum C Programming
    Replies: 2
    Last Post: 09-16-2001, 07:28 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21