nikuu123 wrote: > hello everybody. > can anybody give me ideas and views on how to implement vector > library which is present in c++ in c ... > please help me.. > thanking in advance..
STL vector is written using C++'s template feature. C does not have templates therefore writing a generic data structure for C is pretty difficult - you'll end up doing a lot of typecasting to get at your data. Error prone and can result in long debugging sessions. -- Thomas Hruska CubicleSoft President Ph: 517-803-4197 *NEW* VerifyMyPC 2.2 Change tracking and management tool. Reduce tech. support times from 2 hours to 5 minutes. Free for personal use, $10 otherwise. http://www.CubicleSoft.com/VerifyMyPC/
