随笔分类 - C++ 随笔
c++ 练手代码
摘要:#include <stdio.h> #include <stdlib.h> #define ERROR -1 #define SUCCESS 0 struct list_node { int data; struct list_node *next; /* data */ }; typedef s
阅读全文
摘要:话不多说,先上代码。 #include <stdio.h> #include <iostream> #include <unistd.h> #include <thread> #include <sys/types.h> enum status { debug = 0, info, warn, fa
阅读全文