什么是#pragma once?
non-standard but widely supported preprocessor directive. Indicate the current source file to be included only once in a single compilation.
什么是preprocessor directive?
a preprocessor is a program that processes its input data to produce output that is used as input to another program.

Pragma 用于代替#ifndef

网友评论