c++ - char a[100] = {'\0'}与memset(a, 0, sizeof(a))有什么区别?
如题所 char a[100] = {'0'} 与 memset(a, 0, sizeof(a)) 什么区别?
From [C++discussion group] 2017-04-17 15:24:09 0 7 1482
Why can you continue to play chess after losing?
From [C++discussion group] 2018-09-04 00:48:30 0 2 1471
c++ inputs a positive integer and outputs the addition process of this positive integer
From [C++discussion group] 2020-09-25 23:55:50 0 0 1448
报错信息"C:\Program Files (x86)\JetBrains\CLion 2016.2.3\bin\cmake\bin\cmake.exe" --...
From [C++discussion group] 2016-11-10 09:28:58 0 3 1442
菜鸟一名,求助,百度了这段错误提示,可是没找到答案。请说简单一点,刚学c++没多久。谢谢
From [C++discussion group] 2017-04-17 11:30:12 0 2 1438
What does this symbol //! [0] mean in c++?
From [C++discussion group] 2017-05-16 13:23:18 0 1 1436
c++ - How to define a macro in C to obtain the function name through a function
How to define a macro to obtain the function name string, as follows: {code...}
From [C++discussion group] 2017-07-04 13:45:23 0 1 1419
From [C++discussion group] 2017-04-17 14:29:07 0 2 1408
python - vscode how to input in the console
From [C++discussion group] 2017-07-03 11:41:56 0 2 1403
How to non-block input in C language (check if stdin has content)
From [C++discussion group] 2017-06-17 09:16:16 0 1 1400
dev-c++ - dev C++如何查看对应的汇编语言代码
记得用VC6时可以查看,Win8系统装的DEV,想问下如何查看C语言生成的对应的汇编语言.
From [C++discussion group] 2017-04-17 11:55:02 0 2 1388
c/c++中改变子函数里调用的主函数中的数组的值,主函数中的数组本身会变吗?
函数举例如下: {代码...} 我的测试是:主函数中的L确实会改变。请问,这是因为数组本身是指针。还是因为我在哪里搞错了,需要另写指针返回?谢谢。
From [C++discussion group] 2017-04-17 13:45:18 0 4 1386
From [C++discussion group] 2017-04-17 15:33:57 0 1 1385
Windows下return 0;或exit();都不能达到直接关闭应用程序窗口的效果,怎样才能跳过press any key to continue呢?
From [C++discussion group] 2017-04-17 11:38:06 0 3 1385