Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 Test my generic linked list class please.
Index -> Programming, C++ -> C++ Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
Cinjection




PostPosted: Fri Aug 10, 2007 4:10 pm   Post subject: Test my generic linked list class please.

http://pastebin.com/m121bda12

Hey. I just finished my generic single linked list class. I'm using it for a lightweight template should I ever need to use a linked list. In any case, could you guys:

a) Look over the source to make sure I didn't goof anywhere with something like a memory leak (or anything else really).
b) Test the class itself.

I posted the class itself and a little app that is used for testing the list. Just compile (Note: name the SList class as SList.hpp )and run. It compiles with MSC++, but it should work with all compilers. If it doesn't let me know, and I can (hopefully) fix it

Thanks for your time.
Sponsor
Sponsor
Sponsor
sponsor
Display posts from previous:   
   Index -> Programming, C++ -> C++ Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 1 Posts ]
Jump to:   


Style:  
Search: