ludwig125のブログ

頑張りすぎずに頑張る父

ifndef_endif

http://www.kinjo-u.ac.jp/ushida/tekkotsu/cpp/ifndef.html

#ifndefと#endif擬似命令を使用すると、条件によってコンパイルしたり、しなかったりを制御できます。これを条件コンパイルと呼びます。


ifndef
if not defined(もし定義されていなければ)の略
http://www7b.biglobe.ne.jp/~robe/cpphtml/html03/cpp03018.html


http://www.wakhok.ac.jp/~kanayama/C/03/node112.html