Thank you all guys, GetAsyncKeyState solves my probelm 劍客 賈島 十年磨一劍, 霜刃未曾試。 今日把示君, 誰有不平事?
simon wan
Posts
-
How to respond VK_LEFT and VK_DOWN at the same time? -
How to respond VK_LEFT and VK_DOWN at the same time?I want to respond the message VK_LEFT and VK_DOWN at the same time so I can move a object to the buttom-left coner, and I don't want to use DirectInput, is there some way to make that, please? 劍客 賈島 十年磨一劍, 霜刃未曾試。 今日把示君, 誰有不平事?
-
free memorysay free!free!free! 劍客 賈島 十年磨一劍, 霜刃未曾試。 今日把示君, 誰有不平事?
-
about "delete"...... char* p= new char[100]; ... //should I use // delete p; //or // delete[] p;
-
What Sound Software to Split an MP3 Audio FileMP3 Splitter & Joiner http://www.ezsoftmagic.com
-
Depressed ...how lucky you are. I had the similar situation years ago, but I just kept that feeling in my heart never told her, and then we went to different cities. and again, I saw her in a party last new year, she's pregnant, and she found me when I was looking at her, she walked to me and smiled, she asked "does I look different? the bully" . for a moment I couldn't say a word, I just smiled and at last I got something to say " yes, different. more beautiful now". she smiled, said "that's nice" , and then walked away. yeah, really nice.
-
Depressed ...god, I did the same thing when I was a kid. now, I think that's ... nice
-
CStringExample The following example demonstrates the use of CString::operator +. // example for CString::operator + CString s1( "abc" ); CString s2( "def" ); ASSERT( (s1 + s2 ) == "abcdef" ); CString s3; s3 = CString( "abc" ) + "def" ; // Correct s3 = "abc" + "def"; // Wrong! The first argument must be a CString.
-
who can tell me WHY?its output is 47, why? #include "stdafx.h" #include class base { int i; public: base(base&){} base(int I=0):i(I){} virtual int sum(){return i;} }; class derived:public base { int j; public: derived(derived&){} derived(int I=0, int J=0):base(I),j(J){} int sum(){return base::sum()+j;} }; void call(base b) { cout<