{"id":67769,"date":"2026-01-29T06:17:14","date_gmt":"2026-01-28T22:17:14","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/67769.html"},"modified":"2026-01-29T06:17:14","modified_gmt":"2026-01-28T22:17:14","slug":"%e5%af%92%e5%81%87%e5%ad%a6%e4%b9%a0%ef%bc%888%ef%bc%89%ef%bc%88c%e8%af%ad%e8%a8%808%e6%a8%a1%e6%95%b0%e7%94%b58%ef%bc%89","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/67769.html","title":{"rendered":"\u5bd2\u5047\u5b66\u4e60\uff088\uff09\uff08c\u8bed\u8a008+\u6a21\u6570\u75358\uff09"},"content":{"rendered":"<p>\u5bf9\u4e8eSTM32F103C8T6\u96c6\u6210\u7248\u8fdb\u884c\u5c0f\u5347\u7ea7&#xff0c;\u52a0\u5165\u4e86\u5149\u654f\u7535\u963b&#xff0c;\u70ed\u654f\u7535\u963b&#xff0c;8\u4e2a\u5c0f\u706f&#xff0c;\u4e24\u4e2a\u6309\u952e&#xff0c;macial\u53e3\u6539\u6210\u4e86type-c&#xff0c;\u7136\u540e\u6539\u6210\u4e86\u81ea\u52a8\u4e0b\u8f7d<\/p>\n<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"910\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/01\/20260128221711-697a8ae763f7e.png\" width=\"1345\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"486\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/01\/20260128221712-697a8ae820d05.png\" width=\"737\" \/><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"917\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/01\/20260128221712-697a8ae842d0a.png\" width=\"1409\" \/><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"695\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/01\/20260128221712-697a8ae8c2554.png\" width=\"1179\" \/><\/p>\n<p>\u7136\u540e\u4e3a\u4e86\u7701\u94b1\u53c8\u5168\u90e8\u6539\u6210\u76f4\u63d2\u5f0f\u7684\u4e86<\/p>\n<p>#include &lt;stdio.h&gt;<br \/>\n#include &lt;stdlib.h&gt;<br \/>\n#include &lt;string.h&gt;<\/p>\n<p>\/\/\u5b9a\u4e49\u7ed3\u6784\u4f53\u6570\u636e\u7c7b\u578b<br \/>\ntypedef struct Student<br \/>\n{<br \/>\n    int id;<br \/>\n    char gender;<br \/>\n    char name[20];<\/p>\n<p>    char *adress;\/\/\u672a\u5206\u914d\u5185\u5b58\u7a7a\u95f4\u4e4b\u524d&#xff0c;\u662f\u91ce\u6307\u9488<\/p>\n<p>}student;<\/p>\n<p>void deepcopy(student *to_stu, student *from_stu)<br \/>\n{<br \/>\n    to_stu-&gt;id &#061; from_stu-&gt;id;<br \/>\n    to_stu-&gt;gender &#061; from_stu-&gt;gender;<br \/>\n    \/\/\u9519\u7684<br \/>\n    \/\/to_stu-&gt;name &#061; from_stu-&gt;name;<br \/>\n    strcpy(to_stu-&gt;name,from_stu-&gt;name);<\/p>\n<p>    to_stu-&gt;adress &#061; (char *)malloc(100);<br \/>\n    memset(to_stu-&gt;adress, 0, sizeof(to_stu-&gt;adress));<\/p>\n<p>    memcpy(to_stu-&gt;adress, from_stu-&gt;adress, strlen(from_stu-&gt;adress));<\/p>\n<p>}<\/p>\n<p>int main()<br \/>\n{<br \/>\n    \/\/\u5b9a\u4e49\u7ed3\u6784\u4f53\u6570\u636e\u53d8\u91cf<br \/>\n    \/\/ struct Student stu1 &#061; {.id &#061; 1, .gender &#061; &#039;M&#039;, .name &#061; &#034;Lisi&#034;};<br \/>\n    \/\/ student stu2 &#061; {2, &#039;F&#039;, &#034;xiaohong&#034;};<br \/>\n    \/\/ student *stu &#061; &amp;stu2;<br \/>\n    \/\/ printf(&#034;stu1.id &#061; %d, stu1.gender &#061; %c, stu1.name &#061; %s\\\\n&#034;, (&amp;stu1)-&gt;id, stu1.gender, stu1.name);<br \/>\n    \/\/ printf(&#034;stu2.id &#061; %d, stu2.gender &#061; %c, stu2.name &#061; %s\\\\n&#034;, (*stu).id, stu-&gt;gender, stu-&gt;name);<\/p>\n<p>    struct Student stu1 &#061; {1, &#039;M&#039;};<br \/>\n    \/\/ printf(&#034;please input your message:\\\\n&#034;);<br \/>\n    \/\/ scanf(&#034;%d %c&#034;,&amp;stu1.id, &amp;stu1.gender);<\/p>\n<p>    printf(&#034;please input your address:\\\\n&#034;);<br \/>\n    stu1.adress &#061; (char *)malloc(sizeof(char) * 100);<br \/>\n    scanf(&#034;%s&#034;,stu1.adress);<\/p>\n<p>    \/\/\u7ed3\u6784\u4f53\u6210\u5458\u662f\u6570\u7ec4\u7684\u4e0d\u80fd\u7528\u201c&#061;\u201d\u6765\u8d4b\u503c<br \/>\n    \/\/stu1.name &#061; &#034;lisi&#034;;<br \/>\n    strcpy(stu1.name, &#034;lisi&#034;);<\/p>\n<p>    printf(&#034;stu1.id &#061; %d, stu1.gender &#061; %c, stu1.name &#061; %s\\\\n&#034;, (&amp;stu1)-&gt;id, stu1.gender, stu1.name);<br \/>\n    printf(&#034;address:%s\\\\n&#034;,stu1.adress);<\/p>\n<p>    \/\/\u7ed3\u6784\u4f53\u53d8\u91cf\u4e4b\u95f4\u7684\u8d4b\u503c,\u6d45\u62f7\u8d1d\u95ee\u9898<br \/>\n    student stu2; \/\/&#061; stu1;<br \/>\n    deepcopy(&amp;stu2, &amp;stu1);<br \/>\n    free(stu1.adress);<br \/>\n    stu1.adress &#061; NULL;<\/p>\n<p>    printf(&#034;stu2.id &#061; %d, stu2.gender &#061; %c, stu2.name &#061; %s\\\\n&#034;, stu2.id, stu2.gender, stu2.name);<br \/>\n    printf(&#034;address:%s\\\\n&#034;,stu2.adress);<\/p>\n<p>    free(stu2.adress);<br \/>\n    stu2.adress &#061; NULL;<\/p>\n<p>    return 0;<br \/>\n} <\/p>\n<\/p>\n<p>#include &lt;stdio.h&gt;<\/p>\n<p>struct Student<\/p>\n<p>{<\/p>\n<p>    int id;<\/p>\n<p>    char gender;<\/p>\n<p>    char name[20];<br \/>\n};<br \/>\n\/\/\u7ed3\u6784\u4f53\u5b57\u8282\u5bf9\u9f50\u662f\u4ec0\u4e48<br \/>\n\/\/\u7ed3\u6784\u4f53\u7684\u5185\u5b58\u5bf9\u9f50<br \/>\n\/\/\u8981\u5728\u6700\u5927\u7684\u6570\u636e\u7c7b\u578b\u4e0a\u6839\u636e\u4f60\u4ee3\u7801\u4e2d\u7684\u6ce8\u91ca&#xff0c;\u6211\u6765\u8be6\u7ec6\u8bb2\u89e3\u7ed3\u6784\u4f53\u5bf9\u9f50\u89c4\u5219&#xff1a;<\/p>\n<p>\/\/ \u7ed3\u6784\u4f53\u5bf9\u9f50\u89c4\u5219<br \/>\n\/\/ \u6838\u5fc3\u89c4\u5219&#xff1a;<br \/>\n\/\/ \u5bf9\u9f50\u503c&#xff1a;\u7ed3\u6784\u4f53\u4e2d\u6700\u5927\u6210\u5458\u7684\u7c7b\u578b\u5927\u5c0f&#xff08;\u5982int\u4e3a4&#xff0c;double\u4e3a8&#xff09;<br \/>\n\/\/ \u6210\u5458\u504f\u79fb&#xff1a;\u6bcf\u4e2a\u6210\u5458\u7684\u504f\u79fb\u91cf\u5fc5\u987b\u662f\u5176\u7c7b\u578b\u5927\u5c0f\u7684\u6574\u6570\u500d<br \/>\n\/\/ \u7ed3\u6784\u4f53\u603b\u5927\u5c0f&#xff1a;\u5fc5\u987b\u662f\u6700\u5927\u6210\u5458\u5927\u5c0f\u7684\u6574\u6570\u500d<br \/>\n\/\/ \u4ee5\u4f60\u7684struct Student\u4e3a\u4f8b&#xff1a;<br \/>\n\/\/ struct Student {<br \/>\n\/\/     int id;          \/\/ 4\u5b57\u8282&#xff0c;\u504f\u79fb0 \u2713<br \/>\n\/\/     char gender;     \/\/ 1\u5b57\u8282&#xff0c;\u504f\u79fb4 \u2713<br \/>\n\/\/     char name[20];   \/\/ 20\u5b57\u8282&#xff0c;\u504f\u79fb5 (5%4&#061;1&#xff0c;\u4e0d\u6ee1\u8db3)<br \/>\n\/\/ };<br \/>\n\/\/ \u95ee\u9898&#xff1a;name\u504f\u79fb\u91cf\u4e3a5&#xff0c;\u4f46\u5e94\u8be5\u662f4\u7684\u500d\u6570&#xff08;\u56e0\u4e3a\u6700\u5927\u6210\u5458\u662fint&#xff0c;4\u5b57\u8282&#xff09;<\/p>\n<p>\/\/ \u5185\u5b58\u5e03\u5c40&#xff1a;<br \/>\n\/\/ \u504f\u79fb  0-3: id      (4\u5b57\u8282)<br \/>\n\/\/ \u504f\u79fb    4: gender  (1\u5b57\u8282)<br \/>\n\/\/ \u504f\u79fb    5: \u586b\u51453\u5b57\u8282  (\u5bf9\u9f50\u5230\u504f\u79fb8)<br \/>\n\/\/ \u504f\u79fb  8-27: name   (20\u5b57\u8282)<br \/>\n\/\/ \u603b\u5927\u5c0f&#xff1a;28\u5b57\u8282<br \/>\n\/\/ \u5b9e\u9645\u8f93\u51fa&#xff1a;28<\/p>\n<p>\/\/ \u4f18\u5316\u7248\u672c&#xff08;\u6309\u7c7b\u578b\u5927\u5c0f\u4ece\u5927\u5230\u5c0f\u6392\u5217&#xff09;&#xff1a;<br \/>\n\/\/ struct Student {<br \/>\n\/\/     int id;          \/\/ \u504f\u79fb0&#xff0c;4\u5b57\u8282<br \/>\n\/\/     char name[20];   \/\/ \u504f\u79fb4&#xff0c;20\u5b57\u8282<br \/>\n\/\/     char gender;     \/\/ \u504f\u79fb24&#xff0c;1\u5b57\u8282<br \/>\n\/\/     char padding[3]; \/\/ \u586b\u51453\u5b57\u8282&#xff0c;\u603b\u5927\u5c0f28\u5b57\u8282<br \/>\n\/\/ };<br \/>\n\/\/ \u6ce8\u610f&#xff1a;\u8fd9\u4e2a\u4f8b\u5b50\u4e2d\u4e24\u79cd\u5199\u6cd5\u5927\u5c0f\u76f8\u540c&#xff0c;\u4f46\u901a\u5e38\u6309\u5927\u5c0f\u6392\u5217\u80fd\u51cf\u5c11\u6d6a\u8d39\u3002<br \/>\nint main()<\/p>\n<p>{<\/p>\n<p>    printf(&#034;%d\\\\n&#034;,sizeof(struct Student));<\/p>\n<p>    return 0;<br \/>\n}<\/p>\n<p>\u3001<\/p>\n<\/p>\n<p>#include &lt;stdio.h&gt;<br \/>\n#include &lt;stdlib.h&gt;<br \/>\n#include &lt;string.h&gt;<br \/>\n#include &lt;time.h&gt;<\/p>\n<p>int main()<br \/>\n{<br \/>\n    \/\/\u5171\u7528\u4f53union<br \/>\n    union Data {<br \/>\n        int i;<br \/>\n        float f;<br \/>\n        char str[20];<br \/>\n    } data;<\/p>\n<p>    \/\/\u5171\u7528\u4f53\u7684\u7279\u70b9&#xff1a;\u6240\u6709\u6210\u5458\u5171\u4eab\u540c\u4e00\u5757\u5185\u5b58\u7a7a\u95f4&#xff0c;\u53ea\u80fd\u540c\u65f6\u5b58\u50a8\u4e00\u4e2a\u6210\u5458\u7684\u6570\u636e<\/p>\n<p>    return 0;<br \/>\n}<br \/>\n#include &lt;stdio.h&gt;<\/p>\n<p>int main()<br \/>\n{<br \/>\n    \/\/\u5173\u952e\u5b57volatile\u7684\u4f5c\u7528<br \/>\n    \/\/1.\u9632\u6b62\u7f16\u8bd1\u5668\u4f18\u5316<br \/>\n    \/\/2.\u9632\u6b62\u7f16\u8bd1\u5668\u5c06\u53d8\u91cf\u4fdd\u5b58\u5230\u5bc4\u5b58\u5668\u4e2d<br \/>\n    volatile int i &#061; 0 ;<br \/>\n    int *p &#061; &amp;i;<br \/>\n    \/\/\u53d6\u5730\u5740\u4e3a\u4ec0\u4e48\u4f1a\u62a5\u9519&#xff1a;<br \/>\n    \/\/int *p &#061; &amp;i;<br \/>\n    \/\/\u4e0d\u80fd\u53bb\u53d6i\u7684\u5730\u5740&#xff0c;\u56e0\u4e3ai\u662fvolatile\u7684&#xff0c;\u7f16\u8bd1\u5668\u4f1a\u8ba4\u4e3ai\u7684\u503c\u968f\u65f6\u53ef\u80fd\u53d1\u751f\u53d8\u5316&#xff0c;\u6240\u4ee5\u7f16\u8bd1\u5668\u4f1a\u7981\u6b62\u5bf9i\u7684\u53d6\u5730\u5740\u64cd\u4f5c<\/p>\n<p>    while(1)<br \/>\n    {<br \/>\n        printf(&#034;i &#061; %d\\\\n&#034;,i);<br \/>\n    }<\/p>\n<p>    return 0;<br \/>\n}<br \/>\n#include &lt;stdio.h&gt;<\/p>\n<p>void func(void)<br \/>\n{<br \/>\n    static int i &#061; 0;<\/p>\n<p>    i&#043;&#043;;<\/p>\n<p>    printf(&#034;i &#061; %d\\\\n&#034;,i);<\/p>\n<p>}<\/p>\n<p>int main()<\/p>\n<p>{<\/p>\n<p>    \/\/\u5173\u952e\u5b57static\u7684\u4f5c\u7528<\/p>\n<p>    \/\/1.\u4fee\u9970\u5c40\u90e8\u53d8\u91cf&#xff1a;\u9759\u6001\u5c40\u90e8\u53d8\u91cf&#xff0c;\u751f\u547d\u5468\u671f\u957f&#xff0c;\u4f5c\u7528\u57df\u5c40\u90e8<\/p>\n<p>    \/\/2.\u4fee\u9970\u5168\u5c40\u53d8\u91cf&#xff1a;\u9759\u6001\u5168\u5c40\u53d8\u91cf&#xff0c;\u751f\u547d\u5468\u671f\u957f&#xff0c;\u4f5c\u7528\u57df\u5168\u5c40<\/p>\n<p>    \/\/3.\u4fee\u9970\u51fd\u6570&#xff1a;\u9759\u6001\u51fd\u6570&#xff0c;\u53ea\u80fd\u5728\u5b9a\u4e49\u5b83\u7684\u6587\u4ef6\u4e2d\u4f7f\u7528<\/p>\n<p>    \/\/4.\u4fee\u9970\u7c7b&#xff1a;\u9759\u6001\u7c7b&#xff0c;\u53ea\u80fd\u5728\u5b9a\u4e49\u5b83\u7684\u6587\u4ef6\u4e2d\u4f7f\u7528<\/p>\n<p>    func();<\/p>\n<p>    func();<\/p>\n<p>    func();<\/p>\n<p>    return 0;<\/p>\n<p>} <\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5bf9\u4e8eSTM32F103C8T6\u96c6\u6210\u7248\u8fdb\u884c\u5c0f\u5347\u7ea7&#xff0c;\u52a0\u5165\u4e86\u5149\u654f\u7535\u963b&#xff0c;\u70ed\u654f\u7535\u963b&#xff0c;8\u4e2a\u5c0f\u706f&#xff0c;\u4e24\u4e2a\u6309\u952e&#xff0c;macial\u53e3\u6539\u6210\u4e86type-c&#xff0c;\u7136\u540e\u6539\u6210\u4e86\u81ea\u52a8\u4e0b\u8f7d \u7136\u540e\u4e3a\u4e86\u7701\u94b1\u53c8\u5168\u90e8\u6539\u6210\u76f4\u63d2\u5f0f\u7684\u4e86<br \/>\n#include<br \/>\n#include<br \/>\n#include \/\/\u5b9a\u4e49\u7ed3\u6784\u4f53\u6570\u636e\u7c7b\u578b<br \/>\ntypedef struct Student<br \/>\n{int id;char <\/p>\n","protected":false},"author":2,"featured_media":67765,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[7162,174,371],"topic":[],"class_list":["post-67769","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","tag-pcb","tag-c","tag-371"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u5bd2\u5047\u5b66\u4e60\uff088\uff09\uff08c\u8bed\u8a008+\u6a21\u6570\u75358\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/67769.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u5bd2\u5047\u5b66\u4e60\uff088\uff09\uff08c\u8bed\u8a008+\u6a21\u6570\u75358\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u5bf9\u4e8eSTM32F103C8T6\u96c6\u6210\u7248\u8fdb\u884c\u5c0f\u5347\u7ea7&#xff0c;\u52a0\u5165\u4e86\u5149\u654f\u7535\u963b&#xff0c;\u70ed\u654f\u7535\u963b&#xff0c;8\u4e2a\u5c0f\u706f&#xff0c;\u4e24\u4e2a\u6309\u952e&#xff0c;macial\u53e3\u6539\u6210\u4e86type-c&#xff0c;\u7136\u540e\u6539\u6210\u4e86\u81ea\u52a8\u4e0b\u8f7d \u7136\u540e\u4e3a\u4e86\u7701\u94b1\u53c8\u5168\u90e8\u6539\u6210\u76f4\u63d2\u5f0f\u7684\u4e86 #include #include #include \/\/\u5b9a\u4e49\u7ed3\u6784\u4f53\u6570\u636e\u7c7b\u578b typedef struct Student {int id;char\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/67769.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-01-28T22:17:14+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/01\/20260128221711-697a8ae763f7e.png\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/67769.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/67769.html\",\"name\":\"\u5bd2\u5047\u5b66\u4e60\uff088\uff09\uff08c\u8bed\u8a008+\u6a21\u6570\u75358\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-01-28T22:17:14+00:00\",\"dateModified\":\"2026-01-28T22:17:14+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/67769.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/67769.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/67769.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u5bd2\u5047\u5b66\u4e60\uff088\uff09\uff08c\u8bed\u8a008+\u6a21\u6570\u75358\uff09\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u5bd2\u5047\u5b66\u4e60\uff088\uff09\uff08c\u8bed\u8a008+\u6a21\u6570\u75358\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wsisp.com\/helps\/67769.html","og_locale":"zh_CN","og_type":"article","og_title":"\u5bd2\u5047\u5b66\u4e60\uff088\uff09\uff08c\u8bed\u8a008+\u6a21\u6570\u75358\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u5bf9\u4e8eSTM32F103C8T6\u96c6\u6210\u7248\u8fdb\u884c\u5c0f\u5347\u7ea7&#xff0c;\u52a0\u5165\u4e86\u5149\u654f\u7535\u963b&#xff0c;\u70ed\u654f\u7535\u963b&#xff0c;8\u4e2a\u5c0f\u706f&#xff0c;\u4e24\u4e2a\u6309\u952e&#xff0c;macial\u53e3\u6539\u6210\u4e86type-c&#xff0c;\u7136\u540e\u6539\u6210\u4e86\u81ea\u52a8\u4e0b\u8f7d \u7136\u540e\u4e3a\u4e86\u7701\u94b1\u53c8\u5168\u90e8\u6539\u6210\u76f4\u63d2\u5f0f\u7684\u4e86 #include #include #include \/\/\u5b9a\u4e49\u7ed3\u6784\u4f53\u6570\u636e\u7c7b\u578b typedef struct Student {int id;char","og_url":"https:\/\/www.wsisp.com\/helps\/67769.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-01-28T22:17:14+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/01\/20260128221711-697a8ae763f7e.png"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"3 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/67769.html","url":"https:\/\/www.wsisp.com\/helps\/67769.html","name":"\u5bd2\u5047\u5b66\u4e60\uff088\uff09\uff08c\u8bed\u8a008+\u6a21\u6570\u75358\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-01-28T22:17:14+00:00","dateModified":"2026-01-28T22:17:14+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/67769.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/67769.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/67769.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"\u5bd2\u5047\u5b66\u4e60\uff088\uff09\uff08c\u8bed\u8a008+\u6a21\u6570\u75358\uff09"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/67769","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=67769"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/67769\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media\/67765"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=67769"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=67769"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=67769"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=67769"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}