Teen Programmers Unite  


Return to forum top

Additional C[++] Files

Posted by 142857 [send private reply] at April 16, 2002, 12:12:41 PM

If I compile a file named "abc.cpp," what is abc.obj and what is abc.tds? Thanks

Posted by metamorphic [send private reply] at April 16, 2002, 12:30:24 PM

You must understand the dev cycle. When you compile a file you turn it into a .obj file. this is then linked (which is normally done automatically) into an .exe. check out the 'learning C' article about half-way down.

Posted by vikram_1982 [send private reply] at April 17, 2002, 12:37:55 AM

See, when u write a cpp file, u specify certain headers. Now, these headers need to be added(linked) to ur final program for it to work. This is done in the obj file. This obj will then be converted into a machine independent exe file. I dont know what tds is...

Posted by RedX [send private reply] at April 17, 2002, 06:50:41 AM

the .tds is probably compiler-specific.

Posted by Psion [send private reply] at April 17, 2002, 04:57:35 PM

Header files have nothing to do with linking. What vikram probably meant was libraries.

Posted by gian [send private reply] at April 22, 2002, 03:01:05 AM

.tds files are specific to the borland compiler. You can safely delete them (the compiler will regenerate them if it needs them).

You must be logged in to post messages and see which you have already read.

Log on
Save for later automatic logon

Register as a new user
Copyright TPU 2002. See the Credits and About TPU for more information.