Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight

Re: JA(C|P)H

by BioGeek (Hermit)
on Apr 29, 2005 at 15:15 UTC ( #452632=note: print w/replies, xml ) Need Help??

in reply to JA(C|P)H

Hmm, I seem to be runnin into the following error message:
JACPH_441514.c:17:22: iostream.h: No such file or directory JACPH_441514.c: In function `main': JACPH_441514.c:22: `for' loop initial declaration used outside C99 mod +e JACPH_441514.c:23: `cout' undeclared (first use in this function) JACPH_441514.c:23: (Each undeclared identifier is reported only once JACPH_441514.c:23: for each function it appears in.) JACPH_441514.c:20: warning: return type of `main' is not `int'

(I don't know C, so be gentle of if this is a trivial error message)

Replies are listed 'Best First'.
Re^2: JA(C|P)H
by ktross (Deacon) on Apr 29, 2005 at 15:26 UTC

    You need to have iostream.h in your c library files for this one. That should clear up all of the errors except possibly

    JACPH_441514.c:22: `for' loop initial declaration used outside C99 mode

    Don't know what that ones about. Not a c expert myself. Runs under Visual c++ 6.0

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://452632]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (1)
As of 2023-09-28 17:58 GMT
Find Nodes?
    Voting Booth?

    No recent polls found