上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 29 下一页
摘要: #include <iostream>#include<cstdio>#include<cstdlib>#include<cstring>#include<time.h>#include<windows.h> using namespace std; /* 字符串翻转*/ #pragma warni 阅读全文
posted @ 2022-07-04 15:19 江南王小帅 阅读(34) 评论(0) 推荐(0)
摘要: #include <iostream>#include<cstdio>#include<cstdlib>#include<cstring>#include<time.h>#include<windows.h> using namespace std;//"拿球"/* 3个红球,5个白球,6个黑球。从 阅读全文
posted @ 2022-07-04 14:56 江南王小帅 阅读(95) 评论(0) 推荐(0)
摘要: #include <FileConstants.au3>#include <MsgBoxConstants.au3>#include <WinAPIFiles.au3>#include <String.au3>Example() Func Example() ; Open the file for 阅读全文
posted @ 2022-06-29 15:15 江南王小帅 阅读(14) 评论(0) 推荐(0)
摘要: #include <FileConstants.au3>#include <MsgBoxConstants.au3>#include <WinAPIFiles.au3>#include <String.au3> ; Open the file for reading and store the ha 阅读全文
posted @ 2022-06-29 15:14 江南王小帅 阅读(45) 评论(0) 推荐(0)
摘要: #include <File.au3>#include <MsgBoxConstants.au3> Local $sTestPath = _PathFull(@ScriptDir )MsgBox($MB_SYSTEMMODAL, "", @ScriptDir & @CRLF & $sTestPath 阅读全文
posted @ 2022-06-29 15:13 江南王小帅 阅读(43) 评论(0) 推荐(0)
摘要: // Project1.cpp : 此文件包含 "main" 函数。程序执行将在此处开始并结束。// #include <iostream>#include<cstdio>#include<cstdlib>#include<cstring>#include<time.h>#include<windo 阅读全文
posted @ 2022-06-24 13:05 江南王小帅 阅读(40) 评论(0) 推荐(0)
摘要: // Project1.cpp : 此文件包含 "main" 函数。程序执行将在此处开始并结束。// #include <iostream>#include<cstdio>#include<cstdlib>#include<cstring>#include<time.h>#include<windo 阅读全文
posted @ 2022-06-23 11:33 江南王小帅 阅读(36) 评论(0) 推荐(0)
摘要: int sum(int *arr, int n) { int sum = 0; for (int i = 0; i < n; i++,arr++) { sum += *arr; } return sum;} int main() { int myarray[10] = { 1,2,3,4,5,6,7 阅读全文
posted @ 2022-06-23 10:52 江南王小帅 阅读(77) 评论(0) 推荐(0)
摘要: void GetNum(int *num) { *num = 100; return ;}int main() { int x = 4; GetNum(&x); printf("%d", x); return 0;} //x=100 阅读全文
posted @ 2022-06-23 09:00 江南王小帅 阅读(29) 评论(0) 推荐(0)
摘要: int main() { int a[4]; int *p; for ( p = a; p < (a+4); p++) { scanf_s("%d", p); } for (p = a; p < (a + 4); p++) { printf("%d ", *p); } return 0;} 阅读全文
posted @ 2022-06-22 11:18 江南王小帅 阅读(22) 评论(0) 推荐(0)
上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 29 下一页