std::cerr not formatting properly?

I'm following this tutorial:

https://www.learncpp.com/cpp-tutorial/basic-debugging-tactics/

The output at the end of section Debugging tactic #2: Validating your code flow is supposed to be: 

main() called
getValue() called
4

but in CLion I am seeing:

4main() called
getValue() called
0

Hello!

On what OS do you use CLion? Is it Windows?

0

请先登录再写评论。