|
[分享]本人昨天正式升级,嘿嘿,终于为人父了~
赚牛奶钱都TMD累死 |
|
求教:如何学好32位汇编语言程序设计?
下个masmv8.0 把里面的例子全看了 |
|
[求助]懂C的帮帮忙 看看看啊 在线等跪求
#include <windows.h> #include <stdio.h> int main(void) { char lpBuff[]="C:\\test"; if(CreateDirectory(lpBuff,NULL)==FALSE) { printf("Create Directory False\n"); }else{ printf("Create Directory OK\n"); } return 0; } |
|
[求助]各位大虾,推荐一个写驱动集成开发环境
如果想多敲代码: MASMPlus + KmdKit |
|
C 目录递归问题
要说问题应该是在内存分配上。 char *str1 = (char *)malloc(strlen(str)+4); strcpy(str1,str); 一般是采用数组: char str1[1024]; 而不是分配内存....... 打印文本不需要分配内存,然后要读文件到内存才能malloc。 |
|
|
|
请教SCM数据库文件是哪个啊[求助]
这个不是一个文件,汗......... |
|
C 目录递归问题
#include <windows.h> #include <stdio.h> void enum_path(char *cpath){ WIN32_FIND_DATA wfd; HANDLE hfd; char cdir[MAX_PATH]; char subdir[MAX_PATH]; int r; GetCurrentDirectory(MAX_PATH,cdir); SetCurrentDirectory(cpath); hfd = FindFirstFile("*.*",&wfd); if(hfd!=INVALID_HANDLE_VALUE) { do{ if(wfd.dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY) { if(wfd.cFileName[0] != '.'){ // 合成完整路径名 sprintf(subdir,"%s\\%s",cpath,wfd.cFileName); // 递归枚举子目录 enum_path(subdir); } }else{ printf("%s\\%s\n",cpath,wfd.cFileName); // 打印本次找到的文件路径 } }while(r=FindNextFile(hfd,&wfd),r!=0); } SetCurrentDirectory(cdir); } void enum_path(char *cpath); int main(void){ enum_path("C:\\test\\"); return 0; } |
|
请教SCM数据库文件是哪个啊[求助]
invoke OpenSCManager, NULL, NULL, SC_MANAGER_CREATE_SERVICE |
|
[求助]为什么要用指针呢???
以前我一直不明白指针是啥意思.所以我放弃学C,一直用asm写程序,后来回过头看来,C的指针和asm也是一回事,自然而然就会C了。 szBuff db "test",0 szBuff就是一个指针。 所以存取其内容就这样addr szBuff 当然也可以 lea eax,szBuff把szBuff所指的内容存eax,这样就变成int了。 理解指针最好还是先从asm学起 楼主说用指针不觉得简单? 举个例子,比如你要取PROCESSENTRY32里的进程名,用指针的话,直接定义 Process PROCESSENTRY32<>,然后addr Process.szExeFile就完了。 不用指针,你怎么取捏? |
|
vc++6.0下生成的汇编代码,谁帮我解释一下
汗,好好的masm32不用,用VC来写汇编代码..楼主您太有才了 |
|
[求助]vc编程问题!!!急!!
VC6下编译通过呀.你那程序木错误 Deleting intermediate files and output files for project 'Cpp1 - Win32 Debug'. --------------------Configuration: Cpp1 - Win32 Debug-------------------- Compiling... Cpp1.cpp Linking... Cpp1.exe - 0 error(s), 0 warning(s) |
|
各位大虾,编写驱动的问题
打开文件貌似用CreatFile吧? |
|
|
|
[讨论]C语言求阶乘
#include "stdio.h" main() { int n,s=1; for(n=1;n<=4;n++) { s=s*n; } printf("%d",s); return 0; } 1*2*3*4=24 |
|
[求助]网上的"不用驱动程序进入Windows2000的Ring0”我编译不了,谁编译好了给发一下
貌似微软的DDK是要钱的 汗 |
操作理由
RANk
{{ user_info.golds == '' ? 0 : user_info.golds }}
雪币
{{ experience }}
课程经验
{{ score }}
学习收益
{{study_duration_fmt}}
学习时长
基本信息
荣誉称号:
{{ honorary_title }}
能力排名:
No.{{ rank_num }}
等 级:
LV{{ rank_lv-100 }}
活跃值:
在线值:
浏览人数:{{ visits }}
最近活跃:{{ last_active_time }}
注册时间:{{ user_info.create_date_jsonfmt }}
勋章
兑换勋章
证书
证书查询 >
能力值