sscanf 返回值
时间: 2023-10-15 12:06:08 浏览: 106
sscanf()函数返回成功匹配并存储的输入项的数量。 如果成功匹配了一个输入项,返回值为1;如果没有匹配成功,返回值为0。 例如,在一个字符串中使用sscanf()函数,如果成功匹配了三个变量,返回值就是3。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *2* [【C++】sscanf 的返回值](https://blog.csdn.net/u014248312/article/details/102524308)[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^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
- *3* [Sscanf函数 及其用法](https://blog.csdn.net/asmqv360391614/article/details/101102526)[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^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文