I need some C++ functions

This is a discussion on I need some C++ functions within the C++ Programming forums, part of the General Programming Boards category; Before I start let me just say that I'm using Windows 98 and my compiler is Bloodshed. How do I ...

  1. #1
    Registered User
    Join Date
    Jan 2002
    Posts
    106

    I need some C++ functions

    Before I start let me just say that I'm using Windows 98 and my compiler is Bloodshed.

    How do I change font color?

    How do I change font size?

    What is the function for making the program quit at a specific button?(ie: Like the user presses q and the program is finish)

  2. #2
    Registered User
    Join Date
    Jan 2002
    Posts
    106

    ..........

    hello?!?!

  3. #3
    S­énior Member
    Join Date
    Jan 2002
    Posts
    982
    Are you creating a console application?

  4. #4
    Registered User
    Join Date
    Jan 2002
    Posts
    68
    If your creating a console app, then your stuck with that font. You can change colors though...background and forground can be changed. I think theres 16. Do a search on the board...I think Ive seen this before twice.

    If your not doing console...

    Give as mych info as you can when asking a queations. Im just as gulity of this as you, but it's rough to answer a question without know what your dealing with.
    ______________________
    The Gekko

  5. #5
    ¡Amo fútbol!
    Join Date
    Dec 2001
    Posts
    2,136
    Code:
     char input;
     if (input=="q") 
      {return 0;}
    is that what u were looking for?

  6. #6
    Registered User
    Join Date
    Jan 2002
    Posts
    106

    ok

    I'm programming a conolse app

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Void Functions Help
    By bethanne41 in forum C++ Programming
    Replies: 1
    Last Post: 05-09-2005, 06:30 PM
  2. Functions and Classes - What did I do wrong?
    By redmage in forum C++ Programming
    Replies: 5
    Last Post: 04-11-2005, 12:50 PM
  3. calling functions within functions
    By edd1986 in forum C Programming
    Replies: 3
    Last Post: 03-29-2005, 03:35 AM
  4. Factory Functions HOWTO
    By GuardianDevil in forum Windows Programming
    Replies: 1
    Last Post: 05-01-2004, 02:41 PM
  5. Shell functions on Win XP
    By geek@02 in forum Windows Programming
    Replies: 6
    Last Post: 04-19-2004, 06:39 AM

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