{"id":20697240,"url":"https://github.com/tsnsoft/cppapplication-windows","last_synced_at":"2026-04-21T00:05:36.645Z","repository":{"id":119295841,"uuid":"211489566","full_name":"tsnsoft/CppApplication-windows","owner":"tsnsoft","description":"Пример простейшей программы на C++ в NetBeans для платформы Windows (Cygwin)","archived":false,"fork":false,"pushed_at":"2020-08-30T05:10:46.000Z","size":4144,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-17T18:32:32.659Z","etag":null,"topics":["cpp","cygwin","example","netbeans","windows"],"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-28T11:24:54.000Z","updated_at":"2021-01-13T04:20:15.000Z","dependencies_parsed_at":null,"dependency_job_id":"718138ea-a5ab-442a-ac65-b6839547abc1","html_url":"https://github.com/tsnsoft/CppApplication-windows","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-windows","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsnsoft%2FCppApplication-windows/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsnsoft%2FCppApplication-windows/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsnsoft%2FCppApplication-windows/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tsnsoft","download_url":"https://codeload.github.com/tsnsoft/CppApplication-windows/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","cygwin","example","netbeans","windows"],"created_at":"2024-11-17T00:17:16.079Z","updated_at":"2025-12-12T11:16:00.359Z","avatar_url":"https://github.com/tsnsoft.png","language":"Makefile","readme":"# CppApplication(windows)\nПример простейшей программы на C++ в NetBeans для платформы Windows (Cygwin)\n\n![screenshot](screenshot1.png)\n\n![screenshot](screenshot2.png)\n\n# Код программы:\n\n```\n#include \u003cstdio.h\u003e /* Стандартный заголовочный файл ввода-вывода */\n#include \u003ciostream\u003e /* Библиотека (стандарт) */\n#include \u003clocale.h\u003e /* Русификатор */\n#include \u003cwindows.h\u003e /* Средства ОС */\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    system(\"pause\");\n    return 0;\n}\n\n```\n\n![screenshot](screenshot3.png)\n\nP.S. Installing and Updating Cygwin for 64-bit versions of Windows: https://cygwin.com/install.html\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftsnsoft%2Fcppapplication-windows","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftsnsoft%2Fcppapplication-windows","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftsnsoft%2Fcppapplication-windows/lists"}