Search:

Type: Posts; User: Code Monkey

Search: Search took 0.01 seconds.

  1. Replies
    13
    Views
    1,172

    Sorry CornedBee

    Sorry CornedBee
  2. Replies
    13
    Views
    1,172

    I'm not going to reply to a fellow idiots post,...

    I'm not going to reply to a fellow idiots post, but please tell me if I was wrong for just tring to show loopshot another way of locating a file? I didn't think this was in order but I appericate...
  3. Replies
    13
    Views
    1,172

    Okay, you and do it your way, and I'll do it the...

    Okay, you and do it your way, and I'll do it the way I've learned from other people.
  4. Replies
    13
    Views
    1,172

    Here if you compile this and you put the .exe and...

    Here if you compile this and you put the .exe and the input.txt file any where on you hard drive (And both .exe and input.txt are in the same folder) the .exe will still know where the input.txt is...
  5. Replies
    13
    Views
    1,172

    Well say I send you a program such as my pong or...

    Well say I send you a program such as my pong or snake game and they use relative paths to locate all the files that the game needs, now if you just move the directory we ever you want it the game...
  6. Here is an example program so you can better see...

    Here is an example program so you can better see how it works, remember use this tutorial to learn, not as a tool to copy and paste.



    // Code by: Justin (Code Monkey)
    #include <windows.h>...
  7. BOOL SetConsoleTextAttribute( HANDLE...

    BOOL SetConsoleTextAttribute(
    HANDLE hConsoleOutput,
    WORD wAttributes
    );


    HANDLE is the parameter that you pass in that is the handle to the output devices. For example the output device...
  8. Replies
    3
    Views
    965

    Just like anonytmouse said, your variable name...

    Just like anonytmouse said, your variable name for your multimap is the same as a function name.

    If you are declaring a function that is not a member of a class or struct you should use a naming...
  9. Replies
    13
    Views
    1,172

    Another useful tip is that if you know the file...

    Another useful tip is that if you know the file is in the directory of the programs .exe, you can use relative paths:

    "./input.txt" <- if the file is in the main directory folder
    ...
  10. Replies
    4
    Views
    1,694

    Thanks for the replys.

    Thanks for the replys.
  11. Replies
    4
    Views
    1,694

    Decimal To Binary Algorithm

    I'll just jump right into it, this is from the challenges page on the site (not the code, but the challenge itself: Convert decimal number to binary)

    I was wondering if you could give me your...
Results 1 to 11 of 11