|
From: Alfred P. R. <al...@ya...> - 2005-03-11 20:58:33
|
Try
typedef struct
{
...
} MyStruct1;
That's where the typedef error is coming from.
Farzan Hajian <far...@ho...> wrote:
Hi friends,
I want to declare two structures like this:
struct MyStruct1
{
int i;
MyStruct2 s2;
};
struct MyStruct2
{
float f;
MyStruct1 s1;
};
but there is a compiler error says "'MyStruct2' is used as a type, but is
not defined as a type."
<snip>
Alfred P. Reaud
|