Clion Doesn't Show the Correct Output in C++ (Image Attached)

Answered

It's clearly not the desired output. The space after the ":" moved down. I tried ignoring it at first but it messes up the output in all of my codes. Is this a bug?  

Other compilers give the correct output:

It's not a big deal but it's quite annoying. I don't want to use VS2019 because I like the CLion shortcuts more. Is there any solution to this?

3 comments
Comment actions Permalink

Hello!

Sorry for the inconvenience. It's https://youtrack.jetbrains.com/issue/CPP-17579. Feel free to comment or upvote the issue in order to get updates. See https://intellij-support.jetbrains.com/hc/en-us/articles/207241135-How-to-follow-YouTrack-issues-and-receive-notifications if you are not familiar with YouTrack.

Do you use MinGW? As a workaround you can switch to Cygwin.

1
Comment actions Permalink

The Visual Studio toolchain also has the same problem. Alright I'll use Cygwin, thanks.

0
Comment actions Permalink

Thanks for the information! I'll add it to the issue.

0

Please sign in to leave a comment.