小菜鸟刚学数据结构,写了一段关于括号匹配的代码,有很多错误,希望大牛能帮我改正,顺便教导哈我,谢谢
\u5c0f\u83dc\u9e1f\u60f3\u5b66\u5b66\u8d85\u9891\u5e0c\u671b\u9ad8\u624b\u4eec\u6307\u70b9!\u8d85\u9891\u5c31\u662f\u8d85\u8fc7\u539f\u6765\u7684\u9891\u7387 \u7535\u8111\u8d85\u9891\uff0c\u6253\u4e2a\u6bd4\u65b9\u5c31\u662f\u6211\u4eec\u5728\u8dd1\u6b65\u7684\u65f6\u5019\uff0c\u5982\u4ee55\u7c73/S\u7684\u901f\u5ea6\u8dd1\uff0c\u4f46\u8fc7\u4e86\u4e00\u4f1a\u513f\uff0c\u4f60\u60f3\u8dd1\u5feb\u70b9\u8dd1\u5b8c\u8def\u7ebf\uff0c\u8fd9\u65f6\u4f60\u5c31\u8981\u8fdb\u884c\u52a0\u901f\u8dd1\uff0c\u8fd9\u65f6\u4f60\u7684\u901f\u5ea6\u5c31\u8c03\u5230\u4e867\u7c73/S\uff0c\u4f60\u7684\u901f\u5ea6\u5c31\u660e\u663e\u52a0\u5feb\u4e86\u3002\u5728\u8fd9\u6bb5\u65f6\u95f4\u5185\uff0c\u4f60\u7684\u6b65\u9891\u5c31\u52a0\u5feb\u4e86\u3002\u8fd9\u5c31\u662f\u6211\u4eec\u751f\u6d3b\u4e2d\u7684\u4e00\u4e2a\u5c0f\u5c0f\u7684\u8d85\u9891\u3002\u6240\u4ee5\u8bf4\uff0c\u7535\u8111\u8d85\u4e5f\u662f\u4e00\u6837\uff0c\u5c31\u662f\u52a0\u5feb\u5b83\u7684\u8fd0\u884c\u901f\u5ea6\uff0c\u8ba9\u5b83\u8dd1\u5f97\u66f4\u5feb\uff01\uff01\uff01
\u8d85\u9891\uff0c\u81ea\u59cb\u81f3\u7ec8\u662f\u4ee4\u73a9\u5bb6\u5174\u594b\u4e0d\u5df2\u7684\u5b57\u773c\uff0c\u4e5f\u96be\u602a\uff0c\u51ed\u7a7a\u5c31\u8ba9\u81ea\u5df1\u7684\u7535\u8111\u8dd1\u7684\u66f4\u5feb\uff0c\u8c01\u4e0d\u60f3\u5462\uff1f\u5f88\u591a\u8d85\u9891\u9ad8\u624b\u6709\u7740\u5f88\u591a\u6210\u529f\u8d85\u9891\u7684\u7ecf\u5386\uff0c\u4ee4\u65b0\u624b\u4eec\u7fa1\u6155\u53c8\u5ac9\u5992\uff0c\u90a3\u4e48\u5bf9\u4e8e\u6211\u4eec\u5e7f\u5927\u7684\u60f3\u8d85\u9891\u800c\u53c8\u4e0d\u4f1a\u8d85\u9891\u7684\u670b\u53cb\u6765\u8bf4\uff0c\u8be5\u5982\u4f55\u5b66\u4e60\u8d85\u9891\u5462\uff1f\u90a3\u4e48\u8bf7\u4ed4\u7ec6\u9605\u8bfb\u4e0b\u9762\u7684\u6587\u7ae0\uff0c\u6211\u4eec\u5c06\u7cfb\u7edf\u7684\u5b66\u4e60\u8d85\u9891\uff0c\u624b\u628a\u624b\u7684\u6559\u4f60\u8d85\u597d\u9891\uff0c\u8ba9\u4f60\u5b9e\u73b0\u5c11\u82b1\u94b1\u800c\u5347\u7ea7\u7684\u68a6\u60f3\u3002
\u6559\u4f60\u5982\u4f55\u8d85\u9891\uff08\u4e0a\uff09
\u3010\u4e00\u3011\u8d85\u9891\u539f\u7406
\u4e3a\u4e86\u66f4\u597d\u7684\u8d85\u9891\uff0c\u8d85\u9891\u539f\u7406\u4e0d\u53ef\u4e0d\u5b66\u3002\u4ee5\u8d85\u9891\u6700\u6709\u6548\u679c\u7684CPU \u4e3a\u4f8b\uff0c\u76ee\u524dCPU\u7684\u751f\u4ea7\u53ef\u4ee5\u8bf4\u662f\u975e\u5e38\u7cbe\u5bc6\u7684\uff0c\u4ee5\u81f3\u4e8e\u751f\u4ea7\u5382\u5bb6\u90fd\u65e0\u6cd5\u63a7\u5236\u6bcf\u5757CPU\u5230\u5e95\u53ef\u4ee5\u5728\u4ec0\u5e7a\u6837\u7684\u9891\u7387\u4e0b\u5de5\u4f5c\uff0c\u5382\u5bb6\u5b9e\u9645\u4e0a\u5c31\u5df2\u7ecf\u81ea\u5df1\u505a\u4e86\u6b21\u6d4b\u8bd5\uff0c\u5c06\u80fd\u5de5\u4f5c\u5728\u9ad8\u9891\u7387\u4e0b\u7684CPU\u6807\u8bb0\u4e3a\u9ad8\u9891\u7387\u7684\uff0c\u7136\u540e\u53ef\u4ee5\u5356\u66f4\u9ad8\u7684\u4ef7\u94b1\u3002\u4f46\u4e3a\u4e86\u4fdd\u8bc1\u5b83\u7684\u8d28\u91cf\uff0c\u8fd9\u4e9b\u6807\u8bb0\u90fd\u6709\u4e00\u5b9a\u7684\u5bcc\u4f59\uff0c\u4e5f\u5c31\u662f\u8bf4\uff0c \u4e00\u5757\u5de5\u4f5c\u5728600MHZ\u7684CPU\uff0c\u5f88\u6709\u53ef\u80fd\u5728800MHZ\u4e0b\u4f9d\u7136\u7a33\u5b9a\u5de5\u4f5c\uff0c\u4e3a\u4e86\u53d1\u6398\u8fd9\u4e9b\u6f5c\u5728\u7684\u5bcc\u4f59\u90e8\u5206\uff0c\u6211\u4eec\u53ef\u4ee5\u8fdb\u884c\u8d85\u9891\u3002
\u6b64\u5916\uff0c\u6211\u4eec\u8fd8\u53ef\u4ee5\u501f\u52a9\u4e00\u4e9b\u624b\u6bb5\u6765\u4f7fCPU\u7a33\u5b9a\u5de5\u4f5c\u5728\u66f4\u9ad8\u7684\u9891\u7387\u4e0a\uff0c\u8fd9\u4e9b\u624b\u6bb5\u4e3b\u8981\u662f\u4e24\u70b9\uff1a\u589e\u52a0\u6563\u70ed\u6548\u679c\u3001\u589e\u52a0\u5de5\u4f5c\u7535\u538b\u3002
\u5bf9\u4e8e\u7535\u8111\u7684\u5176\u5b83\u914d\u4ef6\uff0c\u4f9d\u7136\u5229\u7528\u8fd9\u6837\u7684\u539f\u7406\u8fdb\u884c\u8d85\u9891\uff0c\u5982\u663e\u793a\u5361\u3001\u5185\u5b58\u3001 \u751a\u81f3\u9f20\u6807\u7b49\u7b49\u3002
\u597d\u4e86\uff0c\u4f60\u5df2\u7ecf\u5f00\u59cb\u7740\u6025\u4e86\uff0c\u6211\u8981\u8d85\u9891\uff0c\u5f97\u600e\u5e7a\u6765\u5462\uff1f\u8be5\u5982\u4f55\u4e0b\u624b\uff1f
\u3010\u4e8c\u3011\u8d85\u9891\u51c6\u5907
\u522b\u7740\u6025\uff0c\u8d85\u9891\u4e4b\u524d\u8981\u505a\u4e00\u4e9b\u51c6\u5907\uff0c\u8fd9\u4e9b\u51c6\u5907\u5c06\u4f7f\u4f60\u8d85\u9891\u53ef\u4ee5\u987a\u5229\u8fdb\u884c\u3002\u78e8\u5200\u4e0d\u8bef\u780d\u67f4\u5de5\uff0c\u591a\u51c6\u5907\u4e00\u70b9\u6ca1\u574f\u5904\u3002
CPU\u6563\u70ed\u98ce\u6247 \u2014\u2014 \u975e\u5e38\u5173\u952e\u7684\u8d85\u9891\u5de5\u5177\uff0c\u4e00\u5b9a\u8981\u4e70\u597d\u98ce\u6247\uff0c\u7edd\u5bf9\u5f88\u503c\u5f97\uff01
\u5bfc\u70ed\u7845\u8102 \u2014\u2014 \u589e\u52a0CPU\u548c\u98ce\u6247\u6563\u70ed\u7247\u4e4b\u95f4\u7684\u70ed\u4f20\u9012\uff0c\u5f88\u6709\u7528\u7684\u4e1c\u897f\uff0c\u4ef7\u683c\u4fbf\u5b9c\u3002
\u5bfc\u70ed\u7845\u80f6 \u2014\u2014 \u4e00\u822c\u7528\u6765\u5f80\u82af\u7247\u4e0a\u7c98\u8d34\u5c0f\u7684\u6563\u70ed\u7247\uff0c\u7ed9\u4e3b\u677f\u82af\u7247\u964d\u6e29\u3001\u663e\u5361\u82af\u7247\u964d\u6e29\u3001\u7ed9\u5185\u5b58\u82af\u7247\u964d\u6e29\u7528\u3002
\u5c0f\u6563\u70ed\u7247 \u2014\u2014 \u8f85\u52a9\u964d\u6e29\u7528\uff0c\u4e3b\u8981\u7528\u6765\u7ed9\u53d1\u70ed\u7565\u5927\u7684\u82af\u7247\u964d\u6e29\u3002
\u3010\u4e09\u3011\u8d85\u9891CPU
\u6700\u6709\u6548\u679c\u7684\u8d85\u9891\uff0c\u83ab\u8fc7\u4e8e\u8d85\u9891CPU\u4e86\uff0c\u800c\u4e14\u73b0\u5728\u7684CPU\u5927\u591a\u6570\u90fd\u662f\u53ef\u8d85\u7684\uff0c\u6211\u4eec\u5c31\u591a\u8bf4\u4e00\u8bf4\u5982\u4f55\u8d85\u9891\u7535\u8111\u7684CPU\u3002
\u7535\u8111\u7684CPU\u5de5\u4f5c\u9891\u7387\u4e3a\u4e3b\u9891\uff0c\u5b83\u662f\u7531\u5916\u9891\u548c\u500d\u9891\u7684\u4e58\u79ef\u51b3\u5b9a\u7684\uff0c\u8d85\u9891CPU\uff0c\u8d85\u500d\u9891\u662f\u6700\u4f73\u65b9\u6848\u3002\u4f46\u6709\u7684\u5382\u5bb6\u4e3a \u9632\u6b62\u6211\u4eec\u8d85\u9891\uff0c\u5c06CPU\u7684\u5916\u9891\u9501\u5b9a\u4e86\uff08\u8fd9\u66f4\u8bc1\u5b9e\u4e86\u8d85\u9891\u7684\u5408\u7406\u6027\uff09\uff0c\u5982Intel\u5927\u90e8\u5206\u7684CPU\u90fd\u662f\u9501\u4e86\u5916\u9891\u7684\u3002\u90a3\u5e7a\u5bf9\u4e8e\u8fd9\u79cdCPU\uff0c\u6211\u4eec\u4e5f\u53ea\u80fd\u901a\u8fc7\u63d0\u5347\u5916\u9891\u6765\u8fdb\u884c\u4e86\u3002\u8fd9\u79cd\u63d0\u5347\u53ef\u80fd\u6709\u5c40\u9650\uff0c\u4f46\u53ef\u4ee5\u5e26\u6765\u66f4\u5927\u7684\u597d\u5904\u3002
\u76ee\u524d\u7684\u4e3b\u6d41CPU\u6709\u4e24\u5bb6\uff1aIntel\u7684\u548cAMD\u7684\u3002
1\u3001Intel\uff0cCPU\u5f53\u4e4b\u65e0\u6127\u7684\u9f99\u5934\u8001\u5927\uff0c\u5b83\u751f\u4ea7\u7684CPU\u59cb\u7ec8\u5360\u6709\u76f8\u5f53\u5927\u7684\u5e02\u573a\u3002
2\u3001AMD\uff0cCPU\u5382\u5546\u4e2d\u7684\u540e\u8d77\u4e4b\u79c0\uff0c\u4e5f\u5360\u6709\u76f8\u5f53\u7684\u5e02\u573a\u4efd\u989d\u3002
\u77e5\u9053\u4e86\u81ea\u5df1\u7684\u7535\u8111\u662f\u4f55\u79cdCPU\u4e4b\u540e\uff0c\u6211\u4eec\u8981\u67e5\u627e\u5b83\u7684\u6700\u9ad8\u53ef\u8d85\u9891\u7387\uff0c\u4ee5\u4fbf\u786e\u5b9a\u8d85\u9891\u7684\u76ee\u6807\uff0c\u53ef\u8d85\u9891\u7387\u53ef\u4ee5\u5728\u300a\u5404\u79cdCPU\u8d85\u9891\u7f16\u53f7\u5927\u96c6\u5408\u300b\u4e2d\u67e5\u5230.
\u5927\u5bb6\u6240\u4f7f\u7528\u7684\u7535\u8111\u4e2d\u5927\u591a\u6570\u90fd\u662f\u7528\u7684\u8fd9\u4e24\u79cdCPU\uff0c\u5f53\u4f60\u786e\u5b9a\u4e86\u81ea\u5df1\u7684CPU\u578b\u53f7\u4e4b\u540e\uff0c\u8fd8\u8981\u786e\u5b9aCPU\u7684\u6838\u5fc3\u5de5\u827a \u548c\u51fa\u5382\u65e5\u671f\u3002\u5bf9\u4e8e\u8d85\u9891\u6765\u8bf4\uff0c\u8d8a\u5148\u8fdb\u7684\u6838\u5fc3\u5de5\u827a\u5c31\u8d8a\u597d\u8d85\uff0c\u540c\u4e00\u578b\u53f7\u7684CPU\uff0c\u51fa\u5382\u65e5\u671f\u8d8a\u9760\u540e\u7684\u4e5f\u8d8a\u597d\u8d85\u3002\u5982.18\u5fae\u7c73\u7684\u5185\u6838\u5de5\u827a\uff0c\u5219\u7406\u8bba\u4e0a\u6700\u591a\u80fd\u52301.2G\u5de6\u53f3\u3002\u8981\u60f3\u4e0a\u518d\u9ad8\u7684\u9891\u7387\u53ea\u6709\u7528\u66f4\u597d\u7684\u5de5\u827a\u751f\u4ea7\u3002
\u6559\u4f60\u5982\u4f55\u8d85\u9891\uff08\u4e0b\uff09
\u8d85\u9891CPU\u6b63\u5f0f\u5f00\u59cb\uff0c\u5206\u4e3a\u4ee5\u4e0b\u51e0\u6b65\uff1a
\u30101\u3011\u66f4\u6362\u597d\u7684\u6563\u70ed\u7247\uff1a
\u8fd9\u6b65\u8981\u770b\u539f\u6765\u7684CPU\u98ce\u6247\u548c\u6563\u70ed\u7247\u662f\u5426\u4f18\u826f\uff0c\u4f18\u8d28\u7684\u98ce\u6247\u4ef7\u683c\u4e00\u822c\u90fd\u572850\u5143\u4ee5\u4e0a\uff0c\u8fd9\u7b14\u6295\u8d44\u5c3d\u91cf\u8981\u4fdd\u8bc1\u3002\u5bf9\u4e8e\u8d85\u9891\u975e\u5e38\u6709\u7528\u3002\u5728\u6362\u4e0a\u4f18\u8d28\u98ce\u6247\u7684\u540c\u65f6\uff0c\u6ce8\u610f\u5728CPU\u4e0e\u98ce\u6247\u6563\u70ed\u7247\u5e95\u5ea7\u7684\u63a5\u89e6\u90e8\u5206\u6d82\u62b9\u5bfc\u70ed\u7845\u8102\uff0c\u8fd9\u6837\u53ef\u4ee5\u63d0\u9ad8\u6563\u70ed\u901f\u5ea6\u3002
\u30102\u3011\u63d0\u5347CPU\u500d\u9891\uff1a
\u6b64\u6cd5\u76ee\u524d\u4ec5\u9002\u5408K62\u548cDuron\u4ee5\u53caT bird\u7684CPU\uff0c\u5982\u679c\u662fDuron\u548cT bird\u8fd8\u8981\u7528\u94c5\u7b14\u6765\u7834\u89e3\u500d\u9891\uff0c\u5f88\u591a\u6587\u7ae0\u6709\u4ecb\u7ecd\uff0c\u8fd9\u91cc\u4e0d\u518d\u8d58\u8ff0\u3002\u8d85\u500d\u9891\u9700\u8981\u4e3b\u677f\u652f\u6301\u4fee\u6539\u500d\u9891\uff0c\u9009\u8d2d\u4e3b\u677f\u7684\u65f6\u5019\u8981\u5341\u5206\u6ce8\u610f\u3002
\u30103\u3011\u63d0\u5347CPU\u5916\u9891\uff1a
\u63d0\u5347\u5916\u9891\u53ef\u4ee5\u5e26\u6765\u7cfb\u7edf\u6027\u80fd\u7684\u5927\u5e45\u5ea6\u63d0\u5347\uff0c\u5bf9\u4e8ePIII\u5904\u7406\u5668\uff0c\u76ee\u524d\u7684\u4e00\u822c\u90fd\u662f100\u5916\u9891\uff0c\u53ea\u6709\u8d85\u5230133\u5de6\u53f3\uff0c\u5728\u6563\u70ed\u4f18\u826f\u800c\u8fd8\u53ef\u4ee5\u52a0\u7535\u538b\u7684\u65f6\u5019\uff0c\u751a\u81f3\u53ef\u5230150\u4ee5\u4e0a\u3002\u4f46\u5728\u8fd9\u65f6\uff0c\u9700\u8981\u60a8\u7684\u7535\u8111\u7684\u5185\u5b58\u3001\u663e\u5361\u53ef\u4ee5\u5de5\u4f5c\u5728\u5982\u6b64\u4e4b\u9ad8\u7684\u9891\u7387\u4e4b\u4e0b\u3002\u56e0\u6b64\u76f8\u5bf9\u6765\u8bf4\uff0c100\u5916\u9891\u7684PIII\u5904\u7406\u5668\uff0c\u662f\u8d85\u5916\u9891\u6bd4\u8f83\u7406\u60f3\u7684CPU\u3002\u6b64\u6cd5\u8ddf\u63d0\u5347CPU\u500d\u9891\u7684\u65b9\u6cd5\u4e00\u8d77\u7528\uff0c\u6548\u679c\u6700\u597d\u3002\u5f53\u7136\uff0c\u8fd9\u9700\u8981\u60a8\u7684\u4e3b\u677f\u652f\u6301\u5916\u9891\u7684\u8c03\u8282\uff0c\u6709\u7684\u4e3b\u677f\u652f\u6301\u9010\u5146\u8c03\u8282\uff0c\u5c31\u662f\u4e13\u95e8\u4e3a\u4e86\u8d85\u5916\u9891\u800c\u8bbe\u8ba1\u7684\u3002
\u30104\u3011\u589e\u52a0\u7535\u538b\uff1a
\u589e\u52a0\u7535\u538b\u5e26\u6709\u4e00\u5b9a\u7684\u5371\u9669\u6027\uff0c\u5efa\u8bae\u4e0d\u91c7\u7528\uff0c\u5982\u786e\u5b9e\u9700\u8981\u589e\u52a0\u7535\u538b\u6765\u589e\u52a0\u8d85\u9891\u540e\u7684\u7a33\u5b9a\u6027\uff0c\u5219\u8981\u4e00\u70b9\u4e00\u70b9\u7684\u52a0\uff0c\u5e76\u76d1\u89c6\u6e29\u5ea6\u4ee5\u7b56\u5b89\u5168\u3002\u5bf9\u4e8eIntel\u7684CPU\uff0c\u7a0d\u5fae\u52a0\u4e00\u4e9b\u7535\u538b\u6548\u679c\u662f\u660e\u663e\u7684\uff1b\u5bf9\u4e8eAMD\u7684CPU\uff0c\u53ef\u4ee5\u591a\u52a0\u4e00\u4e9b\u7535\u538b\u3002\u8fd9\u91cc\u8981\u63d0\u5230\u7684\u662f\u4e3b\u677f\u8981\u652f\u6301\u66f4\u6539\u7535\u538b\uff0c\u5426\u5219\u8d85\u9891\u4f59\u5730\u4e0d\u4f1a\u592a\u5927\u3002\u5982\u679c\u662f\u9700\u8981\u8f6c\u63a5\u5361\u7684\u8bdd\uff0c\u8981\u6ce8\u610f\u9009\u62e9\u6216\u66f4\u6362\u53ef\u4ee5\u8c03\u8282\u7535\u538b\u7684\u8f6c\u63a5\u5361\u4e3a\u4e0a\u7b56\u3002
\u30105\u3011\u8f6f\u4ef6\u8d85\u9891\uff1a
\u8f6f\u4ef6\u8d85\u9891\u662f\u5229\u7528\u8d85\u9891\u8f6f\u4ef6\u6765\u8fdb\u884c\u7684\uff0c\u4f8b\u5982\u6280\u5609\u7684\u4e3b\u677f\uff0c\u5c31\u6709\u53ef\u4ee5\u8f6f\u4ef6\u8d85\u9891\u7684\u578b\u53f7\u3002\u8fd9\u4e9b\u8f6f\u4ef6\u8d85\u9891\u7684\u4f8b\u5b50\u4f1a\u5728\u4ee5\u540e\u7684\u6587\u7ae0\u4e2d\u4ecb\u7ecd\u3002
\u4e00\u822c\u7684\u6765\u8bf4\uff0c\u8d85\u9891CPU\u53ea\u8981\u6309\u7167\u4ee5\u4e0a\u7684\u6b65\u9aa4\uff0c\u5e94\u8be5\u53ef\u4ee5\u505a\u5230\u8d85\u9891\u6210\u529f\u7684\uff0c\u81f3\u4e8e\u8d85\u9891\u7684\u5e45\u5ea6\uff0c\u5c31\u53d6\u51b3\u4e8e\u60a8\u7684\u673a\u5668 \u7684\u5404\u4e2a\u914d\u4ef6\u7684\u8d28\u91cf\u4e86\uff0c\u503c\u5f97\u6ce8\u610f\u7684\u662f\uff1a\u8d85\u9891\u4f1a\u7f29\u77edCPU\u7684\u5bff\u547d\uff0c\u5982\u679c\u60a8\u60f3\u8ba9\u73b0\u5728\u7684\u673a\u5668\u80fd\u4f7f\u7528\u4e2a\u5341\u5e74\u516b\u5e74\u7684\uff0c \u8fd8\u662f\u4e0d\u8981\u8d85\u9891\u4e3a\u597d\u3002\u4e0d\u8fc7\u73b0\u5728\u7535\u8111\u7684\u66f4\u65b0\u6362\u4ee3\u5b9e\u662f\u5feb\uff0c10\u5e74\u5bf9\u4e8e\u7535\u8111\u6765\u8bf4\uff0c\u592a\u6f2b\u957f\u4e86\u2026\u2026:-)
\u3010\u56db\u3011\u8d85\u9891\u663e\u5361
\u5bf9\u4e8e\u72c2\u70ed\u7684\u8d85\u9891\u7231\u597d\u8005\u6765\u8bf4\uff0c\u4efb\u4f55\u4e00\u4e2a\u8d85\u9891\u7684\u673a\u4f1a\u4e5f\u4e0d\u5bb9\u9519\u8fc7\uff0c\u663e\u5361\u662f\u7535\u8111\u4e2d\u7b2c\u4e8c\u4e2a\u53ef\u4ee5\u8d85\u9891\u7684\u5bf9\u8c61\uff0c\u81ea\u7136\u4e5f\u500d\u53d7\u9752\u7750\uff0c\u8d85\u9891\u663e\u5361\u4e5f\u8981\u770b\u663e\u5361\u7684\u82af\u7247\u6838\u5fc3\u5de5\u827a\uff0c\u8d8a\u5148\u8fdb\u7684\u8d8a\u8010\u8d85\u3002
\u8d85\u9891\u663e\u5361\u9664\u4e86\u8d85\u9891\u6838\u5fc3\u9891\u7387\u4ee5\u5916\uff0c\u8fd8\u53ef\u4ee5\u8d85\u9891\u663e\u5b58\u9891\u7387\uff0c\u4e3a\u4ec0\u5e7a\u5e02\u9762\u4e0a\u51fa\u73b0\u4e86\u5f88\u591a\u4f7f\u75285.5ns\u7684\u663e\u5b58\u7684\u663e\u5361\u5462? \u5c31\u662f\u56e0\u4e3a\u663e\u5b58\u7684\u53cd\u5e94\u65f6\u95f4\u8d8a\u5c0f\uff0c\u53ef\u8d85\u7684\u9891\u7387\u5c31\u8d8a\u9ad8\uff0c6ns\u663e\u5b58\u4e00\u822c\u4e5f\u80fd\u8d85\u5230200M\uff0c5.5ns\u81ea\u7136\u53ef\u8d85\u5230\u66f4\u9ad8\u3002\u8d85\u9891\u663e\u5b58\u53ef\u80fd\u4f1a\u5e26\u6765\u5f88\u591a\u70ed\u91cf\uff0c\u6211\u4eec\u53ef\u4ee5\u5728\u663e\u5b58\u4e0a\u7c98\u8d34\u6563\u70ed\u7247\u6765\u7f13\u89e3\u8fd9\u4e2a\u95ee\u9898\u3002
\u3010\u4e94\u3011\u8d85\u9891\u9f20\u6807
\u4e0d\u8981\u5947\u602a\uff0c\u8d85\u9891\u9f20\u6807\u662f\u6307\u8ba9\u9f20\u6807\u7684\u5237\u65b0\u7387\u589e\u52a0\uff0c\u4e0d\u4fe1\u4f60\u5feb\u901f\u6643\u52a8\u9f20\u6807\uff0c\u4f60\u4f1a\u53d1\u73b0\u5176\u5b9e\u9f20\u6807\u7684\u5149\u6807\u4e5f\u4e0d\u662f\u8fde\u7eed\u7684\uff0c\u4e00\u822c\u7684PS2\u9f20\u6807\u5237\u65b0\u7387\u662f80HZ\uff0c\u4e5f\u5c31\u662f\u8bf41\u79d2\u949f\u753b\u51fa80\u4e2a\u5149\u6807\u3002\u5f53\u7136\uff0c\u5237\u65b0\u7387\u662f\u8d8a\u9ad8\u8d8a\u597d\u7684\uff0c\u8fd9\u6837\u53ef\u4ee5\u4f7f\u5f97\u5149\u6807\u663e\u793a\u6548\u679c\u7ec6\u817b\uff0c\u6539\u53d8\u5237\u65b0\u7387\u662f\u901a\u8fc7\u8f6f\u4ef6\u66f4\u6539\u7684\uff0c\u76ee\u524d\u6709\u4e00\u6b3e\u8f6f\u4ef6\u53ebPS2PLUS\uff0c\u5b83\u53ef\u5c06PS2\u9f20\u6807\u7684\u5237\u65b0\u7387\u5237\u5230200\uff01\u62ff\u5e02\u9762\u4e0a\u968f\u5904\u53ef\u89c1\u7684\u666e\u901a\u7684\u53cc\u98de\u71d52D\u9f20\u6807\u6765\u8bd5\u9a8c\uff0c\u5f53\u8fd0\u884c\u5237\u65b0\u8f6f\u4ef6\u5c06\u5237\u65b0\u7387\u8c03\u6574\u5230200MHZ\u7684\u65f6\u5019\uff0c\u9f20\u6807\u53d8\u5f97\u975e\u5e38\u597d\u7528\uff0c\u70b9\u51fb\u51c6\u786e\uff0c\u79fb\u52a8\u5e73\u6ed1\uff0c\u611f\u89c9\u8ddf100\u591a\u5143\u7684\u7f57\u6280\u9f20\u6807\u76f8\u5f53\u5566\uff01\u4e0d\u82b1\u94b1\u5347\u7ea7\u4e86\u9f20\u6807\uff0c\u4f55\u4e50\u800c\u4e0d\u4e3a\uff01\u4f46\u8981\u6ce8\u610f\u8be5\u8f6f\u4ef6\u597d\u8c61\u4e0d\u80fd\u7528\u5728windows2000\u4e0b\uff0c\u4e14\u4e0d\u80fd\u6539\u53d8USB\u9f20\u6807\u7684\u5237\u65b0\u7387\uff0c\u597d\u5728USB\u9f20\u6807\u7684\u5237\u65b0\u7387\u5df2\u7ecf\u662f120\u4e86\uff0c\u57fa\u672c\u591f\u4e86\u3002\u5728\u524d\u6587\u63d0\u5230\u7684\u7f51\u5740\u53ef\u4ee5\u4e0b\u8f7d\u8be5\u8f6f\u4ef6\u3002
\u3010\u516d\u3011\u8d85\u9891\u5185\u5b58\u3001\u786c\u76d8
\u5343\u4e07\u522b\u6709\u8bef\u4f1a\uff0c\u8d85\u9891\u5185\u5b58\u548c\u786c\u76d8\uff0c\u5176\u5b9e\u662f\u4e0d\u592a\u53ef\u80fd\u7684\uff0c\u6211\u4eec\u6240\u8bf4\u7684\u8d85\u9891\uff0c\u5176\u5b9e\u662f\u6307\u63d0\u5347\u4e86CPU\u7684\u5916\u9891\u4e4b\u540e\uff0c\u603b\u7ebf\u9891\u7387\u4e0a\u5347\u4e86\u5e26\u6765\u7684\u5185\u5b58\u3001\u786c\u76d8\u7684\u5de5\u4f5c\u9891\u7387\u7684\u63d0\u9ad8\uff0c\u56e0\u4e3a\u8fd9\u4e24\u6837\u4e1c\u4e1c\u53ef\u6539\u53d8\u7684\u4e1c\u897f\u66f4\u5c11\u4e86\uff0c\u51e0\u4e4e\u5c31\u4e0d\u80fd\u505a\u4ec0\u5e7a\u624b\u811a\uff0c\u6240\u4ee5\u6700\u597d\u4e5f\u4e0d\u8981\u8fdb\u884c\u8d85\u9891\u5de5\u4f5c\u3002\u524d\u4e00\u9635\u5b50\u6709\u7684\u6587\u7ae0\u4ecb\u7ecd\u53ef\u4ee5\u8d85\u9891\u786c\u76d8\u8f6c\u901f\uff0c\u8fd9\u4e5f\u662f\u9a97\u4eba\u7684\u7a7a\u8c08\uff0c\u6ca1\u6709\u7406\u8bba\u57fa\u7840\u3002\u81f3\u4e8e\u5185\u5b58\u7684CAS=2\u548c=3\u4e4b\u5206\uff0c\u6548\u679c\u4e5f\u662f\u5f88\u5c0f\u7684\uff0c\u53ef\u5ffd\u7565\u4e0d\u8ba1\u3002
\u3010\u4e03\u3011\u8d85\u9891\u6d4b\u8bd5
\u6210\u529f\u7684\u8d85\u9891\uff0c\u5e94\u8be5\u7981\u5f97\u8d77\u4e25\u683c\u7684\u6d4b\u8bd5\uff0c\u4e00\u822c\u662f\u7cfb\u7edf\u6b63\u5e38\u8fd0\u884c\uff0c\u8f6f\u4ef6\u8fd0\u884c\u7a33\u5b9a\uff0c\u8fd0\u884c\u5404\u79cd\u6d4b\u8bd5\u8f6f\u4ef6\u8868\u793a\u6027\u80fd\u786e\u5b9e\u7a33\u5b9a\uff0c\u65e0\u5176\u5b83\u6545\u969c\u51fa\u73b0\u5373\u53ef\u3002
\u3010\u516b\u3011\u51e0\u79cd\u8d85\u9891\u6027\u80fd\u5f88\u597d\u7684CPU\u4ecb\u7ecd
\u5f88\u591a\u670b\u53cb\u7684\u8d85\u9891\u7ecf\u5386\u544a\u8bc9\u6211\u4eec\uff0c\u5982\u4e0b\u7684\u51e0\u6b3eCPU\u8d85\u9891\u6027\u80fd\u5f88\u597d\uff1a
1\uff09PIII550E\u3001PIII650E\u6bd4\u8f83\u597d\u8d85\u3002
2\uff09duron\uff0c\u751f\u4ea7\u65e5\u671f\u9760\u540e\u7684\u6bd4\u8f83\u597d\u8d85\u3002
\u60f3\u6765\u73b0\u5728\u4e3b\u8981\u4e5f\u53ea\u6709\u8fd9\u51e0\u79cd\u4e1c\u897f\u53ef\u4ee5\u8d85\u9891\u4e86\uff0c\u5982\u679c\u60a8\u5df2\u7ecf\u6210\u529f\u7684\u8d85\u9891\u4e86\uff0c\u5e76\u4e14\u5f88\u7a33\u5b9a\uff0c\u90a3\u5e7a\u606d\u559c\u60a8\u5df2\u7ecf\u5b8c\u6210\u4e86\u5c11\u82b1\u94b1\u5347\u7ea7\u7684\u76ee\u6807\uff0c\u4f46\u5982\u679c\u60a8\u8fbe\u4e0d\u5230\u60a8\u7684\u76ee\u7684\u6216\u8005\u51fa\u73b0\u4e86\u8d85\u9891\u5931\u8d25\uff0c\u4e5f\u4e0d\u7528\u7070\u5fc3\u4e27\u6c14\uff0c\u6211\u4eec\u6765\u770b\u770b\u8d85\u9891\u5931\u8d25\u7684\u51e0\u79cd\u73b0\u8c61\u3002
\u3010\u8d85\u9891\u5931\u8d25\u73b0\u8c61\u5c0f\u7ed3\u3011
\u73b0\u8c61\u4e00\uff1a\u7cfb\u7edf\u53ef\u4ee5\u542f\u52a8\uff0c\u4f46\u8fd0\u884c\u5927\u7684\u8f6f\u4ef6\u7684\u65f6\u5019\u6b7b\u673a\uff0c\u800c\u4e14\u65f6\u5feb\u65f6\u6162\u3002 \u5206\u6790\u548c\u89e3\u51b3\uff1a\u6b64\u65f6\u60a8\u7684\u7cfb\u7edf\u5df2\u7ecf\u8fbe\u5230\u74f6\u9888\uff0c\u82e5\u4e0d\u80fd\u7565\u5fae\u964d\u4f4eCPU\u4e3b\u9891\uff0c\u5219\u5e94\u8be5\u5229\u7528\u63d0\u5347\u7535\u538b\u3001\u589e\u52a0\u6563\u70ed\u6548\u679c\u7b49\u624b\u6bb5\u6765\u4f7f\u4e4b\u7a33\u5b9a\u4e0b\u6765\u3002
\u73b0\u8c61\u4e8c\uff1a\u7535\u8111\u53ef\u4ee5\u542f\u52a8\uff0c\u4f46\u8fdb\u4e0d\u4e86\u64cd\u4f5c\u7cfb\u7edf\u3002\u5206\u6790\u548c\u89e3\u51b3\uff1a\u60a8\u7684\u7535\u8111\u5904\u5728\u4e0d\u80fd\u542f\u52a8\u7684\u8fb9\u7f18\uff0c\u60a8\u5e94\u8be5\u964d\u4f4e\u8d85\u9891\u5e45\u5ea6\u4ee5\u6c42\u5f97\u7a33\u5b9a\u3002
\u73b0\u8c61\u4e09\uff1a\u7535\u8111\u4e0d\u80fd\u542f\u52a8\uff0c\u5b8c\u5168\u9ed1\u5c4f\u3002\u5206\u6790\u548c\u89e3\u51b3\uff1a\u8d85\u7684\u592a\u9ad8\u4e86\uff0c\u5bfc\u81f4CPU\u8fd0\u7b97\u9891\u7e41\u51fa\u9519\u800c\u65e0\u6cd5\u6b63\u5e38\u5de5\u4f5c\uff0c\u522b\u592a\u8d2a\u5fc3\uff0c\u5c11\u8d85\u4e00\u70b9\u5566\u3002
\u73b0\u8c61\u56db\uff1a\u7cfb\u7edf\u53ef\u4ee5\u542f\u52a8\uff0c\u4f46\u5c4f\u5e55\u65f6\u800c\u51fa\u73b0\u6591\u5757\u82b1\u70b9\u3002\u5206\u6790\u548c\u89e3\u51b3\uff1a\u663e\u5361\u9876\u4e0d\u4f4f\u4e86\uff0c\u53ef\u8003\u8651\u964d\u4f4e\u663e\u5361\u7684\u8d85\u9891\u5e45\u5ea6\u6216\u8005\u603b\u7ebf\u7684\u8d85\u9891\u5e45\u5ea6\u3002
\u73b0\u8c61\u4e94\uff1a\u7cfb\u7edf\u5176\u5b83\u677f\u5361\u5de5\u4f5c\u4e0d\u6b63\u5e38\u3002\u4f46\u7cfb\u7edf\u7a33\u5b9a\u3002\u5206\u6790\u548c\u89e3\u51b3\uff1a\u60a8\u7684\u4e3b\u677f\u8bbe\u8ba1\u4e0d\u826f\uff0c\u5bfc\u81f4\u8d85\u9891\u4e4b\u540e\u7684\u7535\u78c1\u5e72\u6270\u589e\u52a0\uff0c\u5f71\u54cd\u677f\u5361\u7684\u5de5\u4f5c\u7a33\u5b9a\u6027\uff0c\u53ef\u4ee5\u6362\u5230\u8ddd\u79bb\u6bd4\u8f83\u8fdc\u7684 \u63d2\u69fd\u91cd\u65b0\u8bd5\u9a8c\uff0c\u6216\u8005\u66f4\u6362\u6297\u5e72\u6270\u80fd\u529b\u5f3a\u7684\u677f\u5361\u3002
\u6700\u540e\uff0c\u8fd8\u8981\u91cd\u7533\u8d85\u9891\u7684\u539f\u5219\uff0c\u662f\u5408\u7406\u8d85\u9891\uff0c\u9002\u5ea6\u8d85\u9891\uff0c\u5982\u679c\u56e0\u4e3a\u4e00\u5473\u8ffd\u6c42\u8d85\u9891\u800c\u4f7f\u7cfb\u7edf\u4e0d\u7a33\u5b9a\uff0c\u90a3\u5012\u4e0d\u5982\u4e0d\u8d85\u9891\uff0c\u7a33\u5b9a\u4f7f\u7528\u5b83\u6bd4\u8f83\u8212\u670d\u3002\u6bd5\u7adf\u7535\u8111\u662f\u8ba9\u6211\u4eec\u6765\u4f7f\u7528\u7684\uff0c\u800c\u4e0d\u662f\u505a\u8bd5\u9a8c\u7684
\u5982\u679c\u4f60\u771f\u7684\u50cf\u81ea\u5df1\u8bf4\u7684\u90a3\u6837\u83dc\uff0c\u4f60\u5c31\u5e94\u8be5\u53bb\u597d\u597d\u5b66\u4e60\u7f16\u7a0b\u57fa\u7840\u77e5\u8bc6\uff0c\u800c\u4e0d\u662f\u5728\u8fd9\u91cc\u95ee\u522b\u4eba\u4ec0\u4e48\u662f\u6e90\u4ee3\u7801\u4e0e\u5982\u4f55\u4f7f\u7528\u6e90\u4ee3\u7801\u4e86\u3002
\u6211\u4eec\u901a\u5e38\u8bf4\u7684\u6e90\u7801\uff08Source Code\uff09\u5373\u8ba1\u7b97\u673a\u7a0b\u5e8f\u7684\u9ad8\u7ea7\u8bed\u8a00\u6e90\u7a0b\u5e8f\uff0c\u4e5f\u5c31\u662f\u7528\u7279\u5b9a\u7f16\u7a0b\u8bed\u8a00\u7f16\u5199\u7684\u7f16\u7801\u3002\u4f60\u901a\u8fc7\u7814\u7a76\u5b83\u5c31\u53ef\u4ee5\u77e5\u9053\u4e00\u4e9b\u7279\u5b9a\u529f\u80fd\u7684\u5b9e\u73b0\u65b9\u6cd5\u4e0e\u6539\u8fdb\u6280\u5de7\uff0c\u4e5f\u53ef\u4ee5\u901a\u8fc7\u516c\u5e03\u6e90\u7a0b\u5e8f\u6765\u8ba9\u5927\u5bb6\u4e3a\u60a8\u7684\u4f5c\u54c1\u63d0\u51fa\u5efa\u8bae\u3002
\u4e0d\u9519\u7684\u7f51\u7ad9\u6709 \u6e90\u7801\u5929\u7a7a\uff08\u4e0b\u8f7d\u5176\u6e90\u7801\u65f6\u6ce8\u610f\uff0c\u53ef\u80fd\u8bef\u4e0b\u6728\u9a6c\uff0c\u597d\u50cf\u662f\u4e00\u4e2a\u4ee5 1106.exe \u4e3a\u540d\u5b57\u7684\u53ef\u6267\u884c\u6587\u4ef6\uff0c\u8981\u70b9\u4e0b\u9762\u4e00\u4e2a\u6bd4\u8f83\u5c0f\u7684\u201c\u4e0b\u8f7d\u5730\u5740\u201d\uff09
\u53e6\u5916\uff0c\u5230\u767e\u5ea6\u4e2d\u4ee5\u201c\u6e90\u7801\u201d\u4e3a\u5173\u952e\u5b57\u641c\u7d22\u5373\u53ef\u5f97\u5230\u5f88\u591a\u7ed3\u679c\uff1a
http://www.baidu.com/s?wd=%D4%B4%C2%EB
#include "stdafx.h"
#include<stdio.h>
#include<malloc.h>
#define maxsize 201//原来有分号应去掉
typedef int datatype;
typedef struct /*定义一个栈*/
{
datatype stack[maxsize];
int top;
}seqstack;
seqstack *s;
seqstack *Initstack() /*构建一个空栈*/
{
seqstack *s;
s=(seqstack * )malloc(sizeof(seqstack));
return s;//应返栈
}
datatype Gettop(seqstack * s)
{
if(s->top==-1)
return 0;
else
return s->stack[s->top];
}
seqstack *push(seqstack * s,datatype x)
{
if(s->top==maxsize-1)
return NULL;
else
s->top++;
s->stack[s->top]=x;
return s;
}
datatype pop(seqstack * s)
{
if(s->top==-1)
return 0;
s->top--;
return s->stack[s->top+1];
}
int stackempty(seqstack *s)
{
if(s->top==-1)
return 1;
else
return 0;
}
int main()
{
int ri,repeat,i,j,n,m,s,k;
char ch[201];
int match(char ch[]);
scanf("%d",&repeat);
for(ri=0;ri<repeat;ri++){
scanf("%d",&n);
scanf("%s",ch);
k=match(ch);//这里调用写法有错误
if(k==1)
printf("no\n");
else
printf("yes\n");
}
return 0;
}
int match(char ch[]){
int i=0;
seqstack *s;
s=Initstack();
while(ch[i])
{
switch(ch[i])
{
case')':push(s,ch[i]);break;
case'(':if(!stackempty(s)&&Gettop(s)==')')
{
pop(s);
break;
}
}
i++;
}
return (stackempty(s));
}
经改后,程序能运行,但结果有问题
绛旓細Status Initlist_Sq(SqList &L){ L.elem = (ElemType * )malloc(LIST_INIT_SIZE*sizeof(ElemType)) ;//鍦ㄤ笂涓鍙ヤ腑鏄寚瀹¤浜咵lemType绫诲瀷鐨凩IST_INIT_SIZE鏁伴噺鐨勭┖闂淬(ElemType * )鏄寚鎶婂璇风殑绌洪棿鍦板潃寮哄埗杞寲鎴怑lemType绫诲瀷鐨勬寚閽堢粰浜哃.elem if(!L.elem )exit(OVERFLOW);L.length = 0...
绛旓細浣犵▼搴忕殑闂鍑哄湪杩欎箞鍑犱釜鍦版柟锛1 浣犳彁鍒扮殑涔︿腑浼唬鐮佹暟缁勭0涓厓绱犵敤鏉ュ瓨鏀炬暣涓暟缁勬湁鏁堝厓绱犵殑涓暟锛屽畠鎵鎻愬強鐨勪覆鏄竴绉嶉氱敤鐨勪覆锛屽苟涓嶄粎闄愪簬char鍨嬨傝屼綘鍦ㄤ唬鐮佷腑鍒濆鍖栨暟缁勬椂锛屽苟娌℃湁鐢⊿[0]鏉ュ瓨鍌ㄥ瓧涓插瓧绗﹂暱搴︼紝骞朵笖浣跨敤浜唖trlen锛堝垽鏂'\0'鍑虹幇鍓嶇殑瀛楃涓暟锛夎繖鏍风殑鍑芥暟銆傜畝鍗曟潵璇达紝浣犵殑char...
绛旓細杩欐槸姣旇緝甯哥敤鍒扮殑澶存枃浠 2.typedef struct{ SElemtype *base;SElemtype *top int stacksize;}SqStack;浠ヤ笂涓哄0鏄庝竴涓粨鏋勪綋锛屽苟鐢⊿qStack浣滀负杩欎釜缁撴瀯浣撳悕锛岀粨鏋浣撳嵆涓烘垜浠嚜宸卞畾涔鐨勬暟鎹绫诲瀷銆傚叾涓璼elemtype涔熸槸涓涓嚜瀹氫箟鐨勭粨鏋浣撳悕锛屽叿浣撲唬琛ㄤ粈涔堣繕瑕佺湅鍏蜂綋鐨勪唬鐮併俧or(p=str;*p;p++)浼拌鏄啓閿欎簡...
绛旓細4銆佺敱浜庡垰寮濮嬪锛屽鏋滅湅涓嶈繘涔︼紝鍙互鍒扮綉涓婁笅瑙嗛鏁欑▼锛岀粨鍚堢潃鐪嬶紝鏁堟灉杈冨ソ 5銆佺紪绋嬫槸瑕佸疄璺电殑锛屼竴瀹氳澶氱粌鐨勶紝鎵嬪ご鏈濂芥湁鏈皬瀹炰緥鐨勪功锛屽浜嗙偣鐞嗚鐭ヨ瘑灏辩湅鐪嬫湁娌℃湁灏忓疄渚嬪彲浠ョ紪鐨勶紝杩欎簺灏忓疄渚嬩綘杩樺彲浠ラ氳繃涓嶆柇鏀癸紝鍘诲疄鐜颁竴浜涗綘鎯宠鐨勫姛鑳斤紝杩欐牱鐨勫涔杩涙姣旇緝蹇紱缂栦簡鐐瑰皬瀹炰緥锛屼綘鍙互鍘荤湅澶х偣...
绛旓細璇█琚紪璇戞垚璁$畻鏈哄彲浠ヨ瘑鍒殑鏈哄櫒鐮佹椂,鏈変竴涓棶棰樺氨鍑哥幇鍑烘潵:鍦–PU涓,璁$畻鏈烘病鏈夊姙娉曠煡閬撲竴涓嚱鏁拌皟鐢ㄩ渶瑕佸灏戜釜銆佷粈涔堟牱鐨勫弬鏁,涔熸病鏈夌‖浠跺彲浠ヤ繚瀛樿繖浜涘弬鏁般備篃灏辨槸璇,璁$畻鏈轰笉鐭ラ亾鎬庝箞缁欒繖涓嚱鏁颁紶閫掑弬鏁,浼犻掑弬鏁扮殑宸ヤ綔蹇呴』鐢卞嚱鏁拌皟鐢ㄨ呭拰鍑芥暟鏈韩鏉ュ崗璋冦備负姝,璁$畻鏈烘彁渚浜嗕竴绉嶈绉颁负鏍堢殑鏁版嵁缁撴瀯鏉ユ敮鎸佸弬鏁颁紶閫...
绛旓細棣栧厛杩欐浠g爜涓嶆槸鍏ㄩ儴銆傚彧鍙兘鏄▼搴鐨勪竴閮ㄥ垎锛屽苟涓旀槸瀹氫箟鍦╩ain鍑芥暟涔嬪鐨勯儴鍒嗐俿tudent stu[100];//姝ゅ瀹氫箟浜100涓猻tudent鏁版嵁绫诲瀷鐨勫璞★紝student鏄被鍚嶃俰nt n=0;//杩欐槸鐢ㄦ潵璁板綍杈撳叆鐨勪汉鏁扮殑鍙橀噺 void student::add()//student搴旇鏄竴涓被鑰屼笉鏄鏁版嵁缁撴瀯锛鍥犱负c++涓殑缁撴瀯鏄笉鑳芥湁鍑芥暟鎴愬憳 /...
绛旓細1锛鑻ュ乏瀛愭爲鐢ㄤ簩杩涘埗缂栫爜鐨0锛屽彸瀛愭爲鐢1琛ㄧず锛屽垯锛欰:101 B:11 C:10000 D:1001 E:0 F:10001 鎻愮ず锛氬搱寮楁浖缂栫爜鏄潪绛夐暱缂栫爜锛屾槸涓轰簡鍑忓皯缂栫爜鐨勯噸澶嶃傚厛閫変袱涓嚭鐜版鐜囨渶灏忕殑瀛楁瘝浣滀负鍙跺瓙鑺傜偣锛屼互瀹冧滑鐨勫叧閿瓧鐩稿姞鐨勫拰涓哄叧閿瓧鐢熸垚涓涓柊鑺傜偣锛屾妸鏂拌妭鐐瑰姞鍏ュ師鏉ョ殑闆嗗悎鍐嶉夋嫨鍑虹幇姒傜巼鏈灏忕殑涓や釜鑺傜偣...
绛旓細瀵规ゼ涓婄殑绛旀鍐嶅仛涓鐐硅ˉ鍏呭惂锛屽洜涓篏etLocalTime杩欎釜鍑芥暟鍙傛暟姣旇緝澶嶆潅锛岃冭檻鍒版ゼ涓绘槸鍒濆锛屾垜鏉ヨ瑙d竴涓嬨俻rocedure GetLocalTime(var lpsystemtime:_SystemTime);鍏朵腑_SystemTime=TSystemTime;鍏蜂綋瀹氫箟鏄繖鏍风殑锛氬湪Delphi涓皢鍑犱箮鎵鏈塛indows涓鐨勬暟鎹粨鏋鐢―elphi鐨勮娉曢噸鏂板畾涔変簡锛岃繖浜涘畾涔変竴鑸兘鏀惧湪Windows.pas涓...
绛旓細鍐典笖锛屼綔涓轰竴涓熀纭缂栫▼浜哄憳鏉ヨ锛屼笂闈㈣繕鏈夌郴缁熷垎鏋愬笀銆侀」鐩粡鐞嗭紝浠栦滑浼氭妸闇姹傚垎鏋愩佹瑕佽璁″拰璇︾粏璁捐鍋氬ソ鐨勶紝浣犲彧瑕佹寜鐓ф枃妗e啓浠g爜灏監K浜嗐備笉杩囷紝瑕佷笂鏇翠笂涓姝ョ殑璇濓紝鍏朵粬鍩虹鐭ヨ瘑灏遍潪甯搁噸瑕佷簡锛屾瘯绔熶綘涓嶈兘鍐欎竴杈堝瓙浠g爜銆傚湪浣犲涔犲ソC璇█浠ュ悗锛屼釜浜哄缓璁ソ濂瀛︿範涓涓鏁版嵁缁撴瀯鍜岃蒋浠跺伐绋嬨傝繖涓ら棬瀵逛綘鐨...
绛旓細鍏堝涓闂ㄨ瑷 渚嬪 C VB JAVA 绛 鐒跺悗鍙傝冧竴浜涚畝鍗曠殑绋嬪簭 瀹炰緥 浠g爜 鎬荤粨涓嬪叾涓殑瑙勫緥 鐒跺悗杩囨浮鍒板井杞殑VS杞欢 鐩墠鏈鏂癡S2008 鎱㈡參寮濮嬩綘鐨勭紪绋嬬敓娲诲惂