Menu

#102 Change read object function to return pointer to object

open
nobody
Objects (11)
7
2008-08-27
2008-08-27
No

Instead of reading a file into a structure have the object read allocate memory for the object and return a pointer to it. Then have the caller verify it is the correct type of object.

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.