Re: Redirecting input from file
On Jul 4, 9:19 am, Richard Heathfield <r...@see.sig.i nvalidwrote:
I won't reply again until I can get to my code. There's really nothing
I can do or share until then.
Dave
On Jul 4, 9:19 am, Richard Heathfield <r...@see.sig.i nvalidwrote:
dmora...@cox.ne t said:
>
<snip>
>
>
>
Either:
>
(a) you forgot to #include <stdlib.hNope , Included it.
(b) you're using C++ Possibly, but don't think so.
>
if (a), include it.
if (b), either
>
(d) you're using C++ deliberately Don't think so
(e) you're using C++ accidentally Possibly
>
if (d), ask in comp.lang.c++ rather than comp.lang.c
if (e), you may find that changing your filename suffix from .cpp to .c
is sufficient.
>
--
Richard Heathfield <http://www.cpax.org.uk >
Email: -www. +rjh@
Google users: <http://www.cpax.org.uk/prg/writings/googly.php>
"Usenet is a strange place" - dmr 29 July 1999
>
<snip>
>
I got my hands on the error messages that I got (I got into my e-mail
at work, but since I'm not in the office today, I can't get to my
code). I got the following:
at work, but since I'm not in the office today, I can't get to my
code). I got the following:
Cannot convert 'void*' to 'float*' in function main(int, char * *)
Either:
>
(a) you forgot to #include <stdlib.hNope , Included it.
(b) you're using C++ Possibly, but don't think so.
>
if (a), include it.
if (b), either
>
(d) you're using C++ deliberately Don't think so
(e) you're using C++ accidentally Possibly
>
if (d), ask in comp.lang.c++ rather than comp.lang.c
if (e), you may find that changing your filename suffix from .cpp to .c
is sufficient.
>
--
Richard Heathfield <http://www.cpax.org.uk >
Email: -www. +rjh@
Google users: <http://www.cpax.org.uk/prg/writings/googly.php>
"Usenet is a strange place" - dmr 29 July 1999
I can do or share until then.
Dave
Comment