It shows the prompt and result on my machine. Have you got the monitor turned on?
Depending on your IDE and the way you have set it up - codeblocks, VS, Xcode etc - the reason you now have a blank screen is possibly also because you need to run the exe file in the console.
ConEmu is (apparently, I had to look it up) a Windows terminal emulator. Why do you need to use it? Terminal emulators often don't run with all the native programs for their operating systems.
If you are running on a Windows system, just use the standard command line.
If you are on linux, use a normal shell.
If you are on an iPad ... don't bother.
Which compiler are you using? Are you compiling within the same environment as you are trying to run the program? (For example, if you compiled within codeblocks or VisualStudio and then tried to run from outside these suites you may, by default, load different run-time libraries.)
As kemort pointed out, you can test (and edit, then test) your code in the shell which appears in the top RH corner for any code enclosed in code tags. Even when I turned on the most pedantic warnings and dropped to the oldest C++ standard it would compile and run your original code with and without any occurrence of parent_count.