these are my structs :
struct course c;
long int no;
i want to write these data to a text file , close the file
reopen it and print my data
i forgot the syntax!
any help will be fully appreciated!!
We do not do your homework: it is set for a reason. It is there so that you think about what you have been told, and try to understand it. It is also there so that your tutor can identify areas where you are weak, and focus more attention on remedial action.
Try it yourself, you may find it is not as difficult as you think!
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)