|
[讨论][求助]记录服务器中了一个挖矿病毒
你把样本发出来看看嘛! |
|
|
|
[求助]VS2015这2个函数在那个库中
看看msdn https://docs.microsoft.com/en-us/windows/win32/api/handleapi/nf-handleapi-closehandle |
|
[求助]VS2015这2个函数在那个库中
这个就是Windows的API吧! |
|
请教一个C语言的新标准语法
limee char Buffer[5][5] = {"sYste","mk1t\0"}; 这里是不是应该这样啊 char *Buffer[5][5] = {& ... 或者这么理解吧! #include <stdio.h> #include <stdlib.h> #include <windows.h> int main(void) { int count = 5; char Buffer[5][5] = { "Hell\0", "Hell\0"}; for (size_t i = 0; i < count; i++) { for (size_t j = 0; j < count; j++) { printf("%c\n", Buffer[i][j]); } } return 0; } 你看内存排列,前面我们主动初始化的值和后面没有被初始化的值! |
|
请教一个C语言的新标准语法
limee char Buffer[5][5] = {"sYste","mk1t\0"}; 这里是不是应该这样啊 char *Buffer[5][5] = {& ... #include <stdio.h> #include <stdlib.h> #include <windows.h> int main(void) { int count = 5; char Buffer[5][5] = {"Hello","Hell\0","Hell\0","Hell\0","Hell\0"}; for (size_t i = 0; i < count; i++) { for (size_t j = 0; j < count; j++) { printf("%c\n",Buffer[i][j]); }
}
return 0; } 你可以这么理解,Buffer[0][4]元素的内容你可以自己填写并且初始化,或者让编译器给你初始化为\0 |
|
请教一个C语言的新标准语法
limee sYstemk1t #include #include #include int main() {   ...这个是编译器做的,如果你只初始化了一个值,那么后面的数据都会被填充成为0! |
|
请教一个C语言的新标准语法
#include <stdio.h> #include <stdlib.h> #include <string.h> int main() { int i,j=0; char Buffer[5][5] = {"sYste","mk1t\0"}; for (i = 0;i<5;i++) { for (j = 0; j <5; j++) { printf("%c\n",Buffer[i][j]); } } return 0; } 你按照这个方式运行一下,你会发现每组可以存五个字符串,只要有初始化了以后,后面的就会被初始化为0 |
|
请教一个C语言的新标准语法
楼上的意思应该是把'\0'也算一个字符了吧? |
|
0day安全系列进阶在线课程预售来袭,错过还要等半年哦!
大佬,目录在哪里啊? |
|
[求助][原创]被dns搞晕了
dns是泛解析吧? |
|
[转帖]当当网:李国庆率众再闯当当拿走资料,公司已报警
上次好像也是不久之前! |
操作理由
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 }}
勋章
兑换勋章
证书
证书查询 >
能力值