Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // ConsoleApplication4.cpp : This file contains the 'main' function. Program execution begins and ends there.
- //
- #pragma once
- #include "pch.h"
- #include <iostream>
- using namespace std;
- #include "cComplex.h"
- #include "Complex.h"
- int main()
- {
- cComplex c;
- cComplex a;
- cComplex x(4, 4);
- x.print();
- a.print();
- a = 3;
- a.print();
- a += x;
- a.print();
- c = a + x;
- a.print();Q
- c.print();
- c = c + a;
- c.print();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement