![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
C++
ysu_Dsy
这个作者很懒,什么都没留下…
展开
-
C语言必背18个经典程序
转载置:xzm_cn https://blog.csdn.net/sakawa_x/article/details/17590507 C语言必背18个经典程序1、/*输出9*9口诀。共9行9列,i控制行,j控制列。*/#include "stdio.h"main(){int i,j,res...转载 2018-11-03 19:44:45 · 298 阅读 · 0 评论 -
C++ assert.h头文件
转载置:https://blog.csdn.net/wordwarwordwar/article/details/39551697 NVIDIA面试笔试题之一:assert.h是c标准库的一个头文件,该头文件的主要目的就是提供一个assert的宏定义。assert只是对所给的表达式求值,就像if判断语句中一样,然后如果该值为真则正...转载 2018-11-05 20:01:27 · 345 阅读 · 0 评论 -
C++多线程学习
C++多线程学习1.创建线程的方法Thread,引用头文件#include< thread>,创建线程后,线程开始执行。2.join()阻塞主线程,直到子线程执行完毕,再返回主线程。3.detach()切断主线程和子线程联系,不要求一定完成子线程,一般情况下不使用detach(),使用时可能发生未知错误。4.使用detach()后,不能join(),同样使用join()后,也不...原创 2019-06-21 19:27:26 · 133 阅读 · 0 评论