Find Jobs
Hire Freelancers

C++ Exercise

€8-30 EUR

完了済み
投稿日: 約10年前

€8-30 EUR

完了時にお支払い
Develop the function char ** indexedKeysAndOPerators (const char * fName) with the following specifications : The fName parameter represents the path + name of a source file C + +. The return value represents an array of null terminated strings. For each katholiko1 The string produced for each ledger block insertion code will call the representation of keys . block of source code fName there is an element in the table return . The element is formed from the keywords and the operators of the respective blocks as follows : Each keyword (keyword) and / or operator (operator) encountered in block numbered and inserted numbered sto string. Different keywords and / or operators have a different numbering . Also , the numbers are different for each block . For example: #include <iostream> #include <fstream> using namespace std ; void displayFile (const char * fName ) { ifstream in; [login to view URL] (fName ); if (!in.is_open ()) { cout << fName << " not opened" << endl ; return; } char buffer [1024 ]; while (![login to view URL] ()) { [login to view URL] (buffer , sizeof (buffer )); cout << buffer << '\n' ; } [login to view URL] (); } int main (){ displayFile ("[login to view URL]" ); return 0; } The code above has 2 universal block: body displayFile (yellow area) and the body of main (green area). Therefore, the key representation for the yellow and green blocks are respectively as follows: The yellow area have keywords as follows: 1 char, 2 cout, 1 endl, 1 if, 1 while and operands: 1 [, 3 (), 5., 2!, 1 return and 5 (. • Similarly, in the green region have keywords as follows: 1 return and operators: 1. 1 (. Accordingly, indexedKeysAndOPerators will return an array of size 2 to be contains the following strings. char1, cout1, cout2, endl1, if1, return1, while 1, [1, () 1, () 2, () 3,! 1,! 2, (1, (2, (3, (4, (5 , .1, .2, .3, .4, .5 return1, (1, .1 Add a main that takes as a parameter the name of a source code C + + and will print on the screen the result of indexedKeysAndOPerators. A list of keywords and operators given file keywords.txt. The series of keywords and operators can be changed in [login to view URL] if deemed that facilitate the implementation of indexedKeysAndOPerators. The work will be organized as a Code :: Blocks project.
プロジェクト ID: 5875931

プロジェクトについて

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

お金を稼ぎたいですか?

Freelancerで入札する利点

予算と期間を設定してください
仕事で報酬を得る
提案をご説明ください
登録して仕事に入札するのは無料です
アワード者:
ユーザーアバター
I am very good in C programming and I will satisfy all your requirement. I won many events on C programming. I am regular member of CodeProject. I usually take part in CodeChef events.
€10 EUR 1日以内
5.0 (1 レビュー)
0.0
0.0
この仕事に6人のフリーランサーが、平均€29 EURで入札しています
ユーザーアバター
Hi, I am C++ expert and can surely help you here with this project. I have a lot of experience in helping students with their assignments and tutoring. Please communicate to discuss further. Thank you. Regards Anshu
€53 EUR 3日以内
4.7 (196 レビュー)
6.5
6.5
ユーザーアバター
very easy task I will deliver you the code in 5 hours. I am experienced c++ programmer with 5 years of experience. Please let me help you. For any further information contact me.
€27 EUR 0日以内
5.0 (8 レビュー)
3.5
3.5
ユーザーアバター
Hi, I am a graduate in CS and working as a C++ programmer for 3+ years. I have done lots of assignments both in academic courses and in freelancer.com. I assure you of clean, efficient code with proper comment and documentation. thanks
€39 EUR 1日以内
4.3 (19 レビュー)
4.2
4.2
ユーザーアバター
一个有效的提议尚未被提供
€20 EUR 3日以内
0.0 (0 レビュー)
0.0
0.0
ユーザーアバター
Will developed code with in given time with efficient code.I am hands on C++ and had done some more complex code already.
€24 EUR 1日以内
0.0 (0 レビュー)
0.0
0.0

クライアントについて

GREECEのフラグ
Patra, Greece
5.0
19
お支払い方法確認済み
メンバー登録日:4月 29, 2014

クライアント確認

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