摘要: 1.整数反转输出 1 #include <iostream> 2 using namespace std; 3 int main() 4 { 5 int n, _n, newname = 0; // int取值范围:0 到 4294967295(232 - 1) 6 cout << "请输入一个小于 阅读全文
posted @ 2020-01-22 16:11 ꧁执笔小白꧂ 阅读(325) 评论(0) 推荐(0)
摘要: 例1,输出最大值 1 #include <iostream> 2 #include <iomanip> 3 using namespace std; 4 int main(void) 5 { 6 int a[2][3] = { { 15,34,23 },{ 54,27,65 } }; // 二维数组 阅读全文
posted @ 2020-01-22 15:42 ꧁执笔小白꧂ 阅读(231) 评论(0) 推荐(0)
摘要: 在C++中,setw(int n)用来控制输出间隔。 1 #include <iostream> 2 #include <iomanip> 3 using namespace std; 4 int main(void) 5 { 6 int i; 7 int f[20] = { 1,1 }; 8 fo 阅读全文
posted @ 2020-01-22 14:59 ꧁执笔小白꧂ 阅读(413) 评论(0) 推荐(0)
摘要: endl :end line ,换行 例:cout << endl; 阅读全文
posted @ 2020-01-22 14:55 ꧁执笔小白꧂ 阅读(2828) 评论(0) 推荐(0)
摘要: OOM,全称“Out Of Memory”,翻译成中文就是“内存用完了”,来源于java.lang.OutOfMemoryError。 原文:https://blog.csdn.net/qq_42447950/article/details/81435080 阅读全文
posted @ 2020-01-22 11:36 ꧁执笔小白꧂ 阅读(752) 评论(0) 推荐(0)
摘要: robots协议也叫robots.txt(统一小写)是一种存放于网站根目录下的ASCII编码的文本文件,它通常告诉网络搜索引擎的漫游器(又称网络蜘蛛),此网站中的哪些内容是不应被搜索引擎的漫游器获取的,哪些是可以被漫游器获取的。因为一些系统中的URL是大小写敏感的,所以robots.txt的文件名应 阅读全文
posted @ 2020-01-22 09:59 ꧁执笔小白꧂ 阅读(311) 评论(0) 推荐(0)