06 2022 档案

摘要:#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 江南王小帅 阅读(9) 评论(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 江南王小帅 阅读(38) 评论(0) 推荐(0) 编辑
摘要:#include <File.au3>#include <MsgBoxConstants.au3> Local $sTestPath = _PathFull(@ScriptDir )MsgBox($MB_SYSTEMMODAL, "", @ScriptDir & @CRLF & $sTestPath 阅读全文
posted @ 2022-06-29 15:13 江南王小帅 阅读(32) 评论(0) 推荐(0) 编辑
摘要:// Project1.cpp : 此文件包含 "main" 函数。程序执行将在此处开始并结束。// #include <iostream>#include<cstdio>#include<cstdlib>#include<cstring>#include<time.h>#include<windo 阅读全文
posted @ 2022-06-24 13:05 江南王小帅 阅读(36) 评论(0) 推荐(0) 编辑
摘要:// Project1.cpp : 此文件包含 "main" 函数。程序执行将在此处开始并结束。// #include <iostream>#include<cstdio>#include<cstdlib>#include<cstring>#include<time.h>#include<windo 阅读全文
posted @ 2022-06-23 11:33 江南王小帅 阅读(33) 评论(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 江南王小帅 阅读(71) 评论(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 江南王小帅 阅读(17) 评论(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 江南王小帅 阅读(18) 评论(0) 推荐(0) 编辑
摘要:解决方法:sudo apt-get install gawk 阅读全文
posted @ 2022-06-15 13:09 江南王小帅 阅读(146) 评论(0) 推荐(0) 编辑
摘要:; > Get Time gettime timestr "%Y%m%d-%H%M%S" ; >Get current pathgetdir mdir sprintf2 filename '%s\Log\%s_%s.log' mdir Macstr timestr 阅读全文
posted @ 2022-06-13 11:38 江南王小帅 阅读(32) 评论(0) 推荐(0) 编辑
摘要:fileopen fhandle 'sfcs.txt' 0 while 1 ; Read a line from the file. filereadln fhandle line filereadln fhandle line if result=1 then break endif strspl 阅读全文
posted @ 2022-06-13 11:36 江南王小帅 阅读(32) 评论(0) 推荐(0) 编辑
摘要::input_MAC inputbox 'please Input MAC:' 'please Input MAC' strlen inputstr if result != 12 then goto input_MAC else Macstr = inputstr endif 阅读全文
posted @ 2022-06-13 11:35 江南王小帅 阅读(374) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示