{"id":18924086,"url":"https://github.com/gonglei007/cpp-bugs-killer","last_synced_at":"2025-06-10T17:05:01.019Z","repository":{"id":65477962,"uuid":"563265226","full_name":"gonglei007/cpp-bugs-killer","owner":"gonglei007","description":"程序员们一起来找茬，通过分析代码bug来熟悉C++语言的特性。","archived":false,"fork":false,"pushed_at":"2023-02-19T03:24:18.000Z","size":906,"stargazers_count":49,"open_issues_count":0,"forks_count":6,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-03-28T21:12:34.675Z","etag":null,"topics":["bug","coding","cpp","cpp-programming","programming","programming-exercises"],"latest_commit_sha":null,"homepage":"","language":"Roff","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gonglei007.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-11-08T08:54:38.000Z","updated_at":"2025-03-03T03:39:39.000Z","dependencies_parsed_at":"2023-02-14T05:46:16.653Z","dependency_job_id":null,"html_url":"https://github.com/gonglei007/cpp-bugs-killer","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/gonglei007%2Fcpp-bugs-killer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gonglei007%2Fcpp-bugs-killer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gonglei007%2Fcpp-bugs-killer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gonglei007%2Fcpp-bugs-killer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gonglei007","download_url":"https://codeload.github.com/gonglei007/cpp-bugs-killer/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249072425,"owners_count":21208183,"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":["bug","coding","cpp","cpp-programming","programming","programming-exercises"],"created_at":"2024-11-08T11:05:36.366Z","updated_at":"2025-04-15T12:32:21.364Z","avatar_url":"https://github.com/gonglei007.png","language":"Roff","readme":"# C++找Bug训练\n\u003e C++训练，提供了一些C++测试代码，通过分析其中的bug，来了解C++语言的一些特性。\n\n![概要](./exports/C++找Bug训练.png?raw=true)\n\n## 详细内容\n* [Bug101 - 数组尺寸](./mds/bugs/bug101.md)\n* [Bug102 - 整数除法问题](./mds/bugs/bug102.md)\n* [Bug401 - 数组越界](./mds/bugs/bug102.md)\n* [Bug403 - 清空结构内存](./mds/bugs/bug403.md)\n* [Bug542 - 指定长度的整形数](./mds/bugs/bug542.md)\n* [Bug602 - 注释使用](./mds/bugs/bug602.md)\n* [Bug604 - 宏的使用](./mds/bugs/bug604.md)\n* [更多C++找bug训练](https://github.com/gonglei007/cpp-bugs-killer/blob/main/mds/C++找bug训练.md) - TODO: 整理并分开列出每个bug问题。\n* [更多C++常见问题](https://github.com/gonglei007/cpp-bugs-killer/blob/main/mds/C++常见问题.md) - 比如野指针、内存对齐。\n\n## 快捷测试\n\u003e 可以把main.cpp文件中的代码复制到OnlineGDB中运行测试。\n\u003e [Online GDB](https://www.onlinegdb.com/online_c++_compiler) - 是一个C++在线编译调试工具。\n\n## 交流讨论\n欢迎进群、进讨论区交流。\n\n|  |  |\n| --- | -------- |\n| QQ群: | 242500383 [![GLTOP游戏研发与技术1群](https://pub.idqqimg.com/wpa/images/group.png)](https://qm.qq.com/cgi-bin/qm/qr?k=fy4Z65nE-5Jd1ay8FkJpDc9iPJyW3d38\u0026jump_from=webapi) |\n\n\u003cbr/\u003e\n\n## 拓展阅读\n* [更多C++相关](https://github.com/gonglei007/GameDevMind/blob/main/mds/1.1.2.C++语言.md) - C++语言的一些特性。\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgonglei007%2Fcpp-bugs-killer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgonglei007%2Fcpp-bugs-killer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgonglei007%2Fcpp-bugs-killer/lists"}