Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

7
  • 2
    Welcome to Stack Overflow. Please take the time to read The Tour and refer to the material from the Help Center what and how you can ask here. Commented Mar 13, 2017 at 1:42
  • 3
    The right tool to solve such problems is your debugger. You should step through your code line-by-line before asking on Stack Overflow. For more help, please read How to debug small programs (by Eric Lippert). At a minimum, you should [edit] your question to include a Minimal, Complete, and Verifiable example that reproduces your problem, along with the observations you made in the debugger. Commented Mar 13, 2017 at 1:43
  • 2
    Perhaps read about Sequence Points. Commented Mar 13, 2017 at 1:48
  • @πάνταῥεῖ It does contain a MCVE. Commented Mar 13, 2017 at 1:59
  • @M.M Well, that's a stock comment, including the possibility the OP missed that. I still see no debugging effort s in the question though. Commented Mar 13, 2017 at 2:05