Overloading:Complex Arithmetic - Online Code

Description

Program for Overloading the Difference Operator for Complex Arithmetic.

Source Code

#include<iostream.h>

#include<conio.h>



class complex

{

float real;

float img;

public:

	complex()

	{

	real = 0; img = 0;

	}

	complex(float a,float b)

	{

	real  =a ; img = b;

	}

	compl
... (login or register to view full code)

To view full code, you must Login or Register, its FREE.

Hey, registering yourself just takes less than a minute and opens up a whole new GetGyan experience.




Comments

No comment yet. Be the first to post a comment.