I don't actually have the "cout" statement in my code... it was there just as a generic line of code. So my code does actually compile . Put anything you want there... the point I was trying to illustrate is that it simply doesn't ever get there. I put break points, try to pop up message dialogs, etc. so I know it does not actually execute... thx.