A little c++ help...

Discussion in 'Mac Help/Tips' started by scem0, Nov 8, 2002.

  1. scem0 macrumors 604

    scem0

    Joined:
    Jul 16, 2002
    Location:
    back in NYC!
    #1
    Removed post. Too hard of a question. An easier question is posted below.
     
  2. scem0 thread starter macrumors 604

    scem0

    Joined:
    Jul 16, 2002
    Location:
    back in NYC!
    #2
    Delete/ignore post. Part of the original question
     
  3. scem0 thread starter macrumors 604

    scem0

    Joined:
    Jul 16, 2002
    Location:
    back in NYC!
    #3
    Okay, no luck there... But I don't blame anyone because that
    was asking a lot out of anyone who knows c++. I think I am
    figuring it all out anyways. But I have one small question:

    How do you make colored text in a c++ source file (win32 console application)?
     
  4. idkew macrumors 68020

    idkew

    Joined:
    Sep 26, 2001
    Location:
    where the concrete to dirt ratio is better
    #4
    i don't have an answer for you, but I would definitely think about investing a c++ book for future reference. coding is not something that you learn completely by heart. even pro coders uses reference books in situations similar to this. doctors do the same......

    apple has(had) about 6 or 7 books about the under workings of the mac os, and its toolboxes. my cs teacher would refer to them whenever it was necesasary.... it will be well worth your money to get a good book. o'reilly has some good ones.
     
  5. cubist macrumors 68020

    Joined:
    Jul 4, 2002
    Location:
    Muncie, Indiana
    #5
    Win32 console?

    You mean on NT/W2K? Use an ansi sequence e.g.
    cout << "\033[6m";
     
  6. scem0 thread starter macrumors 604

    scem0

    Joined:
    Jul 16, 2002
    Location:
    back in NYC!
    #6
    thanks for the tip ikdew.

    I have no idea what that means cubist but I appreciate it :D. I am
    going to run it, and see what happens...

    edit -- It didn't seem to do anything. COuld you make a hello world applications where it displays"hello world" in red? It would be appreciated.
     
  7. zarathustra macrumors 6502a

    zarathustra

    Joined:
    Jul 16, 2002
    Location:
    Philadelphia, PA
    #7
    Get a freaking book. Ask mom and dad to invest in your programming future and take you to Barnes and Noble.
     
  8. kperry8 macrumors newbie

    Joined:
    Apr 4, 2002
    #8
  9. scem0 thread starter macrumors 604

    scem0

    Joined:
    Jul 16, 2002
    Location:
    back in NYC!
    #9
    that link went to a page that wasn't on the server...

    I would replt to Zara's message. But I don't want to start an
    argument, or get this thread off topic.
     

Share This Page