View Single Post
Old 02-06-2005, 04:03 PM   #4 (permalink)
Rafkin
Registered User
 
Rafkin's Avatar
 
Join Date: Mar 2004
Posts: 20
Rafkin is on a distinguished road
Ok, I managed to figgure out enough about make files to know how to use them.. or at least, in a basic sense.. Although, i'm finding, that if I don't use the #ifndef and #endif on my sample program, it had no problem.

Though one of the tutorials i read says we should use them in the header files, like such:

#ifndef _myclass_h_
#define _myclass_h_
// .. stuff here
#endif

so I must ask, when is an #ifndef important and when is it just bloat?
Rafkin is offline   Reply With Quote