error C2146: syntax error : missing ';' before identifier 'Length'

G

Guest

I have a VC++.net Win32 console application, however when I compile , I get
this error

error C2146: syntax error : missing ';' before identifier 'Length'

Explain...

Location pointed is

typedef struct _LIST
{
LPLINK Tail; //... List Tail pointer.
LPLINK Head; //... List Head pointer.
DWORD Length; //... List Length.
} LIST;

typedef LIST *LPLIST;
in List.h

Thanks,
a.a.cpp
 
?

=?ISO-8859-2?Q?Mihajlo_Cvetanovi=E6?=

IceColdFire said:
error C2146: syntax error : missing ';' before identifier 'Length'

typedef struct _LIST
{
LPLINK Tail; //... List Tail pointer.
LPLINK Head; //... List Head pointer.
DWORD Length; //... List Length.
} LIST;

Maybe LPLINK, or DWORD, aren't defined at this time?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top