Ravi Mishra wrote: > Hi, > > I have a one query. I have two different files and in that files lot > of functions are same name. when i m compiling that files and try to > link their object files that function creates redeclaretion error. > > Can any body suggest me some logic. > > Note I have to use only c logic not OOPs logic. > > Thax in Advance !!! > -Ravi
Change the conflicting names and alter the code that depends on those names. Or use the C++ 'namespace' feature. You can use namespaces to easily segment the code. -- Thomas Hruska CubicleSoft President Ph: 517-803-4197 *NEW* VerifyMyPC 2.4 Change tracking and management tool. Reduce tech. support times from 2 hours to 5 minutes. http://www.CubicleSoft.com/VerifyMyPC/
