开发者

C++ volatile关键字

0
  • C++中的volatile关键字及其作用

    volatile是C语言的一个关键字,该关键字的作用是保持内存的可见性 例子: 我们对2号信号进行了捕捉,当该进程收到2号信号时会将全局变量flag由0置1, 也就是说,在进程收到2号信号之前,该进程会一直处于死循环状态,直到收[详细]

    2023-04-19 11:00 分类:开发
  • Eclipse's Visual Studio Ctrl+Tab and Ctrl+Shift+Tab Equivalent

    In Visual Studio, I always use Ctrl+Tab and Ctrl+Shift+Tab to navigate between documents. I see that Eclipse has Ctrl+F6 to navigate between editors, but this isn\'t nearly the same behavior. The diff[详细]

    2022-12-28 16:09 分类:问答