MᏫᎻᎯᎷᎷᎬᎠ
That is a completely different thing
Anonymous
Okey
Anonymous
And one more thing
Anonymous
What is #pragma once
What this directive will do
Anonymous
??
BinaryByter
you know
BinaryByter
if you include a file twice
BinaryByter
the compiler might have problems
BinaryByter
so with #pragma once
BinaryByter
the compiler will make sure not to include the file twice
Anonymous
Means I know about #pragma startup and #pragma exit
#pragma GCC poison also..
Anonymous
BinaryByter
BinaryByter
they are NOT part of the C++ language
Anonymous
But why we will use #pragma GCC poison
Anonymous
??
BinaryByter
like lets say that you have a function
Anonymous
Means if I write #pragma GCC poison printf
BinaryByter
that is a subfunction
Anonymous
It blocked printf
BinaryByter
but that CANNOT be used without the upper scope function
Anonymous
In my prog
BinaryByter
BinaryByter
thats what its supposed to do
Anonymous
Okey..
Can I ask you some more doubts..?
Anonymous
Please
MᏫᎻᎯᎷᎷᎬᎠ
BinaryByter
Anonymous
Anonymous
#ifndef.
Why we specify this
Anonymous
??
BinaryByter
BinaryByter
but it checks wether a symbol is defined
BinaryByter
Anonymous
BinaryByter
(almost) everything that is #pragma is not in the standard
Anonymous
But most compilers accept it
Anonymous
MᏫᎻᎯᎷᎷᎬᎠ
exactly
That's
Why
For code portability purposes
Include guards are better
BinaryByter
MᏫᎻᎯᎷᎷᎬᎠ
BinaryByter
thats going to be some epic shit
Anonymous
BinaryByter
Anonymous
HLL?
I was going to ask the same
Anonymous
What the meaning of this statement👇👇
#ifndef TEXT_DIALOG
#define TEXT_DIALOG
BinaryByter
BinaryByter
if it is not defined, it will define TEXT_DIALOG
MᏫᎻᎯᎷᎷᎬᎠ
HLL?
High Level Language
Yeah
I taught Maxi sth :D
MᏫᎻᎯᎷᎷᎬᎠ
BinaryByter
HLL exists?
BinaryByter
xD
MᏫᎻᎯᎷᎷᎬᎠ
Yeah
Anonymous
That is the ambiguity bro..
Uf developer already know that TEXT_DUALIG has to define..then why he didn't do it before..
??
BinaryByter
BinaryByter
#ifndef TEXT_DIALOG
#define TEXT_DIALOG
BinaryByter
this is the same as #pragma once
BinaryByter
the first time that the file is included, TEXT_DIALOG isn't defined
BinaryByter
but the second time, it is already defined
BinaryByter
so the compiler won't include the code
Anonymous
Oh..okey
Bro.i get your point..
Anonymous
U people are just awesome in c++
Anonymous
And v
Anonymous
C
BinaryByter
MᏫᎻᎯᎷᎷᎬᎠ
MᏫᎻᎯᎷᎷᎬᎠ
Not me
BinaryByter
Not me
you are getting there :D
MᏫᎻᎯᎷᎷᎬᎠ
I'm very very waaaay suuccks
MᏫᎻᎯᎷᎷᎬᎠ
MᏫᎻᎯᎷᎷᎬᎠ
I hope we helped you
Anonymous
@BOND_0O7 and @linuxer4fun
Do you people have your GitHub repo..?
BinaryByter
mine is