Quantcast
Channel: Active questions tagged gcc - Stack Overflow
Viewing all articles
Browse latest Browse all 22016

Segmentation fault while using cout

$
0
0

I have a very strange issue. I'm seeing a segmentation fault while using COUT to print an int. below is the code.

#include <iostream>int main(){    std::cout << "Hello"<<std::endl;    std::cout << 999.8;    return 0;}

I'm using MinGW (GCC 9.2.0)

I'm able to see the number printed to the Clion debug console. However, I cannot see it in the Clion's terminal. Clion terminal output

Clion debug console output


Viewing all articles
Browse latest Browse all 22016

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>