Re: Which compiler for a learner of C?
- From: Ben Pfaff <blp@xxxxxxxxxxxxxxx>
- Date: Thu, 28 Sep 2006 12:47:40 -0700
"pkirk25" <patrick@xxxxxxxxx> writes:
[about some implementation]
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
A file whose name ends in .cpp is generally C++, not C. That's a
C++-specific error. Try renaming it to parameters.c.
--
Here's a tip: null pointers don't have to be *dull* pointers!
.
- 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
|
|