{"id":3292,"date":"2025-03-29T15:13:29","date_gmt":"2025-03-29T07:13:29","guid":{"rendered":"https:\/\/www.laixuexila.com\/?p=3292"},"modified":"2025-03-29T15:13:29","modified_gmt":"2025-03-29T07:13:29","slug":"c-%e6%95%b0%e6%8d%ae%e7%bb%93%e6%9e%84%e8%af%a6%e8%a7%a3","status":"publish","type":"post","link":"https:\/\/www.laixuexila.com\/index.php\/2025\/03\/29\/c-%e6%95%b0%e6%8d%ae%e7%bb%93%e6%9e%84%e8%af%a6%e8%a7%a3\/","title":{"rendered":"C++ \u6570\u636e\u7ed3\u6784\u8be6\u89e3"},"content":{"rendered":"\n<p>C++ \u63d0\u4f9b\u4e86\u591a\u79cd\u6570\u636e\u7ed3\u6784\uff0c\u53ef\u4ee5\u5e2e\u52a9\u5f00\u53d1\u8005\u9ad8\u6548\u5730\u5b58\u50a8\u548c\u7ba1\u7406\u6570\u636e\u3002\u6570\u636e\u7ed3\u6784\u4e0d\u4ec5\u662f\u7b97\u6cd5\u7684\u57fa\u7840\uff0c\u4e5f\u5728\u8bb8\u591a\u5e94\u7528\u7a0b\u5e8f\u4e2d\u53d1\u6325\u7740\u91cd\u8981\u4f5c\u7528\u3002C++ \u6807\u51c6\u5e93\uff08STL\uff09\u63d0\u4f9b\u4e86\u591a\u79cd\u5e38\u89c1\u6570\u636e\u7ed3\u6784\u7684\u5b9e\u73b0\uff0c\u5982\u6570\u7ec4\u3001\u94fe\u8868\u3001\u6808\u3001\u961f\u5217\u3001\u5806\u3001\u54c8\u5e0c\u8868\u7b49\u3002\u9664\u6b64\u4e4b\u5916\uff0c\u6211\u4eec\u8fd8\u53ef\u4ee5\u624b\u52a8\u5b9e\u73b0\u4e00\u4e9b\u7279\u5b9a\u7684\u6570\u636e\u7ed3\u6784\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>1. \u6570\u7ec4 (Array)<\/strong><\/h3>\n\n\n\n<p>\u6570\u7ec4\u662f\u6700\u57fa\u672c\u7684\u6570\u636e\u7ed3\u6784\uff0c\u7528\u4e8e\u5b58\u50a8\u4e00\u7ec4\u76f8\u540c\u7c7b\u578b\u7684\u6570\u636e\u5143\u7d20\u3002<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u9759\u6001\u6570\u7ec4<\/strong>\uff1a\u5927\u5c0f\u5728\u7f16\u8bd1\u65f6\u786e\u5b9a\uff0c\u65e0\u6cd5\u52a8\u6001\u6269\u5c55\u3002<\/li>\n\n\n\n<li><strong>\u52a8\u6001\u6570\u7ec4<\/strong>\uff1a\u53ef\u4ee5\u52a8\u6001\u8c03\u6574\u5927\u5c0f\uff0c\u5982 <code>std::vector<\/code>\u3002<\/li>\n<\/ul>\n\n\n\n<p><strong>\u793a\u4f8b\uff1a<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>#include &lt;iostream&gt;\n\nint main() {\n    int arr&#91;5] = {1, 2, 3, 4, 5};\n\n    \/\/ \u904d\u5386\u6570\u7ec4\n    for (int i = 0; i &lt; 5; ++i) {\n        std::cout &lt;&lt; arr&#91;i] &lt;&lt; \" \";\n    }\n    return 0;\n}<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>2. \u94fe\u8868 (Linked List)<\/strong><\/h3>\n\n\n\n<p>\u94fe\u8868\u662f\u4e00\u79cd\u7531\u8282\u70b9\u6784\u6210\u7684\u6570\u636e\u7ed3\u6784\uff0c\u5176\u4e2d\u6bcf\u4e2a\u8282\u70b9\u5305\u542b\u6570\u636e\u548c\u6307\u5411\u4e0b\u4e00\u4e2a\u8282\u70b9\u7684\u6307\u9488\u3002\u94fe\u8868\u5177\u6709\u52a8\u6001\u5185\u5b58\u5206\u914d\u7684\u4f18\u52bf\uff0c\u53ef\u4ee5\u5728\u4efb\u610f\u4f4d\u7f6e\u63d2\u5165\u6216\u5220\u9664\u5143\u7d20\u3002<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u5355\u5411\u94fe\u8868<\/strong>\uff1a\u6bcf\u4e2a\u8282\u70b9\u6307\u5411\u4e0b\u4e00\u4e2a\u8282\u70b9\u3002<\/li>\n\n\n\n<li><strong>\u53cc\u5411\u94fe\u8868<\/strong>\uff1a\u6bcf\u4e2a\u8282\u70b9\u6307\u5411\u4e0b\u4e00\u4e2a\u8282\u70b9\u548c\u524d\u4e00\u4e2a\u8282\u70b9\u3002<\/li>\n<\/ul>\n\n\n\n<p><strong>\u793a\u4f8b\uff1a<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>#include &lt;iostream&gt;\n\nstruct Node {\n    int data;\n    Node* next;\n};\n\nint main() {\n    Node* head = new Node{1, nullptr};\n    head-&gt;next = new Node{2, nullptr};\n\n    \/\/ \u904d\u5386\u94fe\u8868\n    Node* temp = head;\n    while (temp != nullptr) {\n        std::cout &lt;&lt; temp-&gt;data &lt;&lt; \" \";\n        temp = temp-&gt;next;\n    }\n\n    return 0;\n}<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>3. \u6808 (Stack)<\/strong><\/h3>\n\n\n\n<p>\u6808\u662f\u4e00\u79cd<strong>\u540e\u8fdb\u5148\u51fa (LIFO)<\/strong> \u7684\u6570\u636e\u7ed3\u6784\u3002\u6808\u7684\u64cd\u4f5c\u6709\u4e24\u4e2a\u57fa\u672c\u64cd\u4f5c\uff1a<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>push()<\/strong>\uff1a\u5c06\u5143\u7d20\u6dfb\u52a0\u5230\u6808\u9876\u3002<\/li>\n\n\n\n<li><strong>pop()<\/strong>\uff1a\u4ece\u6808\u9876\u5220\u9664\u5143\u7d20\u3002<\/li>\n<\/ul>\n\n\n\n<p>C++ \u4e2d\u53ef\u4ee5\u4f7f\u7528 <code>std::stack<\/code> \u5b9e\u73b0\u6808\u3002<\/p>\n\n\n\n<p><strong>\u793a\u4f8b\uff1a<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>#include &lt;iostream&gt;\n#include &lt;stack&gt;\n\nint main() {\n    std::stack&lt;int&gt; s;\n\n    \/\/ \u5165\u6808\n    s.push(10);\n    s.push(20);\n    s.push(30);\n\n    \/\/ \u51fa\u6808\n    while (!s.empty()) {\n        std::cout &lt;&lt; s.top() &lt;&lt; \" \";  \/\/ \u67e5\u770b\u6808\u9876\u5143\u7d20\n        s.pop();  \/\/ \u79fb\u9664\u6808\u9876\u5143\u7d20\n    }\n    return 0;\n}<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>4. \u961f\u5217 (Queue)<\/strong><\/h3>\n\n\n\n<p>\u961f\u5217\u662f\u4e00\u79cd<strong>\u5148\u8fdb\u5148\u51fa (FIFO)<\/strong> \u7684\u6570\u636e\u7ed3\u6784\u3002\u961f\u5217\u7684\u64cd\u4f5c\u6709\u4e24\u4e2a\u57fa\u672c\u64cd\u4f5c\uff1a<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>enqueue()<\/strong>\uff1a\u5c06\u5143\u7d20\u6dfb\u52a0\u5230\u961f\u5217\u5c3e\u90e8\u3002<\/li>\n\n\n\n<li><strong>dequeue()<\/strong>\uff1a\u4ece\u961f\u5217\u5934\u90e8\u5220\u9664\u5143\u7d20\u3002<\/li>\n<\/ul>\n\n\n\n<p>C++ \u4e2d\u53ef\u4ee5\u4f7f\u7528 <code>std::queue<\/code> \u5b9e\u73b0\u961f\u5217\u3002<\/p>\n\n\n\n<p><strong>\u793a\u4f8b\uff1a<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>#include &lt;iostream&gt;\n#include &lt;queue&gt;\n\nint main() {\n    std::queue&lt;int&gt; q;\n\n    \/\/ \u5165\u961f\n    q.push(10);\n    q.push(20);\n    q.push(30);\n\n    \/\/ \u51fa\u961f\n    while (!q.empty()) {\n        std::cout &lt;&lt; q.front() &lt;&lt; \" \";  \/\/ \u67e5\u770b\u961f\u5217\u5934\u5143\u7d20\n        q.pop();  \/\/ \u79fb\u9664\u961f\u5217\u5934\u5143\u7d20\n    }\n    return 0;\n}<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>5. \u5806 (Heap)<\/strong><\/h3>\n\n\n\n<p>\u5806\u662f\u4e00\u79cd\u5b8c\u5168\u4e8c\u53c9\u6811\uff0c\u53ef\u4ee5\u5206\u4e3a\u6700\u5927\u5806\u548c\u6700\u5c0f\u5806\uff1a<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u6700\u5927\u5806<\/strong>\uff1a\u7236\u8282\u70b9\u5927\u4e8e\u6216\u7b49\u4e8e\u5b50\u8282\u70b9\u3002<\/li>\n\n\n\n<li><strong>\u6700\u5c0f\u5806<\/strong>\uff1a\u7236\u8282\u70b9\u5c0f\u4e8e\u6216\u7b49\u4e8e\u5b50\u8282\u70b9\u3002<\/li>\n<\/ul>\n\n\n\n<p>C++ \u63d0\u4f9b\u4e86 <code>std::priority_queue<\/code> \u6765\u5b9e\u73b0\u5806\u3002<\/p>\n\n\n\n<p><strong>\u793a\u4f8b\uff1a<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>#include &lt;iostream&gt;\n#include &lt;queue&gt;\n\nint main() {\n    std::priority_queue&lt;int&gt; pq;\n\n    \/\/ \u63d2\u5165\u5143\u7d20\n    pq.push(10);\n    pq.push(30);\n    pq.push(20);\n\n    \/\/ \u5f39\u51fa\u6700\u5927\u5143\u7d20\n    while (!pq.empty()) {\n        std::cout &lt;&lt; pq.top() &lt;&lt; \" \";  \/\/ \u67e5\u770b\u5806\u9876\u5143\u7d20\n        pq.pop();  \/\/ \u79fb\u9664\u5806\u9876\u5143\u7d20\n    }\n    return 0;\n}<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>6. \u54c8\u5e0c\u8868 (Hash Table)<\/strong><\/h3>\n\n\n\n<p>\u54c8\u5e0c\u8868\uff08\u6216\u79f0\u4e3a\u54c8\u5e0c\u6620\u5c04\uff09\u662f\u4e00\u79cd\u57fa\u4e8e\u54c8\u5e0c\u51fd\u6570\u7684\u6570\u636e\u7ed3\u6784\uff0c\u53ef\u4ee5\u5728\u5e38\u6570\u65f6\u95f4\u5185\u8fdb\u884c\u63d2\u5165\u3001\u5220\u9664\u548c\u67e5\u627e\u64cd\u4f5c\u3002<\/p>\n\n\n\n<p>C++ \u63d0\u4f9b\u4e86 <code>std::unordered_map<\/code> \u548c <code>std::unordered_set<\/code> \u6765\u5b9e\u73b0\u54c8\u5e0c\u8868\u3002<\/p>\n\n\n\n<p><strong>\u793a\u4f8b\uff1a<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>#include &lt;iostream&gt;\n#include &lt;unordered_map&gt;\n\nint main() {\n    std::unordered_map&lt;std::string, int&gt; map;\n\n    \/\/ \u63d2\u5165\u952e\u503c\u5bf9\n    map&#91;\"apple\"] = 5;\n    map&#91;\"banana\"] = 3;\n\n    \/\/ \u67e5\u627e\u5143\u7d20\n    std::cout &lt;&lt; \"apple: \" &lt;&lt; map&#91;\"apple\"] &lt;&lt; std::endl;\n    std::cout &lt;&lt; \"banana: \" &lt;&lt; map&#91;\"banana\"] &lt;&lt; std::endl;\n\n    return 0;\n}<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>7. \u96c6\u5408 (Set)<\/strong><\/h3>\n\n\n\n<p>\u96c6\u5408\u662f\u4e00\u79cd\u5b58\u50a8\u4e0d\u91cd\u590d\u5143\u7d20\u7684\u6570\u636e\u7ed3\u6784\uff0c\u652f\u6301\u9ad8\u6548\u67e5\u627e\u3001\u63d2\u5165\u548c\u5220\u9664\u3002<\/p>\n\n\n\n<p>C++ \u63d0\u4f9b\u4e86 <code>std::set<\/code> \u548c <code>std::unordered_set<\/code> \u6765\u5b9e\u73b0\u96c6\u5408\u3002<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>std::set<\/strong>\uff1a\u6709\u5e8f\u96c6\u5408\uff0c\u5143\u7d20\u6309\u987a\u5e8f\u6392\u5217\u3002<\/li>\n\n\n\n<li><strong>std::unordered_set<\/strong>\uff1a\u65e0\u5e8f\u96c6\u5408\uff0c\u5143\u7d20\u5b58\u50a8\u65e0\u7279\u5b9a\u987a\u5e8f\u3002<\/li>\n<\/ul>\n\n\n\n<p><strong>\u793a\u4f8b\uff1a<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>#include &lt;iostream&gt;\n#include &lt;set&gt;\n\nint main() {\n    std::set&lt;int&gt; s;\n\n    \/\/ \u63d2\u5165\u5143\u7d20\n    s.insert(10);\n    s.insert(20);\n    s.insert(10);  \/\/ \u63d2\u5165\u91cd\u590d\u5143\u7d20\u5c06\u88ab\u5ffd\u7565\n\n    \/\/ \u904d\u5386\u96c6\u5408\n    for (int x : s) {\n        std::cout &lt;&lt; x &lt;&lt; \" \";\n    }\n\n    return 0;\n}<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>8. \u6620\u5c04 (Map)<\/strong><\/h3>\n\n\n\n<p>\u6620\u5c04\u662f\u4e00\u79cd\u5173\u8054\u5bb9\u5668\uff0c\u7528\u4e8e\u5b58\u50a8\u952e\u503c\u5bf9\u3002\u6bcf\u4e2a\u952e\u662f\u552f\u4e00\u7684\uff0c\u4e14\u4e0e\u4e00\u4e2a\u503c\u76f8\u5173\u8054\u3002<\/p>\n\n\n\n<p>C++ \u63d0\u4f9b\u4e86 <code>std::map<\/code> \u548c <code>std::unordered_map<\/code> \u6765\u5b9e\u73b0\u6620\u5c04\u3002<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>std::map<\/strong>\uff1a\u6709\u5e8f\u6620\u5c04\uff0c\u952e\u6309\u5347\u5e8f\u6392\u5217\u3002<\/li>\n\n\n\n<li><strong>std::unordered_map<\/strong>\uff1a\u65e0\u5e8f\u6620\u5c04\uff0c\u952e\u65e0\u7279\u5b9a\u987a\u5e8f\u3002<\/li>\n<\/ul>\n\n\n\n<p><strong>\u793a\u4f8b\uff1a<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>#include &lt;iostream&gt;\n#include &lt;map&gt;\n\nint main() {\n    std::map&lt;int, std::string&gt; m;\n\n    \/\/ \u63d2\u5165\u952e\u503c\u5bf9\n    m&#91;1] = \"one\";\n    m&#91;2] = \"two\";\n    m&#91;3] = \"three\";\n\n    \/\/ \u67e5\u627e\u5e76\u8f93\u51fa\u952e\u503c\u5bf9\n    for (const auto&amp; pair : m) {\n        std::cout &lt;&lt; pair.first &lt;&lt; \": \" &lt;&lt; pair.second &lt;&lt; std::endl;\n    }\n\n    return 0;\n}<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>9. \u4e8c\u53c9\u6811 (Binary Tree)<\/strong><\/h3>\n\n\n\n<p>\u4e8c\u53c9\u6811\u662f\u4e00\u79cd\u6811\u5f62\u6570\u636e\u7ed3\u6784\uff0c\u5176\u4e2d\u6bcf\u4e2a\u8282\u70b9\u6700\u591a\u6709\u4e24\u4e2a\u5b50\u8282\u70b9\u3002\u5b83\u5e38\u7528\u4e8e\u5b9e\u73b0 <strong>\u641c\u7d22\u6811<\/strong>\u3001<strong>\u5806<\/strong>\u3001<strong>\u5e73\u8861\u6811<\/strong> \u7b49\u3002<\/p>\n\n\n\n<p><strong>\u793a\u4f8b\uff1a<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>#include &lt;iostream&gt;\n\nstruct Node {\n    int data;\n    Node* left;\n    Node* right;\n};\n\nint main() {\n    Node* root = new Node{10, nullptr, nullptr};\n    root-&gt;left = new Node{5, nullptr, nullptr};\n    root-&gt;right = new Node{20, nullptr, nullptr};\n\n    \/\/ \u6253\u5370\u6839\u8282\u70b9\u6570\u636e\n    std::cout &lt;&lt; \"Root node: \" &lt;&lt; root-&gt;data &lt;&lt; std::endl;\n\n    return 0;\n}<\/code><\/pre>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>\u603b\u7ed3<\/strong><\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u6570\u7ec4 (Array)<\/strong>\uff1a\u57fa\u7840\u7684\u7ebf\u6027\u6570\u636e\u7ed3\u6784\uff0c\u9002\u5408\u5b58\u50a8\u56fa\u5b9a\u5927\u5c0f\u7684\u5143\u7d20\u3002<\/li>\n\n\n\n<li><strong>\u94fe\u8868 (Linked List)<\/strong>\uff1a\u9002\u5408\u52a8\u6001\u63d2\u5165\u548c\u5220\u9664\u3002<\/li>\n\n\n\n<li><strong>\u6808 (Stack)<\/strong>\uff1a\u540e\u8fdb\u5148\u51fa\uff0c\u9002\u7528\u4e8e\u9012\u5f52\u3001\u8868\u8fbe\u5f0f\u6c42\u503c\u7b49\u95ee\u9898\u3002<\/li>\n\n\n\n<li><strong>\u961f\u5217 (Queue)<\/strong>\uff1a\u5148\u8fdb\u5148\u51fa\uff0c\u9002\u7528\u4e8e\u4efb\u52a1\u8c03\u5ea6\u3001\u7f13\u51b2\u533a\u7b49\u95ee\u9898\u3002<\/li>\n\n\n\n<li><strong>\u5806 (Heap)<\/strong>\uff1a\u652f\u6301\u4f18\u5148\u7ea7\u961f\u5217\u7684\u5b9e\u73b0\u3002<\/li>\n\n\n\n<li><strong>\u54c8\u5e0c\u8868 (Hash Table)<\/strong>\uff1a\u9ad8\u6548\u7684\u67e5\u627e\u548c\u63d2\u5165\u64cd\u4f5c\uff0c\u9002\u7528\u4e8e\u9700\u8981\u5feb\u901f\u67e5\u627e\u7684\u6570\u636e\u3002<\/li>\n\n\n\n<li><strong>\u96c6\u5408 (Set)<\/strong>\uff1a\u5b58\u50a8\u4e0d\u91cd\u590d\u5143\u7d20\uff0c\u9002\u7528\u4e8e\u53bb\u91cd\u3001\u96c6\u5408\u8fd0\u7b97\u7b49\u3002<\/li>\n\n\n\n<li><strong>\u6620\u5c04 (Map)<\/strong>\uff1a\u5b58\u50a8\u952e\u503c\u5bf9\uff0c\u9002\u7528\u4e8e\u5173\u8054\u6570\u636e\u5b58\u50a8\u3002<\/li>\n\n\n\n<li><strong>\u4e8c\u53c9\u6811 (Binary Tree)<\/strong>\uff1a\u6811\u5f62\u7ed3\u6784\uff0c\u5e7f\u6cdb\u5e94\u7528\u4e8e\u641c\u7d22\u3001\u6392\u5e8f\u7b49\u3002<\/li>\n<\/ul>\n\n\n\n<p>\u4ee5\u4e0a\u662f C++ \u4e2d\u5e38\u89c1\u7684\u6570\u636e\u7ed3\u6784\uff0c\u7ed3\u5408\u5b9e\u9645\u5e94\u7528\uff0c\u53ef\u4ee5\u5e2e\u52a9\u4f60\u66f4\u597d\u5730\u5904\u7406\u6570\u636e\u5e76\u4f18\u5316\u6027\u80fd\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>C++ \u63d0\u4f9b\u4e86\u591a\u79cd\u6570\u636e\u7ed3\u6784\uff0c\u53ef\u4ee5\u5e2e\u52a9\u5f00\u53d1\u8005\u9ad8\u6548\u5730\u5b58\u50a8\u548c\u7ba1\u7406\u6570\u636e\u3002\u6570\u636e\u7ed3\u6784\u4e0d\u4ec5\u662f\u7b97\u6cd5\u7684\u57fa\u7840\uff0c\u4e5f\u5728\u8bb8\u591a\u5e94\u7528\u7a0b\u5e8f\u4e2d\u53d1 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":3293,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[81],"tags":[],"class_list":["post-3292","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-c-"],"_links":{"self":[{"href":"https:\/\/www.laixuexila.com\/index.php\/wp-json\/wp\/v2\/posts\/3292","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.laixuexila.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.laixuexila.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.laixuexila.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.laixuexila.com\/index.php\/wp-json\/wp\/v2\/comments?post=3292"}],"version-history":[{"count":1,"href":"https:\/\/www.laixuexila.com\/index.php\/wp-json\/wp\/v2\/posts\/3292\/revisions"}],"predecessor-version":[{"id":3294,"href":"https:\/\/www.laixuexila.com\/index.php\/wp-json\/wp\/v2\/posts\/3292\/revisions\/3294"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.laixuexila.com\/index.php\/wp-json\/wp\/v2\/media\/3293"}],"wp:attachment":[{"href":"https:\/\/www.laixuexila.com\/index.php\/wp-json\/wp\/v2\/media?parent=3292"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.laixuexila.com\/index.php\/wp-json\/wp\/v2\/categories?post=3292"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.laixuexila.com\/index.php\/wp-json\/wp\/v2\/tags?post=3292"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}