Thread: Another not-so-hard question...

  1. #1
    Registered User
    Join Date
    Feb 2002
    Posts
    8

    Question Another not-so-hard question...

    Is there a way that I can enchance text in my DOS applications with using VC++6... I heard that you add some escape characters to add colour or underline...

  2. #2
    Skunkmeister Stoned_Coder's Avatar
    Join Date
    Aug 2001
    Posts
    2,572
    you seem confused. Visual c 6 is a windows compiler and cannot be used to write dos programs. The nearest you can get is console programs. So look up "console functions" in your msvc help. also look into SetConsoleTextAttribute()
    Free the weed!! Class B to class C is not good enough!!
    And the FAQ is here :- http://faq.cprogramming.com/cgi-bin/smartfaq.cgi

  3. #3
    Registered User
    Join Date
    Feb 2002
    Posts
    8
    Yeah I'm sorry I meant console program Hmm I do not think I have that think handy... Can you give an example?

  4. #4
    Skunkmeister Stoned_Coder's Avatar
    Join Date
    Aug 2001
    Posts
    2,572
    Free the weed!! Class B to class C is not good enough!!
    And the FAQ is here :- http://faq.cprogramming.com/cgi-bin/smartfaq.cgi

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Newbie Question - fflush(stdin) & fpurge(stdin) on Mac and PC
    By tvsinesperanto in forum C Programming
    Replies: 34
    Last Post: 03-11-2006, 12:13 PM
  2. another exercise question
    By luigi40 in forum C# Programming
    Replies: 3
    Last Post: 11-28-2005, 03:52 PM
  3. GRUB question (Linux)
    By filker0 in forum Tech Board
    Replies: 2
    Last Post: 10-03-2005, 05:12 PM
  4. Alice....
    By Lurker in forum A Brief History of Cprogramming.com
    Replies: 16
    Last Post: 06-20-2005, 02:51 PM
  5. Windows Rant followed by installation question
    By confuted in forum A Brief History of Cprogramming.com
    Replies: 12
    Last Post: 06-21-2003, 04:42 PM