Compilers can produce warnings - make the compiler programmers happy: Use them!
Please don't PM me for help - and no, I don't do help over instant messengers.
Further correction, that is an error in both C and C++... I really wish you would learn where these languages are different. I'll show you here:
Code:Comeau C/C++ 4.3.10.1 (Oct 6 2008 11:28:09) for ONLINE_EVALUATION_BETA2 Copyright 1988-2008 Comeau Computing. All rights reserved. MODE:non-strict warnings C90 "ComeauTest.c", line 3: error: a value of type "char *" cannot be used to initialize an entity of type "int" int foo = "bar"; ^ 1 error detected in the compilation of "ComeauTest.c".
When I write warning, I meant that the compiler spits out a warning instead of an error (which most compilers do), and not that it is not a programmer error in itself (that, it is).
But how are you supposed to know this when all C compilers spits of warnings instead of errors?!?!?!