摘要:
STATE_CONDVAR The thread is blocked on a condition variable (e.g., it called pthread_cond_wait()). STATE_DEAD The thread has terminated and is waiting 阅读全文
摘要:
QNXCommands Explanation Unix Command use Print a usage message man pwd Determine your current directory where cd Change directory Cd cp Copy files and 阅读全文
摘要:
new是C++提供的用于动态申请存储空间的运算符。一、new的使用。new+数据类型(初值),返回值为申请空间的对应数据类型的地址。1.使用new申请一个对象 float *p = new float(10);//申请了一个初值为10的浮点数据 2.使用new申请数组 int *array = ne 阅读全文