Okay I normally program in c++ but the book I use to learn win32 is written in c. I've come across a couple of line that i don't understand, can someone please explain these to me.
The first one is:
basically the only one that gets me is the i length = statment.Code:int iLength; TCHAR szBuffer[40]; iLength = (szBuffer, TEXT("The sum of %i and %i is %i"), //i really don't get the %i part iA, iB, iA + iB); TextOut(hdc, x, y, szBuffer, iLength);
The other one is
Thanks for any help.Code:wsprintf(szBuffer, TEXT("%5d"), //i don't get the %5d part



LinkBack URL
About LinkBacks


