Thread: Can you Spiffy Up Output?

  1. #1
    Registered User
    Join Date
    Oct 2001
    Posts
    11

    Smile Can you Spiffy Up Output?

    Hello,
    I just had a (hopefully) simple question. I'm taking a C programming class right now(we're not allowed to use any C++ commands...not even the // comment) and was just curious to see if there was any way to change the text of the programs. Things like changing color, bolding, italicising, that sort of thing. Any input would be great, even if its just to say "There's no way you stupid NewB". =P

    Thanks,
    - Pat

  2. #2
    the Corvetter
    Join Date
    Sep 2001
    Posts
    1,584
    Um...I don't believe DOS is capable of text font changes. But you can change the color with some code and the ANSI driver installed.
    1978 Silver Anniversary Corvette

  3. #3
    Registered User
    Join Date
    Oct 2001
    Posts
    11

    Talking Ahhhh

    Ahhh, I really didn't think so either, but I figured there was no harm in asking. = )

    Thanks for the input,
    - Pat

  4. #4
    the Corvetter
    Join Date
    Sep 2001
    Posts
    1,584
    No problem.

    --Garfield
    1978 Silver Anniversary Corvette

  5. #5
    Skunkmeister Stoned_Coder's Avatar
    Join Date
    Aug 2001
    Posts
    2,572
    what operating system?

    r u using a window that looks like dos in windows?

    if you are go to msdn and do a search for console functions. You will find all sorts of info and sample code there.
    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

  6. #6
    Confused Magos's Avatar
    Join Date
    Sep 2001
    Location
    Sweden
    Posts
    3,145

    What?

    What? You're not allowed to comment..?
    MagosX.com

    Give a man a fish and you feed him for a day.
    Teach a man to fish and you feed him for a lifetime.

  7. #7
    ATH0 quzah's Avatar
    Join Date
    Oct 2001
    Posts
    14,826
    No, they can comment. However, they cannot use the C++ style comments.

    Quzah.

  8. #8
    Registered User pinko_liberal's Avatar
    Join Date
    Oct 2001
    Posts
    284
    If you are searching for a free editor with color coding for C/C++ and that works on dos you can try gvim
    http://www.vim.org/binaries.html

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Help for my output array
    By qwertysingh in forum C Programming
    Replies: 1
    Last Post: 02-17-2009, 03:08 PM
  2. execl()/fork() output
    By tadams in forum C Programming
    Replies: 19
    Last Post: 02-04-2009, 03:29 PM
  3. Replies: 4
    Last Post: 11-30-2005, 04:44 PM
  4. Formatting output into even columns?
    By Uncle Rico in forum C Programming
    Replies: 2
    Last Post: 08-16-2005, 05:10 PM
  5. Output problems with structures
    By Gkitty in forum C Programming
    Replies: 1
    Last Post: 12-16-2002, 05:27 AM