|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[求助]char类型加法运算的疑问
DWORD GetModuleFileName( HMODULE hModule, // handle to module LPTSTR lpFilename, // file name of module DWORD nSize // size of buffer); tlnitPath 是一个字符串类型的指针,指向的字符串,它也有地址 char类型计算时,取出这个指针地址保存的4字节ASCII码,以int型参与运算 ,即字符串的首地址参与运算 |
|
|
|
[求助]char类型加法运算的疑问
obiter strlen 是求长度,不带最后的0结束位置。就是指向estrlen (C语言函数) 编辑 strlen所作的仅仅是一个计数器的工作,它从内存的某个位置(可以是字符串开头,中间某个位置,甚至是某个不确定的内存区域)开始扫描,直到碰到第一个字符串结束符'\0'为止,然后返回计数器值(长度不包含'\0') //========== strlen确实是字符串的长度, 不过,char* pos = tInitPath + strlen(tInitPath)这句中,tlniPath应该指向的是字符串的第一个字符,加上长度,指向了 0 反汇编窗口也是 指向 0 |
操作理由
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 }}
勋章
兑换勋章
证书
证书查询 >
能力值