Find Jobs
Hire Freelancers

C++ Homeqork problem

$20-25 USD

クローズ
投稿日: 17年近く前

$20-25 USD

完了時にお支払い
Hello, I just need a quick program for a beginning C++ class; so I'm hoping someone out there could whip this out rather quickly and cheaply. I don't know what the exact flavor of C++ we use, so please make sure that your code utilizes only the most standard headers & libraries. I need a C++ program that does all of the following: Design class Complex for working with complex numbers of the form a + bi, where i is the square root of -1. Your class must have two overloaded operators for adding and subtracting the complex numbers. The sum and the difference of two complex numbers a + bi and c + di is defined as (a+c) + (b+d)i (respectively, (a-c) + (b-d)i). The operators must throw exceptions in places where an integer overflow might occur. To check for an integer overflow, compare one of the numbers to add or subtract with the maximum (resp. minimum) integer representable in 4 bytes BEFORE the corresponding operation. Also, write a main method that demonstrates handling of the exceptions by printing warnings to the user. Name the source file **[login to view URL]** ## Deliverables 1) Complete and fully-functional working program in C++ (.cpp extension); that includes the complete source code. ## Platform this should be made for C++ running on a Linux server. However, as long its in standard C++, I can compile it for our setup later.
プロジェクト ID: 2969419

プロジェクトについて

40個の提案
リモートプロジェクト
アクティブ 17年前

お金を稼ぎたいですか?

Freelancerで入札する利点

予算と期間を設定してください
仕事で報酬を得る
提案をご説明ください
登録して仕事に入札するのは無料です
この仕事に40人のフリーランサーが、平均$14 USDで入札しています
ユーザーアバター
See private message.
$7.65 USD 1日以内
4.9 (183 レビュー)
6.7
6.7
ユーザーアバター
See private message.
$12.75 USD 1日以内
5.0 (143 レビュー)
6.2
6.2
ユーザーアバター
See private message.
$21.25 USD 1日以内
4.9 (121 レビュー)
6.3
6.3
ユーザーアバター
See private message.
$17 USD 1日以内
5.0 (171 レビュー)
6.3
6.3
ユーザーアバター
See private message.
$17 USD 1日以内
5.0 (120 レビュー)
5.6
5.6
ユーザーアバター
See private message.
$21.25 USD 1日以内
5.0 (20 レビュー)
5.0
5.0
ユーザーアバター
See private message.
$4.25 USD 1日以内
4.8 (41 レビュー)
4.8
4.8
ユーザーアバター
See private message.
$12.75 USD 1日以内
5.0 (11 レビュー)
4.3
4.3
ユーザーアバター
See private message.
$17 USD 1日以内
4.9 (17 レビュー)
4.0
4.0
ユーザーアバター
See private message.
$6.80 USD 1日以内
5.0 (34 レビュー)
4.0
4.0
ユーザーアバター
See private message.
$21.25 USD 1日以内
4.9 (18 レビュー)
3.9
3.9
ユーザーアバター
See private message.
$17 USD 1日以内
4.7 (8 レビュー)
3.4
3.4
ユーザーアバター
See private message.
$19.55 USD 1日以内
4.7 (8 レビュー)
2.8
2.8
ユーザーアバター
See private message.
$17 USD 1日以内
5.0 (6 レビュー)
2.6
2.6
ユーザーアバター
See private message.
$12.75 USD 1日以内
5.0 (6 レビュー)
2.3
2.3
ユーザーアバター
See private message.
$17 USD 1日以内
4.9 (9 レビュー)
2.1
2.1
ユーザーアバター
See private message.
$12.75 USD 1日以内
4.9 (10 レビュー)
1.9
1.9
ユーザーアバター
See private message.
$4.25 USD 1日以内
4.5 (1 レビュー)
1.8
1.8
ユーザーアバター
See private message.
$17 USD 1日以内
5.0 (3 レビュー)
1.3
1.3
ユーザーアバター
See private message.
$21.25 USD 1日以内
5.0 (5 レビュー)
1.3
1.3

クライアントについて

UNITED STATESのフラグ
Willmar, United States
0.0
0
メンバー登録日:5月 16, 2007

クライアント確認

ありがとうございます!無料クレジットを受け取るリンクをメールしました。
メールを送信中に問題が発生しました。もう一度お試しください。
登録ユーザー 投稿された仕事の合計
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
プレビューを読み込み中
位置情報へのアクセスが許可されました。
あなたのログインセッションの有効期限がきれ、ログアウトされました。もう一度ログインしてください。