Showing results for September 2008 - Page 4 of 4 - The Old New Thing

Sep 2, 2008
0
0

Tales from the interview: Can you rotate this two-dimensional array?

Raymond Chen
Raymond Chen

My colleague jeffdav told me about one job interview with a graduating college senior that didn't go well because the candidate simply gave up. He offered a simple programming task: Write a function that takes a 4×4 two-dimensional array and rotates it clockwise by 90 degrees. For example, the entry in the upper left corner of the ar...

Other
Sep 1, 2008
0
0

It helps if you write a cover letter and remember the name of your interviewer

Raymond Chen
Raymond Chen

It's not a big thing, but it shows that you have your act together and does a lot towards distinguishing you from everybody else. A story of the importance of writing a cover letter and remembering the name of your interviewer. (Then again, what do I know. JobsBlog probably is a better source for this type of info. Earlier this year, Angela McL...

Non-Computer
Sep 1, 2008
0
0

How do I convert an error code to text when FORMAT_MESSAGE_FROM_SYSTEM doesn’t work?

Raymond Chen
Raymond Chen

For the same reason that not all error codes are defined in , not all error strings are defined in the system message table. If you've ever played with the message compiler, you'd quickly have recognized the file as the header file associated with a message resource. In other words, there's a file that gets processed by the message compiler, an...

Code