M
Marco Aschwanden
I am re-learning c++. And I see lots of code. All the time I stumble
over the following pattern (in header files):
#ifndef some_filename_h
#define some_filename_h
..
..
..
#endif
What is this "filename" define good for? I found this pattern in many
examples and in many books, but it is nowhere explained what it is
good for? Can anyone explain this to me?
Thanks a lot,
Marco
over the following pattern (in header files):
#ifndef some_filename_h
#define some_filename_h
..
..
..
#endif
What is this "filename" define good for? I found this pattern in many
examples and in many books, but it is nowhere explained what it is
good for? Can anyone explain this to me?
Thanks a lot,
Marco