Intel® C++ Compiler
Community support and assistance for creating C++ code that runs on platforms based on Intel® processors.
7956 Discussions

printing out a complex_num gives me segmentation fault

bluekite2000
Beginner
307 Views
I have

#include
#include
typedef std::complex ComplexSingle;
int main(void)
{
ComplexSingle a(2,3);
std::cout a;

return 1;
}

This works fine w/ g++ not icc. What is going on?
0 Kudos
0 Replies
Reply