摘要:
#include<time.h>//c语言 #include<ctime>//c++ srand((unsigned int )time(NULL)); 阅读全文
posted @ 2020-12-10 20:23
loliconsk
阅读(34)
评论(0)
推荐(0)
摘要:
const的修饰 1.const修饰指针 int b = 1; const int * p ; //这是常量指针 //指针指向的值不可以改变,但是指针的指向可以改变 //*p = 20;错误 //p = &b;正确 2.const修饰常量 int b = 1; int * const p ; //这 阅读全文
posted @ 2020-12-10 13:32
loliconsk
阅读(62)
评论(0)
推荐(0)

浙公网安备 33010602011771号