摘要: 根据解析图片文件Uri,仿写了一个选择音频文件,ContentResoler解析返回的uri值发现是个空值。 待深入学习后,回头继续研究。 阅读全文
posted @ 2021-03-03 23:07 木屋小丑 阅读(126) 评论(0) 推荐(0)
摘要: 下载地址:https://www.apachelounge.com/download/ 下载后解压到英文路径下(不能包含中文) 安装: 使用管理员身份运行命令行: 进入Apache 解压路径中的 bin 目录 输入 httpd.exe ‐k install ‐n "Apache" 根据问题上网搜查 阅读全文
posted @ 2021-01-25 15:09 木屋小丑 阅读(215) 评论(0) 推荐(0)
摘要: 下载glut 网上很容易搜到 glut.h拷贝至C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110\include\GL(自己创建) glut.lib glut32.lib拷贝 阅读全文
posted @ 2020-10-18 21:00 木屋小丑 阅读(1763) 评论(0) 推荐(0)
摘要: #include<iostream> using namespace std; int main() { int arr[10] = {}; cout << "请输入十个数组元素" << endl; for (int i = 0; i < 10; i++) { cout << "第" << i + 阅读全文
posted @ 2020-04-20 10:27 木屋小丑 阅读(3257) 评论(0) 推荐(0)
摘要: #include <iostream>using namespace std;int main() { //选择排序 int arr[] = { 58,69,48,16,25,17,89,64 }; int arrLen = sizeof(arr) / sizeof(int); int temp = 阅读全文
posted @ 2020-04-18 23:28 木屋小丑 阅读(676) 评论(0) 推荐(0)
摘要: #include <iostream>using namespace std;int main() { double sgn(double x); double x, y; cout << "请输入一个数:" << endl; cin >> x ; y = sgn(x); cout << "函数值为 阅读全文
posted @ 2020-04-05 19:05 木屋小丑 阅读(3735) 评论(0) 推荐(0)
摘要: #include <iostream> using namespace std; #include <cmath> int main() { int x = 0; cout << "请输入一个正整数:" << endl; cin >> x; int m = x; int z = x; for (in 阅读全文
posted @ 2020-03-28 08:44 木屋小丑 阅读(1185) 评论(0) 推荐(0)
摘要: #include <iostream>using namespace std;int main() { for (int i = 1; i < 5; i++) { for (int j = 0; j < 2 * i - 1; j++) { cout << "*"; }cout << endl; } 阅读全文
posted @ 2020-03-28 08:40 木屋小丑 阅读(3513) 评论(0) 推荐(0)
摘要: #include <iostream>using namespace std;void bubbleSort(int* arr, int len) { for (int i = 0; i < len - 1; i++) { for (int j = 0; j < len - i - 1; j++) 阅读全文
posted @ 2020-03-25 22:27 木屋小丑 阅读(357) 评论(0) 推荐(0)
摘要: 编程打印1到150以内能被3整除的自然数的和 #include <iostream> using namespace std; int main() { int x = 1; int z = 0; do { if (x >= 3) { if (x % 3 == 0) { z = z + x; } } 阅读全文
posted @ 2020-03-25 11:49 木屋小丑 阅读(396) 评论(0) 推荐(0)