PDA

Click to See Complete Forum and Search --> : A VC++ Question!


Emo
Oct 14th, 2000, 03:40 AM
I'm new to VC++ and C++ itself so I have a question...
When I compile a project into a exe, VC++ creates a folder named "Debug" in my Project folder and puts the exe in there along with a whole bunch of other files... with extentions like *.ilk, *.obj, *.pch, *.pdb, *vc60, and *.pdb again with a different name.
My question is, do I have to include these files along with my exe if I want to give it someone else? I'm guessing NO but I'm used to doing it with VB so I'm making sure.

BTW: Can anyone tell me what are those other files, and what are they for? I've heard of the .obj, but I just know it stands for "object" file or something...

Thanks!
-Emo

Vlatko
Oct 14th, 2000, 04:11 AM
NO.Those files are only for the compiler.You don't have to distribute them.But when you finally compile your app go to
the menu Build->Set Active Configuration and choose Win32 Release.Now instead of the Debug folder VC++ will make a folder called Release.The exe will now be a lot smaller and you shoud distribute this exe.

Emo
Oct 14th, 2000, 07:31 PM
Vlatco, Thanks but oti do you have to do that?
Nah, I'm just palying. I'm not asking you that question, just look at the bold word... is it familiar? I'm form Bulgaria and since you are right next to my country, I though you should know this...
BTW: I'm not bulgaria now, but I lived there!
-Emo

parksie
Oct 15th, 2000, 05:41 AM
Is it why by any chance?

These files are for:

.pdb : Program database (used by debugger)
.ilk : Incremental Linking storage (allows fast linking but larger .exe
.pch : Precompiled headers (makes compilation much quicker)
.obj : Object file - created by compiler from source file

Vlatko
Oct 15th, 2000, 07:13 AM
EMO Resil si da ucis VC++.Sicka dodeka go naucis...
Do you understand this

Emo
Oct 16th, 2000, 11:50 AM
YUP!!!
EMO Resil si da ucis VC++ means "Emo, you have decided that you want to learn VC++" and the Sicka dodeka go naucis... part means "(Don't know what is SICKA), but dodeka is "untill" and go naucis "is you learn it..."

Yeah, it's preety much the same, except some words...

Vlatko
Oct 16th, 2000, 11:56 AM
HeHe..
You're right