Visual Studio Code for C++ development on MacOS

I've tried lot's of c++ IDEs on MacOS X, but none of them is as powerful as VS Studio on Windows. It's always hard for me to choose an IDE before I want to write some code, as it's called the Selection phobia. Generally we have the following choose:

  • Vim/Emacs (I'm familiar with VIM but it's still not an easy way, for me)
  • CodeBlocks (not good maintained on MacOS)
  • CodeLite (it's a good choose!)
  • XCode (I just don't like it, Heavy and ugly, can't get used to it)
  • QT Creator (it's useful especially when developing Qt projects)
  • Eclipse CDT
  • NetBeans
  • CLion (maybe the best c++ IDE on MaxOS, unfortunately does not have a free version)
  • Textmate

Recently I tried Visual Studio Code, it's really a good choose for those who want to write some c++ code in a lightweight IDE. [阅读更多...]


随机数顾名思义就是你无法确定的一个数(但是你可以设定一个范围),就好比彩票摇号一样,所有可能的组合是知道的,但是到底会摇出个什么数字出来,谁都不知道。否则我早就买彩票去了😂 那随机数是怎么生成出来的? [阅读更多...]