C/C++ - switch
在C/C++语言中, switch 语句的通用格式为 switch (int_expr) { case label1: statement(s) case label2: statement(s) ... default: statement(s) } 顾名思义, int_expr 必须是一个结果为整数值的表达式。另外,每个标签都必须是整数常量表达式。最常见的标签是 int 或 char 常量( …
在C/C++语言中, switch 语句的通用格式为 switch (int_expr) { case label1: statement(s) case label2: statement(s) ... default: statement(s) } 顾名思义, int_expr 必须是一个结果为整数值的表达式。另外,每个标签都必须是整数常量表达式。最常见的标签是 int 或 char 常量( …
It has been quite a long time for me not to write and publish blog since Google blogspot and WordPress were blocked. Recently, I have built a new blog site on GitHub. This post is just written to …
Aurora is an excellent LaTeX addon, which enables LaTeX based mathematical support, including a variety of symbols and equations. For Microsoft Office-32, there is a dedicated tab for Aurora in Word. …
Introduction Threadpool is a C++ thread pool written by Philipp Henkel based on boost library. It provides a variety of thread pools with easy usage. Installation As a prequisite, boost library …