Gast
#3730004
Geht nicht: arr[0]=p; Kaputt! Zieht die Notbremse!
1 | |
2 | |
3 | |
4 | |
5 | |
6 | |
7 | |
8 | |
9 | |
10 | |
11 | |
12 | |
13 | |
14 | |
15 | |
16 | |
17 | |
18 | |
19 | |
20 | |
21 | |
22 | |
23 | |
24 | |
25 | |
/* Fehlermeldung von: http://www.compileonline.com/compile_cpp11_online.php Compiling the source code.... $g++ -std=c++11 main.cpp -o demo -lm -pthread -lgmpxx -lgmp -lreadline 2>&1 main.cpp: In function �void f(void*)�: main.cpp:10:13: warning: pointer of type �void *� used in arithmetic [-Wpointer-arith] arr[0]=p; Klappe du Warnung, ich bin schlauer als DU! main.cpp:10:13: error: �void*� is not a pointer-to-object type */