Re: Correct Typedef
- From: "Mehta Shailendrakumar" <shailendrakumar.mehta@xxxxxxxxxxxx>
- Date: Wed, 13 Jul 2005 11:29:52 +0200
change
error = func(&str, "abc.txt");
to
error = func(str, "abc.txt");
it should work
"Priya Mishra" <mis.priya@xxxxxxxxx> wrote in message
news:1121243300.894522.131940@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> What is wrong in the below code,
> I get the 2 error when i compile the prog... what is mean ??
>
>
> error C2275: structure: illegal use of this type as an expression
> error C2065: str: undeclared identifier
>
>
> typedef struct
> {
> char file;
> int a;
> int b;
> int c;
>
>
>
> } structure;
>
.
- References:
- Correct Typedef
- From: Priya Mishra
- Correct Typedef
- Prev by Date: Re: Correct Typedef
- Next by Date: Re: string finding
- Previous by thread: Re: Correct Typedef
- Next by thread: Re: Correct Typedef
- Index(es):
Relevant Pages
|