We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
xdata struct WindowList{ struct Windows * thisW; struct WindowList * NextWindow; }; xdata struct WindowList temp; temp=temp.Next;//this line is generating an error.'=' incompatible operand
First of all, Next is not a member of type WindowList, I guess that you meant NextWindow because otherwise you will get a quite different error. NextWindow is a pointer to a structure, but temp is an instance of a structure. These are indeed incompatible. Perhaps you intended that temp should be a pointer to a structure of type WindowList - that will fix you main problem. If it is the case that all WindowList structures are in xdata, all your pointers can be memory type specific. Thus:
xdata struct WindowList { struct Windows xdata * thisW; struct WindowList xdata * NextWindow; }; xdata struct WindowList *temp; temp=temp->NextWindow;