Search:

Type: Posts; User: deadlocklegend

Search: Search took 0.01 seconds.

  1. Well, that's the beauty of DHCP and free access...

    Well, that's the beauty of DHCP and free access to internet in placs like school campus and Internet cafe and Starbucks
  2. Replies
    7
    Views
    2,386

    the previous was my post. And what happens if...

    the previous was my post. And what happens if user adjust window time to year 2050. then your program will act really funny...:cool:
  3. Replies
    3
    Views
    1,416

    if you code in VC++, use the _tcslen(), _tcs is...

    if you code in VC++, use the _tcslen(), _tcs is basically a substitute, when compiled in ANSI, it gets translated to strlen(), if compiled in unicode, it gets translated to wstrlen()
  4. Replies
    7
    Views
    2,386

    I am sorry to say, using time_t is poor...

    I am sorry to say, using time_t is poor programming. time_t is 32-bit long, therefore, it only supports up to year 2038, and it does not support daylight saving time. You will kick yourself in the...
  5. Replies
    2
    Views
    3,133

    in visual c++ for __int64 usesomething like ...

    in visual c++ for __int64 usesomething like

    __int64 a=10;
    char buff[256];

    sprintf(buff, "%I64u", a);
    ............

    and there you go, should you want to use cout, then overload the <<...
  6. Replies
    3
    Views
    5,506

    of course you can have multiple console. However...

    of course you can have multiple console. However each thread/process can only have one console attached to it. Therefore, you create a few threads for each of your drawing, and each of them can do...
  7. How to get the correct handle to the desktop?

    I have a c++ program where it became necessary to attach an icon to the taskbar and I use GetDesktopWindow() to get the CWnd. However, when the program is launched from within a service during the...
Results 1 to 7 of 7