摘要:
c++ 生成随机数 #include #include #include using namespace std;int main(){ int i,j; srand( (unsigned)time(NULL)); /*生成... 阅读全文
posted @ 2022-08-19 22:54
luoganttcc
阅读(10)
评论(0)
推荐(0)
摘要:
#include #include #include using namespace std;int main(){ int i... 阅读全文
posted @ 2022-08-19 22:54
luoganttcc
阅读(10)
评论(0)
推荐(0)
摘要:
#include #include #include using namespace std;int main(){ int i... 阅读全文
posted @ 2022-08-19 22:54
luoganttcc
阅读(10)
评论(0)
推荐(0)
摘要:
#include #include using namespace std; int main (){ // 数字定义 sh... 阅读全文
posted @ 2022-08-19 22:54
luoganttcc
阅读(14)
评论(0)
推荐(0)
摘要:
#include #include using namespace std; int main (){ // 数字定义 sh... 阅读全文
posted @ 2022-08-19 22:54
luoganttcc
阅读(16)
评论(0)
推荐(0)
摘要:
c++ 数学运算 #include #include using namespace std; int main (){ // 数字定义 short s = 10; int i = -1000; long l... 阅读全文
posted @ 2022-08-19 22:54
luoganttcc
阅读(8)
评论(0)
推荐(0)
摘要:
c++ static 存储类 static 存储类 static 存储类指示编译器在程序的生命周期内保持局部变量的存在,而不需要在每次它进入和离开作用域时进行创建和销毁。因此,使用 static 修饰局部变量可以在函数调用之间保持局部变... 阅读全文
posted @ 2022-08-19 22:54
luoganttcc
阅读(8)
评论(0)
推荐(0)
摘要:
#include using namespace std;/* * 这个程序演示了有符号整数和无符号整数之间的差别*/int ma... 阅读全文
posted @ 2022-08-19 22:54
luoganttcc
阅读(19)
评论(0)
推荐(0)
摘要:
#include using namespace std;/* * 这个程序演示了有符号整数和无符号整数之间的差别*/int ma... 阅读全文
posted @ 2022-08-19 22:54
luoganttcc
阅读(13)
评论(0)
推荐(0)
摘要:
c++ #define #include using namespace std;#define LENGTH 10 #define WIDTH 5#define NEWLINE '\n'int main(){ int are... 阅读全文
posted @ 2022-08-19 22:54
luoganttcc
阅读(4)
评论(0)
推荐(0)

浙公网安备 33010602011771号