May 2007

I have decided to make a comparison for file IO operations on Win32, CRT, STL and MFC. For all four libraries/APIs I have done the profiling in the following way: open the file allocate the buffer used for reading start the timer read/write from/to the file stop the timer close the file release the memory…

Read More File Read/Write Comparison between Win32, CRT, STL and MFC

Suppose you have the following code:

When running the program, the following window is popped up: When running it in the debugger, a different window is popped up: and the debugger takes you to the line of code that threw the exception. Looking into the output window, you can see something like this: First-chance…

Read More Debugging and Exception Handling