staticvoidMain(string[] args) { Program pp = new Program(); pp.PrintDelayAsync("Hello"); int n = 1; while (n <= 10) { Console.WriteLine("{0} Hello in main thread.", n); n++; Thread.Sleep(500); } }
publicclassSDK { publicdelegatevoidCallBack(string RealData); privatestring videoStream_1 = "I am the video stream 1 and palying."; privatestring videoStream_2 = "I am the video stream 2 and playing.";
server { listen 80; listen [::]:80; root /var/www/hexo; # 修改的地方 server_name godricguo.top www.godricguo.top; #如果需要改域名访问,修改server_name 为域名便可 location / { # First attempt to serve request as file, then # as directory, then fall back to displaying a 404. try_files $uri $uri/ =404; } }
C++已经流行多年,问别人该学什么编程语言,基本没有推荐C++的;现在刚入门机器视觉,也在一开始听着网上老司机学Python,Python学得一知半解,如果说只是写个算法来达到某种目标,Python学Python,Python学得一知半解,如果说只是写个算法来达到某种目标,Python+OpenCV肯定是能行的,但是不同项目可能有这样或那样的要求,如果只会一点点Python,确实有点缺乏说服力,所以就转头开始学习C++。 学习C++的时候,找到一本大牛写的书–C++入门经典by Walter Savitch,通俗易懂,而且讲得都是重要的知识点,不会在某些晦涩深奥的地方浪费半点笔墨。而且这本在前言中有各章节的依赖关系,如果想针对某个方面学习,可以按照依赖图跳着学,这样效率非常高。