0

Why uint32_t c++ doesn't compiler an error run

11th Sep 2018, 6:56 PM
kalana dilshan
kalana dilshan - avatar
8 Respostas
+ 1
You need to include the stdint header: #include <cstdint> or #include <stdint.h>
11th Sep 2018, 7:12 PM
Aaron Eberhardt
Aaron Eberhardt - avatar
0
error how to enable std=c++11 compile option in devc++
12th Sep 2018, 3:47 AM
kalana dilshan
kalana dilshan - avatar
0
#error This file requires compiler and library support for the \ ISO C++ 2011 standard. This support is currently experimental, and must be \ enabled with the -std=c++11 or -std=gnu++11 compiler options. #endif why is this
13th Sep 2018, 8:03 AM
kalana dilshan
kalana dilshan - avatar
0
#include <stdint.h> uint32_t fun_4410fe(void** a1, void** a2, void** a3, void** a4, void** a5); struct s0 { uint32_t f0; signed char[4] pad8; void** f8; signed char[3] pad12; void** f12; signed char[3] pad16; void** f16; signed char[3] pad20; void** f20; signed char[27] pad48; void** f48; signed char[3] pad52; void** f52; }; what is error
13th Sep 2018, 8:15 AM
kalana dilshan
kalana dilshan - avatar
0
I corrected the code you have posted above: https://code.sololearn.com/cuOBQKUjOwt1/?ref=app
13th Sep 2018, 12:35 PM
Aaron Eberhardt
Aaron Eberhardt - avatar
0
The c++11 issue is explained in the link I posted above.
13th Sep 2018, 12:36 PM
Aaron Eberhardt
Aaron Eberhardt - avatar
0
thanks
13th Sep 2018, 6:34 PM
kalana dilshan
kalana dilshan - avatar