Re: Which compiler for a learner of C?
- From: Mark McIntyre <markmcintyre@xxxxxxxxxxx>
- Date: Thu, 28 Sep 2006 22:05:31 +0100
On 28 Sep 2006 12:24:42 -0700, in comp.lang.c , "pkirk25"
<patrick@xxxxxxxxx> wrote:
BRG wrote:
pkirk25 wrote:Actually, while it looks nice enough, it doesn't compile my existing C
code.
.\parameters.cpp(13) : error C2440: 'initializing' : cannot convert
from 'void *' to 'char *'
Conversion from 'void*' to pointer to non-'void' requires an
explicit cast
Also it swaps you in warnings like
.\parameters.cpp(38) : warning C4996: 'strcpy' was declared deprecated
These are C++ errors, generated because you're letting the GUI name
your files for you and by default it calls them .cpp.
Go to Folder Options in Explorer, and tell it NOT to hide extensions
on files, this is anyway just a security flaw as it lets virus writers
drop files on your computer and hide the fact they're executables.
--
Mark McIntyre
"Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are,
by definition, not smart enough to debug it."
--Brian Kernighan
.
- References:
- Which compiler for a learner of C?
- From: pkirk25
- Re: Which compiler for a learner of C?
- From: BRG
- Re: Which compiler for a learner of C?
- From: pkirk25
- Which compiler for a learner of C?
- Prev by Date: Re: Which compiler for a learner of C?
- Next by Date: Re: Which compiler for a learner of C?
- Previous by thread: Re: Which compiler for a learner of C?
- Next by thread: Re: Which compiler for a learner of C?
- Index(es):
Relevant Pages
|