Search:

Type: Posts; User: Codulation

Page 1 of 5 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    2
    Views
    1,965

    This page at codeproject might be of some use. ...

    This page at codeproject might be of some use. It's about trapping ctrl alt del.
    http://www.codeproject.com/system/preventclose.asp
  2. Replies
    2
    Views
    992

    You're going to have to be a little bit more...

    You're going to have to be a little bit more specific with a question describing exactly what you are having problems with and showing relevant code.
  3. Replies
    5
    Views
    1,291

    >does the hotkey have to be pressed in the window...

    >does the hotkey have to be pressed in the window of the program

    A hotkey is handled at the Windows level and has nothing to do with your program. It's only a way to tell Win. to launch your...
  4. Replies
    5
    Views
    1,291

    One other possible interpretation: He wants to...

    One other possible interpretation:

    He wants to make a hotkey to launch his program from anywhere within windows.

    > You seriously have to word your question better. It's sort of unintelligible...
  5. Replies
    2
    Views
    1,402

    Search Google for big int class and you will get...

    Search Google for big int class and you will get lots of pre-written classes that overload the operators. You can look at these to see where to start. Basically you can store a num of any length in...
  6. Replies
    26
    Views
    3,012

    Here's another math func. ref. ...

    Here's another math func. ref. http://cppreference.com/stdmath.html
  7. Replies
    6
    Views
    967

    Yikes! Thanks Prelude, I must return to active...

    Yikes! Thanks Prelude, I must return to active coding.... Seeing lots of php recently hasn't helped either.
  8. Replies
    6
    Views
    967

    Maybe something like this... not very pretty...

    Maybe something like this... not very pretty either


    switch(int(option)){
    case: 80 // P
    case: 71 // G
    case: 68 // D
    case: 70 // F
    case: 84 // T
    case: 87 // W
  9. Replies
    6
    Views
    967

    if (option != 'P' && option != 'G' && option !=...

    if (option != 'P' && option != 'G' && option != 'D'
    && option != 'F' && option != 'T' && option != 'W'
    && option != 'Q')

    cout << "\a\n *** ATTENTION *** Use Selections:";
    cout...
  10. Replies
    9
    Views
    848

    Sorry, I replied before your edit adding the 2nd...

    Sorry, I replied before your edit adding the 2nd and 3rd alternatives.



    Hence my quotes around the word bad.



    I cannot argue here.
  11. Replies
    9
    Views
    848

    > if(x < 0) x = -x; Ok, you win.

    > if(x < 0) x = -x;

    Ok, you win.
  12. Replies
    9
    Views
    848

    >>if(x < 0) x = x * -1; >#include >x =...

    >>if(x < 0) x = x * -1;
    >#include <cmath>
    >x = abs(x);

    I vote for one fewer include.

    >Do squares of unreal numbers really count as perfect squares?

    A program can react in different ways...
  13. Replies
    9
    Views
    848

    Or if you want to automatically change negative...

    Or if you want to automatically change negative numbers to positive and continue...


    if(x < 0) x = x * -1;

    -d-
  14. Replies
    20
    Views
    1,682

    Welcome to the forums bcianfrocca, As far as...

    Welcome to the forums bcianfrocca, As far as doing h/w, cīmon, you really need to give it a try, and when you run into a problem then ask a specific question. Hey, if you really want to be a...
  15. Most likely you're not handling WM_CLOSE and...

    Most likely you're not handling WM_CLOSE and WM_DESTROY correctly:


    case WM_CLOSE:
    DestroyWindow(hWndYourWindow);
    break;

    case WM_DESTROY:
    PostQuitMessage(0);
    ...
  16. Replies
    3
    Views
    3,020

    >a background process that would intercept...

    >a background process that would intercept keyboard input
    search the board for keyboard hook

    A suggestion. Consider using the WIN32 APIs to set some system accelerators for the keys you want to...
  17. Replies
    7
    Views
    5,420

    Well I have changed the Search by name function...

    Well I have changed the Search by name function to walk through every element in the map and search each individual name. I still think there has got to be a better way, maybe some kind of...
  18. Replies
    7
    Views
    5,420

    Thank you both for your replies. I looked at the...

    Thank you both for your replies. I looked at the dinkumware site and I like their reference material- quite comprehensive. As far as your code jlou, I should have come back here sooner- I worked...
  19. Replies
    7
    Views
    5,420

    I see a ray of hope with multimap's member...

    I see a ray of hope with multimap's member functions lower_bound upper_bound and equal_range for finding multiple elements with the same key. I am still looking for some ideas on how to search...
  20. Replies
    6
    Views
    2,557

    so in other words send your kb_events to do this:...

    so in other words send your kb_events to do this:
    1. Depress Shift key
    2. Depress A key
    3. Release A key
    4. Release Shift key
  21. Replies
    7
    Views
    5,420

    STL multimaps / searching

    I've just bought an STL tutorial book, and going though it has been lots of fun, but I have some questions that I haven't been able to answer with the book or researching on the net. I've created a...
  22. Replies
    7
    Views
    955

    Should we assume you are outputting the text to a...

    Should we assume you are outputting the text to a console window and your target OS is MS Windows? [maybe you should tell us]
  23. Replies
    6
    Views
    4,670

    Well, maybe there's something special about a...

    Well, maybe there's something special about a "clone" function that I havn't heard of, but if you want to be able to copy an instance of a class then I suggest searching the board & google for...
  24. Replies
    2
    Views
    1,238

    ::begin ominous voice You don't want to write...

    ::begin ominous voice

    You don't want to write this program. You want to search for some freeware that will beautify C/C++ code.

    ::end ominous voice
  25. Replies
    19
    Views
    2,140

    If no one has mentioned it, make sure you're...

    If no one has mentioned it, make sure you're compiling for a console program. In DevC++, Projects -> Project Options Make sure
    1) the "Compile C++" box is checked
    2) the "Do not create a...
Results 1 to 25 of 119
Page 1 of 5 1 2 3 4