{"id":20697241,"url":"https://github.com/tsnsoft/cppapplication-linux","last_synced_at":"2026-04-18T23:03:01.182Z","repository":{"id":119295835,"uuid":"210896889","full_name":"tsnsoft/CppApplication-linux","owner":"tsnsoft","description":"Пример простейшей программы на C++ в NetBeans для платформы linux","archived":false,"fork":false,"pushed_at":"2019-11-29T06:08:57.000Z","size":192,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-17T18:32:30.730Z","etag":null,"topics":["cpp","example","gcc","linux","netbeans"],"latest_commit_sha":null,"homepage":"","language":"Makefile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tsnsoft.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-09-25T16:58:58.000Z","updated_at":"2021-01-13T04:23:37.000Z","dependencies_parsed_at":"2023-12-27T21:45:11.422Z","dependency_job_id":null,"html_url":"https://github.com/tsnsoft/CppApplication-linux","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/tsnsoft%2FCppApplication-linux","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsnsoft%2FCppApplication-linux/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsnsoft%2FCppApplication-linux/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsnsoft%2FCppApplication-linux/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tsnsoft","download_url":"https://codeload.github.com/tsnsoft/CppApplication-linux/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242961747,"owners_count":20213315,"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":["cpp","example","gcc","linux","netbeans"],"created_at":"2024-11-17T00:17:16.584Z","updated_at":"2026-04-18T23:03:01.082Z","avatar_url":"https://github.com/tsnsoft.png","language":"Makefile","readme":"# CppApplication(linux)\nПример простейшей программы на C++ в NetBeans для платформы linux\n\n![screenshot](screenshot.png)\n\n![screenshot](gcc.png)\n\nУстановка C, C++ в Linux:\n```\nsudo apt-get install build-essential\nsudo apt-get install gdb\n```\n\n# Код программы:\n```\n#include \u003cstdio.h\u003e /* Стандартный заголовочный файл ввода-вывода */\n#include \u003ciostream\u003e /* Библиотека (стандарт) */\n#include \u003clocale.h\u003e /* Русификатор */\n\nusing namespace std;\n\nint main(int argc, char* argv[]) {\n    setlocale(LC_CTYPE, \"Russian\");\n    double plus, minus, pow, div; // объявление переменных через запятую\n    double a1; // отдельное объявление переменной a1\n    double a2; // отдельное объявление переменной a2\n    cout \u003c\u003c \"Введите первое число: \";\n    cin \u003e\u003e a1;\n    cout \u003c\u003c \"Введите второе число: \";\n    cin \u003e\u003e a2;\n    plus = a1 + a2; // операция сложения\n    minus = a1 - a2; // операция вычитания\n    pow = a1 * a2; // операция умножения\n    div = a1 / a2; // операция деления\n    cout \u003c\u003c a1 \u003c\u003c \"+\" \u003c\u003c a2 \u003c\u003c \"=\" \u003c\u003c plus \u003c\u003c endl;\n    cout \u003c\u003c a1 \u003c\u003c \"-\" \u003c\u003c a2 \u003c\u003c \"=\" \u003c\u003c minus \u003c\u003c endl;\n    cout \u003c\u003c a1 \u003c\u003c \"*\" \u003c\u003c a2 \u003c\u003c \"=\" \u003c\u003c pow \u003c\u003c endl;\n    cout \u003c\u003c a1 \u003c\u003c \"/\" \u003c\u003c a2 \u003c\u003c \"=\" \u003c\u003c div \u003c\u003c endl;\n    return 0;\n}\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftsnsoft%2Fcppapplication-linux","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftsnsoft%2Fcppapplication-linux","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftsnsoft%2Fcppapplication-linux/lists"}