cplusplus

语法相关

  • const void* a 与 void* const a的区别

    前者的const修饰的是 *a, 者意味着可以改变a的值, 但不可改变 *a 的值, 后者的const修饰的是 a

小技巧

在jupyter notebook 中使用c++

https://zhuanlan.zhihu.com/p/82025119


   转载规则


《cplusplus》 GeekOcean 采用 知识共享署名 4.0 国际许可协议 进行许可。
  目录