Jump to content

small problem


Recommended Posts

Guest jungho_lee
Posted

who can tell me the following code's function ??(in header files)

#if !define(AFX_HELLOSP_H__59641812_43BB_4685_8C1A_22FAAE3D6DD2__INCLUDED_)

#define AFX_HELLOSP_H__59641812_43BB_4685_8C1A_22FAAE3D6DD2__INCLUDED_

Guest moo_ski_doo
Posted

Not sure exactly what they do but they're standard header file statements that have something to do with ensuring the file is only included once. Normally you'd have something a bit simpler than this is you were writing the code yourself; these auto-generated ones are made up of the name of the header file and its CLSID which should make it unique. You should have a corresponding #endif at the end of your file too. Anyway, the safest thing to do is just leave them as they are (you could get rid of the CLSID or something if you want to neaten it up but it's not really worth it.)

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.