Categories: MSDN / DotNet / Java / Scripts / Linux / PHP Ask - La ask - La Answer

Question about some c++ code

I am beginner in c++
Can any one help me, please
What does mean that?
1- #ifndef LISTND_H
2- #define LISTND_H
3-template< class NODETYPE > class List;
Thank
[211 byte] By [Mansur] at [2007-11-11 8:15:22]
# 1 Re: Question about some c++ code
1. If the compiler has not already processed (defined) the header named LISTND_H, then process ... else don't do it ... goes hand in hand with item 2, which is the "this is what I need you to do if this has not already been defined.

3. is the declaration of a template class of the name List ..., which holds items of type NODETYPE
nspils at 2007-11-11 21:01:31 >
# 2 Re: Question about some c++ code
Thank nspils
Mansur at 2007-11-11 21:02:37 >