{"id":13782865,"url":"https://github.com/sluchin/calc","last_synced_at":"2025-05-11T16:33:18.578Z","repository":{"id":150351570,"uuid":"2261007","full_name":"sluchin/calc","owner":"sluchin","description":"client server calculator interpreter","archived":false,"fork":false,"pushed_at":"2018-06-18T18:15:58.000Z","size":426,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-08-03T18:16:56.375Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sluchin.png","metadata":{"files":{"readme":"README","changelog":null,"contributing":null,"funding":null,"license":"COPYING","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2011-08-24T10:57:25.000Z","updated_at":"2018-06-18T18:15:59.000Z","dependencies_parsed_at":null,"dependency_job_id":"48b71a6d-b6c4-41ce-b846-6204b8d2df85","html_url":"https://github.com/sluchin/calc","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sluchin%2Fcalc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sluchin%2Fcalc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sluchin%2Fcalc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sluchin%2Fcalc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sluchin","download_url":"https://codeload.github.com/sluchin/calc/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253595991,"owners_count":21933489,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-03T18:01:46.585Z","updated_at":"2025-05-11T16:33:18.319Z","avatar_url":"https://github.com/sluchin.png","language":"C","funding_links":[],"categories":["C"],"sub_categories":[],"readme":"開発環境\n Ubuntu 11.10\n Linux 3.0.0-15-generic-pae #26-Ubuntu SMP\n gcc バージョン 4.6.1 (Ubuntu/Linaro 4.6.1-9ubuntu3)\n GNU Make 3.81\n GNU gdb (Ubuntu/Linaro 7.3-0ubuntu2) 7.3-2011.08\n\n動作確認環境\n Fedora 16 i686 3.1.0-7.fc16.i686 #1 SMP\n Fedora 16 x86_64 3.1.0-7.fc16.x86_64 #1 SMP\n CentOS 6.2 i386 2.6.32-220.el6.i686 #1 SMP\n Debian GNU/Linux 6.0.3 i386 2.6.32-5-686-bigmem\n\nGNU readline インストール\n Ubuntu の場合\n  $ sudo apt-get install libreadline6-dev\n Fedora の場合\n  $ sudo yum install readline-devel\n\nコンパイル\n $ cd calc\n $ make clean all または make clean debug\n\nインストール\n $ sudo make install\n\nクライアントサーバ\n サーバデーモン起動\n $ cd server\n $ ./calcd\n クライアントプログラム起動\n $ cd client\n $ ./calcc\n\nスタンドアロン\n $ cd calc\n $ ./calcp\n\ncutter インストール\n http://cutter.sourceforge.net/reference/ja/install.html\n\nテスト\n cutter ライブラリをインストールし, make clean debug \u0026\u0026 make test コマンドを実行する.\n\nドキュメント生成\n doxygen, graphviz, mscgen をインストールし, make doc コマンドを実行する.\n\nコーディングのコンセプト\n 1. 戻り値を返す関数は必ず戻り値チェックしてログを出力する.\n 2. 戻り値を返す標準関数であえて戻り値をチェックしない場合は, void でキャストする.\n 3. 見映えを揃えるために決まった場所に必ずコメントを入れる.\n 4. エラーハンドラでは, goto 文を積極的に使用する.\n 5. メモリ解放後, NULL を代入する.\n 6. ソケットクローズ後, -1 を代入する.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsluchin%2Fcalc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsluchin%2Fcalc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsluchin%2Fcalc/lists"}