Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Cannot allocate an array of constant size 0
//Microsoft (R) C/C++ Optimizing Compiler Version 19.00.23506 for x64 #include <iostream> #include <Windows.h> int main() { const int GlobalTuningList[] = { #if 0 1 #endif }; std::cout << _countof(GlobalTuningList) << std::endl; }
run
|
edit
|
history
|
help
0
No UD
#26
Static cast of Enum
Copy double[2][3] into vector<vector<double>>
msvc compile optimization demo...
Stringify enum
Wrong type deduction of std::valarray expression
Operators overloading
C++ instantiation
find vs at