Link to home
Start Free TrialLog in
Avatar of Unimatrix_001
Unimatrix_001Flag for United Kingdom of Great Britain and Northern Ireland

asked on

#ifndef __FILE__ _h

Hi,

I'm wanting to add in the following in every header:

#ifndef filename_h
#define filename_h

so I'm trying to use the preprocessor, __FILE__ and I've got:

#ifndef __FILE__ _h
#define __FILE__ _h

Will this work?

Thanks,
Uni
ASKER CERTIFIED SOLUTION
Avatar of Shodan82
Shodan82

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Unimatrix_001

ASKER

tyvm. :)