.obj files?

This is a discussion on .obj files? within the Game Programming forums, part of the General Programming Boards category; ok so from what i have been seeing in other peoples programs .obj are things in the games like the ...

.obj files?

ok so from what i have been seeing in other peoples programs .obj are things in the games like the enemy ships or the power ups or anything else you interact with. my question is where can i find a tutorial on how to make them and am i right in my assumption?

They are object files. When you compile your code your cpp's and c's are made into object files which are then linked together to form an executable. If you have someone else's obj file you can add it to your project and call functions inside that obj file but you cannot see the actual code so you would need a header file or already know the defined functions. If you were going to do this however I would just make a static library (*.lib)

"...the results are undefined, and we all know what "undefined" means: it means it works during development, it works during testing, and it blows up in your most important customers' faces." --Scott Meyers