Search:

Type: Posts; User: XunTric

Page 1 of 4 1 2 3 4

Search: Search took 0.05 seconds.

  1. Replies
    5
    Views
    1,061

    Thanks a lot.

    Thanks a lot.
  2. Replies
    5
    Views
    1,061

    Small problem with rand()

    I made a small blackjack game as one of the programs I am going to demonstrate to my teacher at the end of the year.
    I am simply using a string with all the 52 cards, like this:


    // 0 represents...
  3. Replies
    2
    Views
    9,056

    Thanks a lot tabstop, figured it out after you...

    Thanks a lot tabstop, figured it out after you mentioned GetKeyboardState.
    This code will detect if the up arrow key is pressed down.



    while(1)
    {
    if(GetKeyState(VK_UP) & 0x80)
    {
    ...
  4. Replies
    2
    Views
    9,056

    Detecting key press (Windows)

    How can I detect if a key is currently being pressed down?
    It doesn't have to be multi-platform.
    It only needs to work on Windows.
    I'm using Bloodshed Dev-C++ if it makes any difference.

    I've...
  5. Editing a certain field on every line in a .csv file

    Lets say I have a .csv (comma separated value) file looking like this:


    123,1,"Abc",16.7
    124,1,"Def",75.1
    125,2,"Ghi",12.2
    126,2,"Jkl",78.3
    127,3,"Mno",12.3
    128,4,"Pqr",84.9
    129,4,"Stu",92.0
  6. Replies
    12
    Views
    5,781

    I have pretty much done what that page says. =/

    I have pretty much done what that page says. =/
  7. Replies
    12
    Views
    5,781

    So copying over the include files was correct? I...

    So copying over the include files was correct?
    I wasn't really sure what to do there.
  8. Replies
    12
    Views
    5,781

    I got Visual Studio 2005 Express, indeed. I...

    I got Visual Studio 2005 Express, indeed.
    I downloaded the SDK and copied over the include files?
  9. Replies
    12
    Views
    5,781

    I do have Windows XP SP2. :confused:

    I do have Windows XP SP2. :confused:
  10. Replies
    12
    Views
    5,781

    SHCreateDirectory: identifier not found

    Could someone help me with this error I get when I compile?
    This isn't really my code, so I got no idea how to fix it.
    Thanks.


    error C3861: 'SHCreateDirectory': identifier not found


    ...
  11. Replies
    8
    Views
    6,093

    Im kinda new so I dont really know what a thread...

    Im kinda new so I dont really know what a thread is.
    Like a other function?
  12. Replies
    8
    Views
    6,093

    //anonytmouse Thats C, forgot to say im coding...

    //anonytmouse

    Thats C, forgot to say im coding C++.

    //TNT

    Im not really sure how to do this.
    This was my best try. :P
  13. Replies
    8
    Views
    6,093

    That makes 10 MessageBox'es which prints one...

    That makes 10 MessageBox'es which prints one number each.
    I want 1 MessageBox which counts to 10 without making new boxes.

    Still thanks for helping!
  14. Replies
    8
    Views
    6,093

    MessageBox, changing text.

    How would I make the text change in my MessageBox?
    Lets say I want a count to 10.
    So how would I make it type count without making 10 diffrent MessageBox'es?

    And how do I make the MessageBox...
  15. Replies
    11
    Views
    6,823

    Thanks! Compiles and works! First time I got a...

    Thanks!
    Compiles and works!
    First time I got a really good answer. =P
    But how would I remove it from starting when my pc starts up?
  16. Replies
    5
    Views
    987

    I belive he wants to open a text file in the...

    I belive he wants to open a text file in the msdos window, and being able to edit it there without a text editor.
    Pointless to me.
  17. Replies
    11
    Views
    6,823

    That adds it to the registry? Well, how I remove...

    That adds it to the registry?
    Well, how I remove it again then?

    And for my program:
    "c:\\myprog.exe"
    How I know where the ones using my program having it installed there?

    Just tell me how to...
  18. Replies
    11
    Views
    6,823

    Alright I did something wrong. I needed this at...

    Alright I did something wrong.
    I needed this at the top instead:


    extern "C" BOOL xAddSelfAsStartupShortcut bla bla bla...


    But Im still getting errors!
    How I fix this?
    Picture
  19. Replies
    11
    Views
    6,823

    Alright why I get errors here? I did exactly as...

    Alright why I get errors here?
    I did exactly as it said.



    #include <cstdlib>
    #include <iostream>
    #include <windows.h>

    using namespace std;
  20. Replies
    11
    Views
    6,823

    make my program start on startup.

    My program got an option to start it every time you turn on the pc.
    The problem is that I got no idea how to do it. :D
    I know you can put a .job file in C:\WINDOWS\Tasks, but how would I go on...
  21. Replies
    12
    Views
    1,540

    Thats for playing a .wav file outside the...

    Thats for playing a .wav file outside the program.
    Which I said Ive already know how to do.
    Not a song builded into the .exe...
  22. Replies
    12
    Views
    1,540

    You said you didnt know so much about windows...

    You said you didnt know so much about windows programming?

    major_small, lol, report bad post?
  23. Replies
    12
    Views
    1,540

    Bump...

    Bump...
  24. Replies
    12
    Views
    1,540

    Like this? #include #include...

    Like this?



    #include <iostream>
    #include <windows.h>
    #include <mmsystems.h>

    using namespace std;
  25. Replies
    12
    Views
    1,540

    Sorry I got no idea what ur talking about to be...

    Sorry I got no idea what ur talking about to be honest. :P
    All I know I need to use winmm in the compiler to make my exe play songs.
    I know how to use PlaySound, but not when my song is builded...
Results 1 to 25 of 91
Page 1 of 4 1 2 3 4