#pragma once 的意思
2007-04-17 10:40
363 查看
#pragma once
Specifies that the file will be included (opened) only once by the compiler in a build. This can reduce build times as the compiler will not open and read the file after the first #include of the module.
指定当前文件在构建时只被包含(或打开)一次,这样就可以减少构建的时间,因为加入#pragma once后,编译器在打开或读取第一个#include 模块后,就不会再打开或读取随后出现的相同#include 模块.
相关文章推荐
- #pragma once 是什么意思?
- #pragma once 是什么意思?
- #pragma once 是什么意思?
- #pragma once 是什么意思?
- #pragma once是什么意思
- 关于#pragma once
- #pragma once与 #ifndef的区别
- #ifndef 与 #pragma once 的区别
- gcc预处理指令之#pragma once
- #pragma once 用法含意
- #pragma once与 #ifndef的区别
- #pragma once
- #pragma once与 #ifndef的区别
- #pragma once和#pragma comment
- #pragma once
- C语言头文件避免重复包含、#pragma once和#ifndef的区别
- #pragma once 与 #ifndef 区别
- #pragma once及相关知识
- 头文件保护符和#pragma once
- #Pragma once与#ifndef区别