strcmp在c++
时间: 2023-08-28 17:17:02 浏览: 88
回答: strcmp是C语言中的字符串比较函数。它用于比较两个字符串的大小。根据提供的引用内容,有三种不同的实现方式。这些实现方式在细节上略有不同,但都是用来比较两个字符串是否相等,并根据比较结果返回不同的值。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* [解析C语言strcmp()函数](https://blog.csdn.net/y2184107562/article/details/129306527)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT0_1"}}] [.reference_item style="max-width: 50%"]
- *2* *3* [C++的strcmp](https://blog.csdn.net/sinat_31608641/article/details/106664582)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT0_1"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文