error: `new' undeclared (first use in this function)
bonjour, tous le monde
je cherche à compiler sous windows le programme client (qui utilise les sockets) sur le tutorial du site (http://c.developpez.com/WalrusSock/). le message d'erreur est le suivant:
Code:
1 2 3 4 5 6 7
|
file1.c: In function `main':
file1.c:10: `new' undeclared (first use in this function)
file1.c:10: (Each undeclared identifier is reported only once
file1.c:10: for each function it appears in.)
file1.c:10: parse error before "char"
file1.c:5: warning: return type of `main' is not `int' |
new c bien pour l'allocation memoire !!