Original Post
GOAL: user loads file DONE file is scaned for main keywords DONE those keywords are all stored as indviduel varibles LINK LIST the key words are then placed in a drpo down box DONE when user selects a key word it will load the coresponding data NOTE: can slect indviduel iteams from drop down but cant load corsponding data Issues: 1)How do I link the data to the keyword? What May Work: I want to make a struct that is dynamic. What I mean by that is I want to be able to scan though a file and find key words and those key words I want the struct's "declared varible to be the key words that were found" example: struct sample{ int x; }; keyword1 sample; keyword2 sample; but I wont know what the key words are or really how many there are. My parser just scans my file to find them and loads them to a link list as strings. then I want to load the structs varibles dynamicaly with all the data that is supose to be link to that key word. NOTE: I may be using the wrong thing to hold all my data but I cant think of any other way to do this
