Thread: Problem with WriteConsole()

  1. #1
    Registered User
    Join Date
    Jun 2004
    Posts
    124

    Problem with WriteConsole()

    Hello everyone, I have a question about the WriteConsole method in Windows.h. WriteConsole takes a void* as its input to write out to the console, is there anyway to have it output anything besides a string? Like an int or double for example? Anyone have any ideas? Thanks.

  2. #2
    S Sang-drax's Avatar
    Join Date
    May 2002
    Location
    Göteborg, Sweden
    Posts
    2,072
    No, there isn't.

    Remember to post in the Windows forum from now on.
    Last edited by Sang-drax : Tomorrow at 02:21 AM. Reason: Time travelling

  3. #3
    Registered User
    Join Date
    Jun 2004
    Posts
    124
    "Remember to post in the Windows forum from now on."

    Oh, I'm sorry, I didn't realize that there was one, my mistake.

    Anyway, I answered my own question, somehow I always seem to forget about _itoa() and atoi().

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Need help understanding a problem
    By dnguyen1022 in forum C++ Programming
    Replies: 2
    Last Post: 04-29-2009, 04:21 PM
  2. Memory problem with Borland C 3.1
    By AZ1699 in forum C Programming
    Replies: 16
    Last Post: 11-16-2007, 11:22 AM
  3. Someone having same problem with Code Block?
    By ofayto in forum C++ Programming
    Replies: 1
    Last Post: 07-12-2007, 08:38 AM
  4. A question related to strcmp
    By meili100 in forum C++ Programming
    Replies: 6
    Last Post: 07-07-2007, 02:51 PM
  5. WS_POPUP, continuation of old problem
    By blurrymadness in forum Windows Programming
    Replies: 1
    Last Post: 04-20-2007, 06:54 PM