Search:

Type: Posts; User: MitchellH

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Cant you represent pi as 22/7? Isnt that a...

    Cant you represent pi as 22/7? Isnt that a fraction? Or you can represent it 3 and 1/7? That is what pi is...
  2. Replies
    14
    Views
    2,368

    I agree with Daved. Pointers are not a style :p...

    I agree with Daved. Pointers are not a style :p and they are not evil. They are part of the language, and an important one at that.
  3. Replies
    8
    Views
    1,312

    As Daved said just burn it to a disc. You dont...

    As Daved said just burn it to a disc. You dont need a fancy installer or anything do you? If not, just tell him to browse to his CD Drive and double clickt he exe.
  4. Replies
    4
    Views
    1,052

    Can you show us the methods used to create the...

    Can you show us the methods used to create the window? And the initialization code you use with DirectX?

    Specifically the CreateWindow[Ex] calls and such, and the init directdraw/3d calls.
  5. Replies
    2
    Views
    1,728

    You'll somehow need to "communicate" with the...

    You'll somehow need to "communicate" with the sensors to receive their data or if the censors store it somewhere on your computer, learn how to pick it up.

    Otherwise its impossible.
  6. Replies
    5
    Views
    1,978

    Also just to let you know all windows messages...

    Also just to let you know all windows messages are documented on MSDN just search for them. That'll tell you if it needs WPARAM or LPARAM and what should be in the hibytes/lobytes, if needed.
  7. Replies
    14
    Views
    3,110

    Is DoWinsock() even an API function :p Because...

    Is DoWinsock() even an API function :p Because to me it looks like you either called a function that was declared after the function it was called in and youf ailed to prototype it.

    for example:...
  8. Replies
    4
    Views
    3,262

    I cant think of any way to not have to copy it. I...

    I cant think of any way to not have to copy it. I have two files with hexadecimal data in it and the program loads it into an unsigned char* array at the beginning of the program. Then it goes...
  9. Replies
    4
    Views
    3,262

    FAST method to copy char array?

    Hi, I'm currently using a for loop to copy an unsigned char array of over 61,000 elements to another array. I was wondering if there was a method or an ASM function I can use to make this faster?
    ...
  10. Replies
    6
    Views
    1,278

    Did you include ? And are you linking...

    Did you include <string>?
    And are you linking the correct LIB which contains it? I'm not sure which that is since I've never had this problem specifically with strings but this is the error when...
  11. Replies
    10
    Views
    2,634

    I think the SQL statement just needs single...

    I think the SQL statement just needs single quotes around the strings...since single SQL statements usually don't need semicolons.
  12. Replies
    5
    Views
    1,207

    Sure the C/C++ language syntax isn't that hard to...

    Sure the C/C++ language syntax isn't that hard to learn and you can learn it rather quickly. But to truly master the programming techniques and such, you have to practice... and practice and...
  13. Replies
    10
    Views
    2,634

    That could be an sql query problem, try this: ...

    That could be an sql query problem, try this:


    str.Format("UPDATE webcapsdeployment SET Build='%s', Date='%s' WHERE Platform = 'SAND'",m_sSandBuild, m_sSandDate);
  14. Replies
    2
    Views
    1,459

    Thank you :) That answers my question perfectly.

    Thank you :) That answers my question perfectly.
  15. It's helpful to others when you post your answer,...

    It's helpful to others when you post your answer, for future reference :) I, even though its no use to me now, would be interested in knowing, for example.
  16. Replies
    2
    Views
    1,459

    IP Address Control Text Freeing?

    Okay, I get the string version of an IP address ("." delimitted) using this:



    in_addr iaIP;
    iaIP.S_un.S_un_b.s_b1 = (u_char)FIRST_IPADDRESS(dwIPVal);
    iaIP.S_un.S_un_b.s_b2 =...
  17. -_- I'm just stuck in the past. :P

    -_- I'm just stuck in the past. :P
  18. Replies
    2
    Views
    1,464

    What exactly is happening when you receive the...

    What exactly is happening when you receive the WM_SIZING message? What are you trying to do?
  19. Replies
    2
    Views
    986

    Well im guessing you know how to make columns? I...

    Well im guessing you know how to make columns? I forget off the top of my head... but basically create one column that is "DUMMY" (whatever) then do the rest (starting with index 1) with your center...
  20. Sure: int nArraySize = 0; cout

    Sure:



    int nArraySize = 0;

    cout << "How many items in the array? ";
    cin >> nArraySize;

    int *pnArray = (int *)calloc(nArraySize, sizeof(int));
  21. How can you know the exact memory address? It...

    How can you know the exact memory address? It never stays the same...

    Hard coding a memory address will most likely not work :)
  22. Replies
    7
    Views
    1,056

    When do you draw the text? Ideally you should...

    When do you draw the text? Ideally you should draw it when the WM_PAINT message is raised... then use an if like Dante said. You can explicitly call WM_PAINT by either using SendMessage or just...
  23. Replies
    3
    Views
    1,696

    Well if you're workign with the GUI... then you...

    Well if you're workign with the GUI... then you created a menu, you should know how to check if a menu item is cliked with WM_COMMAND then checking the low word of wParam to make sure it was the exit...
  24. Yes, I also used that tutorial and it was great!...

    Yes, I also used that tutorial and it was great! :) But I was wondering how to make a dialog-based app. The DialogBox() way seems pretty good... is that the correct way?
  25. I know how to do it in MFC. I kinda did the...

    I know how to do it in MFC. I kinda did the backwards route and learned MFC before learning the pure APIs. So now that I know MFC and I know I couldve done this very easily in MFC, I'd like to learn...
Results 1 to 25 of 29
Page 1 of 2 1 2