更新时间:2023-02-19 22:01:52
因为你使用的编译器没有错误,所以并不意味着其他编译器't。你知道它不是标准,毕竟...
Because the compiler you use does not error out on it, it doesn't mean other compilers won't. You know its not standard, after all...
为什么不好在C ++中键入void main()
C ++错误:函数“int_cdecl invoke_main(void)”中引用的未解析的外部符号_main
C/C ++中的void main和int main之间的区别?
为什么 c 允许 main() 即使它不是 int main() 或 void main()?
为什么 Visual C++ 在 C 中对从 const void ** 到 void * 的隐式转换发出警告,但在 C++ 中没有警告?
为什么main()函数在C#中应该是静态的?
为什么我们需要在C ++中使用`int main`而不是`void main`?
为什么我们需要在 C++ 中使用 `int main` 而不是 `void main`?
我们为什么不将C ++ main方法放置在类中?
为什么在C ++中将void *视为不安全?