By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,660 Members | 1,219 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,660 IT Pros & Developers. It's quick & easy.

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

P: n/a
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
Nov 17 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
IceColdFire wrote:
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?
Nov 17 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.