【机器视觉】 default算子 素颜马尾好姑娘i 2022-10-07 05:59 153阅读 0赞 ## 00. 目录 ## ### 文章目录 ### * * 00. 目录 * 01. 概述 * 02. 签名 * 03. 描述 * 04. 注意 * 05. 参数 * 06. 结果 * 07. 附录 ## 01. 概述 ## default - switch段中的默认分支。 ## 02. 签名 ## `default( : : : )` ## 03. 描述 ## default在switch段中开放备用分支。 如果switch语句的控制表达式的计算结果不匹配前面的case语句的任何整数常量,则访问该分支。 **原文描述**: default opens an alternative branch in a switch block. This branch is accessed if the calculated control expression of the switch statement does not match any of the integer constants of the previous case statements. ## 04. 注意 ## 无 ## 05. 参数 ## 无 ## 06. 结果 ## default(作为算子)总是返回2(H\_MSG\_TRUE)。 **HDevelop例程** > switch\_case.hdev Use switch/case statement for a multiway branch **程序示例** ## 07. 附录 ## **7.1 机器视觉博客汇总** 网址:[https://dengjin.blog.csdn.net/article/details/116837497][https_dengjin.blog.csdn.net_article_details_116837497] [https_dengjin.blog.csdn.net_article_details_116837497]: https://dengjin.blog.csdn.net/article/details/116837497
还没有评论,来说两句吧...