Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- struct {
- int year;
- int number;
- char* title;
- double data;
- Data * next;
- } Data;
- Data* readDataInfo(ifstream &inFile);
- void printStruct(Data structName);
- int main() {
- Data * head;
- // Data * temp;
- Data * temp = new Data[20];
- temp = head;
- for(int i=0; i<20; i++){
- temp[i]=temp[i]->next;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement