{"id":165157,"date":"2024-05-08T15:10:07","date_gmt":"2024-05-08T07:10:07","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/165157.html"},"modified":"2024-05-08T15:10:12","modified_gmt":"2024-05-08T07:10:12","slug":"linuxc-c-%e7%9a%84%e5%85%b7%e4%bd%93%e5%bc%80%e5%8f%91%e6%b5%81%e7%a8%8b%e6%98%af%e4%bb%80%e4%b9%88","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/165157.html","title":{"rendered":"LinuxC\/C  \u7684\u5177\u4f53\u5f00\u53d1\u6d41\u7a0b\u662f\u4ec0\u4e48"},"content":{"rendered":"<p style=\"text-align:center\"><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/26232146\/12c7be40-7f57-4ed9-a608-7c1864cfe828.webp\" alt=\"LinuxC\/C  \u7684\u5177\u4f53\u5f00\u53d1\u6d41\u7a0b\u662f\u4ec0\u4e48\" \/><\/p>\n<p><p>Linux C\/C++ \u7684\u5177\u4f53\u5f00\u53d1\u6d41\u7a0b\u5305\u62ec\u591a\u4e2a\u5173\u952e\u6b65\u9aa4\uff1a<strong>\u73af\u5883\u642d\u5efa\u3001\u9700\u6c42\u5206\u6790\u3001\u8bbe\u8ba1\u9636\u6bb5\u3001\u7f16\u7801\u5b9e\u73b0\u3001\u7f16\u8bd1\u6784\u5efa\u3001\u8c03\u8bd5\u6d4b\u8bd5\u3001\u6027\u80fd\u4f18\u5316\u4ee5\u53ca\u90e8\u7f72\u4e0a\u7ebf<\/strong>\u3002\u8fd9\u4e9b\u6b65\u9aa4\u76f8\u4e92\u5173\u8054\u3001\u5faa\u73af\u8fed\u4ee3\uff0c\u4ee5\u786e\u4fdd\u8f6f\u4ef6\u7684\u8d28\u91cf\u548c\u6027\u80fd\u3002\u5728\u8fd9\u4e9b\u6b65\u9aa4\u4e2d\uff0c<strong>\u7f16\u7801\u5b9e\u73b0<\/strong>\u5c24\u4e3a\u91cd\u8981\uff0c\u5b83\u5305\u542b\u6838\u5fc3\u7684\u4ee3\u7801\u7f16\u5199\u5de5\u4f5c\uff0c\u9700\u9075\u5faa\u826f\u597d\u7684\u7f16\u7a0b\u89c4\u8303\uff0c\u4ee5\u786e\u4fdd\u4ee3\u7801\u7684\u53ef\u8bfb\u6027\u548c\u53ef\u7ef4\u62a4\u6027\u3002<\/p>\n<\/p>\n<p><p>\u4e00\u3001\u73af\u5883\u642d\u5efa<\/p>\n<\/p>\n<p><p>\u73af\u5883\u642d\u5efa\u662f\u5f00\u53d1\u524d\u7684\u51c6\u5907\u5de5\u4f5c\uff0c\u5b83\u5305\u62ec\u5b89\u88c5Linux\u64cd\u4f5c\u7cfb\u7edf\u3001\u9009\u62e9\u5408\u9002\u7684\u96c6\u6210\u5f00\u53d1\u73af\u5883(IDE)\u3001\u914d\u7f6e\u7f16\u8bd1\u5668\u4ee5\u53ca\u76f8\u5173\u7684\u5f00\u53d1\u5e93\u3002<\/p>\n<\/p>\n<p><p><strong>\u5b89\u88c5\u64cd\u4f5c\u7cfb\u7edf\uff1a<\/strong> \u9009\u62e9\u9002\u5408\u9879\u76ee\u9700\u6c42\u7684Linux\u53d1\u884c\u7248\uff0c\u5982Ubuntu\u3001Fedora\u3001CentOS\u7b49\uff0c\u5e76\u786e\u4fdd\u7cfb\u7edf\u66f4\u65b0\u81f3\u6700\u65b0\uff0c\u4ee5\u4fbf\u5305\u542b\u6700\u8fd1\u7684\u5b89\u5168\u8865\u4e01\u548c\u5e93\u3002<\/p>\n<\/p>\n<p><p><strong>\u96c6\u6210\u5f00\u53d1\u73af\u5883(IDE)\uff1a<\/strong> \u5305\u62ec\u4f46\u4e0d\u9650\u4e8eEclipse\u3001NetBeans\u6216\u662f\u8f7b\u91cf\u7ea7\u7684\u7f16\u8f91\u5668\uff0c\u5982Vim\u3001Emacs\u3002\u786e\u5b9aIDE\u540e\uff0c\u6839\u636e\u9879\u76ee\u7279\u6027\u8fdb\u884c\u76f8\u5e94\u914d\u7f6e\uff0c\u5982\u4ee3\u7801\u98ce\u683c\u3001\u7f16\u8bd1\u9009\u9879\u7b49\u3002<\/p>\n<\/p>\n<p><p>\u4e8c\u3001\u9700\u6c42\u5206\u6790<\/p>\n<\/p>\n<p><p>\u9700\u6c42\u5206\u6790\u9636\u6bb5\u662f\u786e\u5b9a\u8f6f\u4ef6\u9879\u76ee\u76ee\u6807\u548c\u9700\u6c42\u7684\u8fc7\u7a0b\uff0c\u8fd9\u4e00\u8fc7\u7a0b\u5bf9\u4e8e\u540e\u7eed\u5f00\u53d1\u6d41\u7a0b\u81f3\u5173\u91cd\u8981\u3002<\/p>\n<\/p>\n<p><p><strong>\u9700\u6c42\u6536\u96c6\uff1a<\/strong> \u4e0e\u5229\u76ca\u76f8\u5173\u8005\u8fdb\u884c\u5e7f\u6cdb\u7684\u4ea4\u6d41\uff0c\u4e86\u89e3\u4ed6\u4eec\u7684\u9700\u6c42\uff0c\u5e76\u5c06\u8fd9\u4e9b\u9700\u6c42\u6587\u6863\u5316\u3002<\/p>\n<\/p>\n<p><p><strong>\u9700\u6c42\u5206\u6790\uff1a<\/strong> \u6839\u636e\u6536\u96c6\u5230\u7684\u4fe1\u606f\u8bc4\u4f30\u548c\u5206\u6790\u9700\u6c42\u7684\u53ef\u884c\u6027\u3001\u4f18\u5148\u7ea7\u4ee5\u53ca\u5f71\u54cd\uff0c\u5236\u5b9a\u51fa\u5408\u7406\u7684\u5f00\u53d1\u8ba1\u5212\u3002<\/p>\n<\/p>\n<p><p>\u4e09\u3001\u8bbe\u8ba1\u9636\u6bb5<\/p>\n<\/p>\n<p><p>\u5728\u8bbe\u8ba1\u9636\u6bb5\uff0c\u5c06\u6839\u636e\u9700\u6c42\u5206\u6790\u7684\u7ed3\u679c\u6765\u89c4\u5212\u8f6f\u4ef6\u7684\u6574\u4f53\u67b6\u6784\u3001\u7ec4\u4ef6\u8bbe\u8ba1\u4ee5\u53ca\u63a5\u53e3\u89c4\u8303\u3002<\/p>\n<\/p>\n<p><p><strong>\u8f6f\u4ef6\u67b6\u6784\u8bbe\u8ba1\uff1a<\/strong> \u5236\u5b9a\u51fa\u8f6f\u4ef6\u7684\u57fa\u672c\u6846\u67b6\uff0c\u786e\u5b9a\u5404\u90e8\u5206\u4e4b\u95f4\u7684\u5173\u7cfb\u4ee5\u53ca\u901a\u4fe1\u673a\u5236\u3002<\/p>\n<\/p>\n<p><p><strong>\u8be6\u7ec6\u8bbe\u8ba1\uff1a<\/strong> \u7ec6\u5316\u6bcf\u4e2a\u7ec4\u4ef6\u7684\u5177\u4f53\u5b9e\u73b0\uff0c\u5305\u62ec\u6570\u636e\u5e93\u8bbe\u8ba1\u3001\u6a21\u5757\u8bbe\u8ba1\u7b49\uff0c\u5e76\u7ed8\u5236\u76f8\u5e94\u7684\u8bbe\u8ba1\u56fe\u3002<\/p>\n<\/p>\n<p><p>\u56db\u3001\u7f16\u7801\u5b9e\u73b0<\/p>\n<\/p>\n<p><p>\u7f16\u7801\u662f\u5c06\u8bbe\u8ba1\u8f6c\u6362\u6210\u5b9e\u9645\u53ef\u8fd0\u884c\u4ee3\u7801\u7684\u8fc7\u7a0b\u3002<\/p>\n<\/p>\n<p><p><strong>\u7f16\u5199\u4ee3\u7801\uff1a<\/strong> \u6839\u636e\u8bbe\u8ba1\u6587\u6863\u7f16\u5199\u4ee3\u7801\u3002\u5728Linux\u73af\u5883\u4e0b\uff0c\u8fd9\u901a\u5e38\u6d89\u53caC\/C++\u8bed\u8a00\uff0c\u5e76\u52a0\u5165\u5fc5\u8981\u7684\u5e93\u548c\u6a21\u5757\u3002<\/p>\n<\/p>\n<p><p><strong><a href=\"https:\/\/docs.pingcode.com\/code-review\" target=\"_blank\">\u4ee3\u7801\u5ba1\u67e5<\/a>\uff1a<\/strong> \u901a\u8fc7\u4ed6\u4eba\u5ba1\u67e5\u4ee3\u7801\uff0c\u4ee5\u786e\u4fdd\u4ee3\u7801\u7b26\u5408\u4ee3\u7801\u89c4\u8303\u548c\u8bbe\u8ba1\u8981\u6c42\uff0c\u53d1\u73b0\u53ef\u80fd\u7684\u9519\u8bef\u548c\u4f18\u5316\u70b9\u3002<\/p>\n<\/p>\n<p><p>\u4e94\u3001\u7f16\u8bd1\u6784\u5efa<\/p>\n<\/p>\n<p><p>\u5c06\u7f16\u5199\u7684\u4ee3\u7801\u8f6c\u6362\u4e3a\u53ef\u6267\u884c\u6587\u4ef6\u7684\u8fc7\u7a0b\u79f0\u4e3a\u7f16\u8bd1\u6784\u5efa\u3002<\/p>\n<\/p>\n<p><p><strong>\u7f16\u8bd1\u4ee3\u7801\uff1a<\/strong> \u4f7f\u7528\u7f16\u8bd1\u5668\uff0c\u5982GCC\u5bf9\u6e90\u4ee3\u7801\u8fdb\u884c\u7f16\u8bd1\uff0c\u89e3\u51b3\u7f16\u8bd1\u8fc7\u7a0b\u4e2d\u7684\u9519\u8bef\u548c\u8b66\u544a\u3002<\/p>\n<\/p>\n<p><p><strong>\u6784\u5efa\u7cfb\u7edf\uff1a<\/strong> \u8bbe\u7f6e\u81ea\u52a8\u5316\u6784\u5efa\u5de5\u5177\uff0c\u5982Makefile\u3001CMake\u7b49\uff0c\u4ee5\u4fbf\u5728\u540e\u7eed\u80fd\u5feb\u901f\u8fdb\u884c\u6784\u5efa\u3002<\/p>\n<\/p>\n<p><p>\u516d\u3001\u8c03\u8bd5\u6d4b\u8bd5<\/p>\n<\/p>\n<p><p>\u6d4b\u8bd5\u662f\u4fdd\u8bc1\u8f6f\u4ef6\u8d28\u91cf\u4e0d\u53ef\u6216\u7f3a\u7684\u73af\u8282\uff0c\u5b83\u5305\u62ec\u5355\u5143\u6d4b\u8bd5\u3001\u96c6\u6210\u6d4b\u8bd5\u548c\u7cfb\u7edf\u6d4b\u8bd5\u3002<\/p>\n<\/p>\n<p><p><strong>\u5355\u5143\u6d4b\u8bd5\uff1a<\/strong> \u5bf9\u51fd\u6570\u6216\u6a21\u5757\u8fdb\u884c\u9694\u79bb\u6d4b\u8bd5\uff0c\u786e\u4fdd\u5b83\u4eec\u6309\u9884\u671f\u5de5\u4f5c\u3002<\/p>\n<\/p>\n<p><p><strong>\u96c6\u6210\u6d4b\u8bd5\u4e0e\u7cfb\u7edf\u6d4b\u8bd5\uff1a<\/strong> \u5728\u7ec4\u4ef6\u96c6\u5408\u4e4b\u540e\uff0c\u786e\u4fdd\u7ec4\u4ef6\u95f4\u4ea4\u4e92\u6b63\u5e38\uff0c\u5e76\u4e14\u6574\u4e2a\u7cfb\u7edf\u4f5c\u4e3a\u4e00\u4e2a\u5355\u5143\u7b26\u5408\u9700\u6c42\u3002<\/p>\n<\/p>\n<p><p>\u4e03\u3001\u6027\u80fd\u4f18\u5316<\/p>\n<\/p>\n<p><p>\u57fa\u4e8e\u6d4b\u8bd5\u7ed3\u679c\uff0c\u5206\u6790\u8f6f\u4ef6\u6027\u80fd\u74f6\u9888\u5e76\u8fdb\u884c\u76f8\u5e94\u7684\u4f18\u5316\u3002<\/p>\n<\/p>\n<p><p><strong>\u6027\u80fd\u5206\u6790\uff1a<\/strong> \u8fd0\u7528\u5de5\u5177\uff0c\u5982gprof\u3001Valgrind\u7b49\u8fdb\u884c\u6027\u80fd\u5206\u6790\uff0c\u5e76\u786e\u5b9a\u4f18\u5316\u7b56\u7565\u3002<\/p>\n<\/p>\n<p><p><strong>\u4f18\u5316\u5b9e\u73b0\uff1a<\/strong> \u6839\u636e\u5206\u6790\u7ed3\u679c\uff0c\u8c03\u6574\u7b97\u6cd5\u3001\u4f18\u5316\u4ee3\u7801\u7ed3\u6784\u6216\u8005\u6539\u8fdb\u5185\u5b58\u4f7f\u7528\u7b49\uff0c\u63d0\u5347\u8f6f\u4ef6\u6027\u80fd\u3002<\/p>\n<\/p>\n<p><p>\u516b\u3001\u90e8\u7f72\u4e0a\u7ebf<\/p>\n<\/p>\n<p><p>\u8f6f\u4ef6\u5f00\u53d1\u7684\u6700\u540e\u9636\u6bb5\u662f\u90e8\u7f72\u81f3\u751f\u4ea7\u73af\u5883\uff0c\u5e76\u8fdb\u884c\u7ef4\u62a4\u3002<\/p>\n<\/p>\n<p><p><strong>\u8f6f\u4ef6\u90e8\u7f72\uff1a<\/strong> \u5c06\u8f6f\u4ef6\u90e8\u7f72\u5230\u670d\u52a1\u5668\u6216\u76ee\u6807\u8bbe\u5907\uff0c\u5e76\u786e\u4fdd\u5b83\u80fd\u5728\u8be5\u73af\u5883\u4e2d\u7a33\u5b9a\u8fd0\u884c\u3002<\/p>\n<\/p>\n<p><p><strong>\u7ef4\u62a4\u66f4\u65b0\uff1a<\/strong> \u5728\u8f6f\u4ef6\u53d1\u5e03\u540e\uff0c\u6839\u636e\u7528\u6237\u53cd\u9988\u5bf9\u5176\u8fdb\u884c\u7ef4\u62a4\u548c\u5fc5\u8981\u7684\u66f4\u65b0\u3002<\/p>\n<\/p>\n<p><p>\u9075\u5faa\u8fd9\u4e9b\u7cbe\u7ec6\u7684\u5f00\u53d1\u6d41\u7a0b\u80fd\u591f\u786e\u4fddLinux C\/C++\u9879\u76ee\u7684\u8d28\u91cf\u548c\u7a33\u5b9a\u6027\uff0c\u540c\u65f6\u4fbf\u4e8e\u56e2\u961f\u534f\u4f5c\u548c<a href=\"https:\/\/docs.pingcode.com\/blog\/project-management\/23316.html\" target=\"_blank\">\u9879\u76ee\u7ba1\u7406<\/a>\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p><strong>1. C\/C++\u5f00\u53d1\u73af\u5883\u7684\u642d\u5efa<\/strong><\/p>\n<ul>\n<li>\u5728Linux\u4e0a\u4f7f\u7528C\/C++\u5f00\u53d1\uff0c\u9996\u5148\u9700\u8981\u5b89\u88c5gcc\/g++\u7f16\u8bd1\u5668\u548c\u8c03\u8bd5\u5de5\u5177\uff0c\u5982GDB\u3002<\/li>\n<li>\u901a\u8fc7\u5305\u7ba1\u7406\u5668\uff08\u5982apt\u3001yum\uff09\u6216\u8005\u6e90\u4ee3\u7801\u7f16\u8bd1\u5b89\u88c5\u6765\u83b7\u53d6\u5e76\u5b89\u88c5\u6240\u9700\u7684\u8f6f\u4ef6\u5305\u3002<\/li>\n<\/ul>\n<p><strong>2. \u7f16\u5199\u6e90\u4ee3\u7801<\/strong><\/p>\n<ul>\n<li>\u4f7f\u7528\u6587\u672c\u7f16\u8f91\u5668\uff08\u5982vim\u3001gedit\uff09\u521b\u5efa\u4e00\u4e2a\u4ee5.c\u6216.cpp\u4e3a\u6269\u5c55\u540d\u7684\u6e90\u4ee3\u7801\u6587\u4ef6\u3002<\/li>\n<li>\u5728\u6e90\u4ee3\u7801\u6587\u4ef6\u4e2d\u7f16\u5199C\/C++\u4ee3\u7801\uff0c\u5305\u62ec\u51fd\u6570\u3001\u53d8\u91cf\u3001\u63a7\u5236\u6d41\u3001\u6570\u636e\u7c7b\u578b\u7b49\u3002<\/li>\n<\/ul>\n<p><strong>3. \u7f16\u8bd1\u548c\u6784\u5efa<\/strong><\/p>\n<ul>\n<li>\u4f7f\u7528gcc\/g++\u7f16\u8bd1\u5668\u5bf9\u6e90\u4ee3\u7801\u8fdb\u884c\u7f16\u8bd1\uff0c\u751f\u6210\u53ef\u6267\u884c\u6587\u4ef6\u3002<\/li>\n<li>\u53ef\u4ee5\u901a\u8fc7\u547d\u4ee4\u884c\u9009\u9879\u8bbe\u7f6e\u7f16\u8bd1\u5668\u7684\u4f18\u5316\u7ea7\u522b\u3001\u94fe\u63a5\u5e93\u7b49\u3002<\/li>\n<\/ul>\n<p><strong>4. \u8c03\u8bd5\u548c\u6d4b\u8bd5<\/strong><\/p>\n<ul>\n<li>\u4f7f\u7528GDB\u6216\u5176\u4ed6\u8c03\u8bd5\u5668\u5de5\u5177\u8fdb\u884c\u8c03\u8bd5\uff0c\u5728\u7a0b\u5e8f\u8fd0\u884c\u8fc7\u7a0b\u4e2d\u67e5\u627e\u548c\u4fee\u590d\u9519\u8bef\u3002<\/li>\n<li>\u7f16\u5199\u5355\u5143\u6d4b\u8bd5\u4ee3\u7801\uff0c\u4f7f\u7528\u6d4b\u8bd5\u6846\u67b6\uff08\u5982Google Test\uff09\u8fdb\u884c\u6d4b\u8bd5\uff0c\u786e\u4fdd\u4ee3\u7801\u7684\u6b63\u786e\u6027\u548c\u7a33\u5b9a\u6027\u3002<\/li>\n<\/ul>\n<p><strong>5. \u4ee3\u7801\u7248\u672c\u7ba1\u7406<\/strong><\/p>\n<ul>\n<li>\u4f7f\u7528\u7248\u672c\u63a7\u5236\u7cfb\u7edf\uff08\u5982Git\uff09\u5bf9\u6e90\u4ee3\u7801\u8fdb\u884c\u7ba1\u7406\uff0c\u8bb0\u5f55\u548c\u8ddf\u8e2a\u4ee3\u7801\u7684\u4fee\u6539\u5386\u53f2\u3002<\/li>\n<li>\u5c06\u4ee3\u7801\u5b58\u50a8\u5728\u4ee3\u7801\u4ed3\u5e93\u4e2d\uff0c\u5e76\u8fdb\u884c\u5206\u652f\u7ba1\u7406\u548c\u5408\u5e76\u64cd\u4f5c\u3002<\/li>\n<\/ul>\n<p><strong>6. \u6587\u6863\u7f16\u5199\u548c\u7ef4\u62a4<\/strong><\/p>\n<ul>\n<li>\u7f16\u5199\u5fc5\u8981\u7684\u4ee3\u7801\u6ce8\u91ca\uff0c\u4ee5\u4fbf\u5176\u4ed6\u4eba\u80fd\u591f\u7406\u89e3\u548c\u7ef4\u62a4\u4ee3\u7801\u3002<\/li>\n<li>\u7f16\u5199\u9879\u76ee\u6587\u6863\u548cAPI\u6587\u6863\uff0c\u8bb0\u5f55\u4ee3\u7801\u7684\u4f7f\u7528\u65b9\u6cd5\u548c\u529f\u80fd\u3002<\/li>\n<\/ul>\n<p><strong>7. \u8fed\u4ee3\u548c\u4f18\u5316<\/strong><\/p>\n<ul>\n<li>\u6839\u636e\u7528\u6237\u9700\u6c42\u548c\u53cd\u9988\uff0c\u5bf9\u4ee3\u7801\u8fdb\u884c\u8fed\u4ee3\u548c\u4f18\u5316\uff0c\u63d0\u9ad8\u4ee3\u7801\u7684\u6027\u80fd\u548c\u53ef\u6269\u5c55\u6027\u3002<\/li>\n<li>\u53ef\u4ee5\u8fdb\u884c\u6027\u80fd\u6d4b\u8bd5\u548c\u4ee3\u7801\u5256\u6790\uff0c\u627e\u51fa\u6027\u80fd\u74f6\u9888\u5e76\u8fdb\u884c\u4f18\u5316\u3002<\/li>\n<\/ul>\n<p><strong>8. \u6784\u5efa\u548c\u90e8\u7f72<\/strong><\/p>\n<ul>\n<li>\u5c06\u6700\u7ec8\u7248\u672c\u7684\u7a0b\u5e8f\u6784\u5efa\u4e3a\u53ef\u6267\u884c\u6587\u4ef6\u6216\u8f6f\u4ef6\u5305\u3002<\/li>\n<li>\u90e8\u7f72\u7a0b\u5e8f\u5230\u76ee\u6807\u7cfb\u7edf\u4e0a\u8fdb\u884c\u4f7f\u7528\u6216\u5206\u53d1\u3002<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"Linux C\/C++ \u7684\u5177\u4f53\u5f00\u53d1\u6d41\u7a0b\u5305\u62ec\u591a\u4e2a\u5173\u952e\u6b65\u9aa4\uff1a\u73af\u5883\u642d\u5efa\u3001\u9700\u6c42\u5206\u6790\u3001\u8bbe\u8ba1\u9636\u6bb5\u3001\u7f16\u7801\u5b9e\u73b0\u3001\u7f16\u8bd1\u6784\u5efa\u3001\u8c03\u8bd5 [&hellip;]","protected":false},"author":3,"featured_media":165164,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[37],"tags":[],"acf":[],"_links":{"self":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/165157"}],"collection":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/comments?post=165157"}],"version-history":[{"count":0,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/165157\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/165164"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=165157"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=165157"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=165157"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}