06 2022 档案
摘要:#include <FileConstants.au3>#include <MsgBoxConstants.au3>#include <WinAPIFiles.au3>#include <String.au3>Example() Func Example() ; Open the file for
阅读全文
摘要:#include <FileConstants.au3>#include <MsgBoxConstants.au3>#include <WinAPIFiles.au3>#include <String.au3> ; Open the file for reading and store the ha
阅读全文
摘要:#include <File.au3>#include <MsgBoxConstants.au3> Local $sTestPath = _PathFull(@ScriptDir )MsgBox($MB_SYSTEMMODAL, "", @ScriptDir & @CRLF & $sTestPath
阅读全文
摘要:// Project1.cpp : 此文件包含 "main" 函数。程序执行将在此处开始并结束。// #include <iostream>#include<cstdio>#include<cstdlib>#include<cstring>#include<time.h>#include<windo
阅读全文
摘要:// Project1.cpp : 此文件包含 "main" 函数。程序执行将在此处开始并结束。// #include <iostream>#include<cstdio>#include<cstdlib>#include<cstring>#include<time.h>#include<windo
阅读全文
摘要: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
阅读全文
摘要:void GetNum(int *num) { *num = 100; return ;}int main() { int x = 4; GetNum(&x); printf("%d", x); return 0;} //x=100
阅读全文
摘要: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;}
阅读全文
摘要:解决方法:sudo apt-get install gawk
阅读全文
摘要:; > Get Time gettime timestr "%Y%m%d-%H%M%S" ; >Get current pathgetdir mdir sprintf2 filename '%s\Log\%s_%s.log' mdir Macstr timestr
阅读全文
摘要: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
阅读全文
摘要::input_MAC inputbox 'please Input MAC:' 'please Input MAC' strlen inputstr if result != 12 then goto input_MAC else Macstr = inputstr endif
阅读全文