i haf my nested struct ready ... i'm trying to add a new thing into my data base that is books loan.. there fore i haf a main struct which shows the name and info all tat and nested struct in the main for the books.. well my problem is how do i write into the same file as the main struct ? and read from the file...
is this correct
eg.fwrite(&info.book.sizeof info.book,clfile); << For writing the nested struct into the file ?



LinkBack URL
About LinkBacks


