+ 5

What all should be there in a Complex Number Class in C++?

I have created a Complex Number Class in my program Complex Class - A New Approach... But, I am unable to understand what all to add... I have added basic functions, but want it to be useful for even math students... Can anyone suggest me if it needs something else??

28th Mar 2017, 4:02 PM
Solo Wanderer 4315
Solo Wanderer 4315 - avatar
1 Answer
+ 1
Take a look at the functionality included in the complex number implementation by the standard library: http://en.cppreference.com/w/cpp/numeric/complex
29th Mar 2017, 1:49 PM
Igor B
Igor B - avatar