User profile: andywestken

User info
User name:andywestken
Name:Andy
Location:West Kensington, London, UK
Bio:C++/Windows Software Developer

Core skills : C++/STL/Boost; Visual Studio 2012; WinAPI (up to Windows 7: learning Windows 8); MFC; COM/DCOM/ActiveX; ATL/WTL; XML/XSD; Expat/MSXML; OOA/D; UML; Perforce, SVN, Git; ...

Other skills : Python; C#; JavaScript; VB.NET, VB6, ADO; SQL; ADSI, LDAP; WinSock; BoundsChecker, TrueTime, TrueCoverage; ...

And long ago : (Minnesota) Fortran, (Borland) Pascal, Prolog, and (BBC) BASIC
Statistical data
Birthdate:Oct 24, 1964
Gender:Male
Occupation:Programmer
Skills:C
C++
C++/MFC
C++/ATL
C#
Javascript
Python
History
Joined:
Number of posts:4007
Latest posts:

If statement
@gentleguy the rule you mention holds for pretend Booleans like the WinSDK BOOL type, which is typed...

manipulate input device
You have only queued one key down event and then, five seconds later, one key up event. SendInput()...

SORTING HELP
keskiverto's suggestion, to use the shuffle algorithm (or maybe the older random_shuffle), would be ...

Variables Not Properly Changing Value
Even if you keep the goto, there's no need to repeat it in every if-else block. You could have just ...

Address of array data type?
If you compile C++, you can get the compiler to tell you the type. Andy Output when compiled using...