1

Topic: In what difference #pragma once from #ifndef / #define / #endif?

There is some.h-file MyFile.h. In it I want to instruct the compiler that it is defined only once. I can write for this purpose in this file as as follows: #pragma once//the text of file MyFile.h and as follows: #ifndef MYFILE_H #define MYFILE_H//the text of file MyFile.h #endif In what difference of these two methods from each other?

2

Re: In what difference #pragma once from #ifndef / #define / #endif?

3

Re: In what difference #pragma once from #ifndef / #define / #endif?

Hello, RussianFellow, you wrote: http://rsdn.org/forum/cpp/6891389 the Author: RussianFellow Date: 01.09.17 Daa, a companion, you would be checked up at the doctor, and that with storage at you is absolutely bad

4

Re: In what difference #pragma once from #ifndef / #define / #endif?

K> Daa, a companion, you would be checked up at the doctor, and that with storage at you the next coil on a cyclic buffer that absolutely badly Began. Who the developer?  a bot.