2021年8月19日

添加CMD启动时执行批处理

摘要: 在注册表位置 HKEY_CURRENT_USER\Software\Microsoft\Command Processor 下新建字符串项 AutoRun 数据为要执行的批处理的路径 阅读全文

posted @ 2021-08-19 22:42 acd407 阅读(62) 评论(0) 推荐(0)

2021年7月29日

CMD中使用alias

摘要: CMD中并没有alias,但是doskey可以做到同样的效果. Doskey 可以跟参数 例如: doskey clangw=clang --target=i686-pc-mingw $1 $2 $3 $4 $5 $6 $7 $8 阅读全文

posted @ 2021-07-29 20:06 acd407 阅读(72) 评论(0) 推荐(0)

2021年7月26日

C,Python调用DLL

摘要: DLL的创建 要用__declspec(dllexport)声明导出函数 1 #include <stdio.h> 2 __declspec(dllexport) int sum(int a,int b) 3 { 4 printf("Welcome to use DLL !\n"); 5 print 阅读全文

posted @ 2021-07-26 15:22 acd407 阅读(83) 评论(0) 推荐(0)

2021年6月19日

BusyBox for Windows

摘要: Download busybox-w32 BusyBox is a single binary that contains many common Unix tools. It's often found in embedded Linux systems like routers, in Andr 阅读全文

posted @ 2021-06-19 05:53 acd407 阅读(1061) 评论(0) 推荐(1)

2021年6月18日

Win32控制台彩色字符输出

摘要: 我记得,原则上,Win32控制台不支持任何ANSI颜色.方法之一是用Console API实现. 1. Console API BOOL WINAPI SetConsoleTextAttribute( _In_ HANDLE hConsoleOutput, // 控制台输出流句柄 _In_ WORD 阅读全文

posted @ 2021-06-18 09:52 acd407 阅读(447) 评论(0) 推荐(0)

CMD的控制字符输出

摘要: CMD的控制字符输出 1 #include<stdio.h> 2 int main() 3 { 4 int i; 5 for(i=0;i<256;i++) 6 printf("%d:%c\t",i,i); 7 return 0;; 8 } 输出 阅读全文

posted @ 2021-06-18 09:00 acd407 阅读(417) 评论(1) 推荐(0)

导航