This is the best explanation someone could give me for this issue. Dude you're brilliant.
@javxa5 жыл бұрын
Awesome explanation, step-by-step. Keep it up!
@JamateyLP6 жыл бұрын
I searched a lot, and finally I found such a brilliant video. Thank you so much !!! This is one of the best explainations I have ever seen, slow (so that everyone can follow) and also showing everything so that everyone understands. THANKS!
@Tweek54704 жыл бұрын
I really loved that you went through the code step by step to show what the compiler was doing. That really helped, thanks!
@DrudoPT2 жыл бұрын
So simple and straight to the point, truly a master at work!
@TheArien5 ай бұрын
9 years later and your video is still super relevant. You saved me from hours of useless work of trying to reconfigure my entire project structure.
@shaneshort93 Жыл бұрын
Ah, thank you! I looked up numerous videos on this because the C++ Udemy course I am taking introduced File Guards and I couldn't understand why the alias in the file guards could be so arbitrary, but the way you explained it helped clear that up perfectly. Thank you for that!
@lawrenegummy47365 жыл бұрын
I love how you go through each line and explain what does what instead of what you should just do. It helps a lot when we understand why something is done instead of when you should just do it. You have a fan in me. Liked and Subbed, please do more videos.
@shamarahshoup5253 Жыл бұрын
Instant subscribe. Explained this faster in 5 minutes than my professor in 3 weeks
@kacperracing57984 жыл бұрын
Hey Paul, I found your video much better than the one I got linked in my class. Very clear, very simple and very fast. Thanks for your help! thumbs up!
@FastshortvideoEurop2 жыл бұрын
Hi Paul you have the best display screen than the other teachers well done
@abdulsammadsaeed11993 жыл бұрын
THANKS MAAN!!! I WAS STUCK ON THIS FOR A WHILE. YOUR EXPLANATION IS TOP NOTCH!
@CarlosRedman3 Жыл бұрын
Bro that was clearest explanation I have ever heard. Great Job buddy . Thank you !
@lorenzolonghi8697 Жыл бұрын
Most simple and clear definition, good job and thank you
@elyrb11855 жыл бұрын
This is so informative, explanations were very clear and it helped me a lot in my project, thanks, you got yourself a subscriber :D
@Souffra5 ай бұрын
Thank you, I finally got the explanation that I can understand. Bravo!!!
@vutuan4308 Жыл бұрын
Thank you for explaning so clearly. I've had difficulties with this since i studied OOP with C++.
@chrisr39475 жыл бұрын
Thank you for this explanation of file guards. I am fairly new to c++ and this was straightforward and easy to understand!
@Perceptionz_Sound2 жыл бұрын
Thanks for your content and Great video. Ive been learning c++ out of a text book for the past couple weeks and these videos are a great way to visualize and make those new connections of things i cant picture or wrap my head around while reading and writing notes.
@kouko67273 жыл бұрын
THANK YOU my cs professor didn't teach us about fireguards when we entered classes and inheritance and this redefinition was killing me for hours.
@paraspatil13752 жыл бұрын
Best explanation you would find on youtube..bro just don't give up on sharing such awesome content. Thankyou for precious knowledge you have shared with us
@I_make_countless_mistakes2 жыл бұрын
Gosh!!! yours explanation is so clearr.
@sirjohn62993 жыл бұрын
Very clear and concise explanation, you have earned a subscriber!
@hfe18334 жыл бұрын
This is very useful for finding error in arduino library or debugging
@ZapPack Жыл бұрын
This is greatly helpful and I like that you explained what ALL of the terms mean and what exactly is happening (ex. why "ifndef" is named the way it is) 👍
@areshaistg11 ай бұрын
it's probably if not defined. there's also "ifdef", "if", "else", and "endif". i'm not sure about others but it's called preprocessor directives :)
@김뉴비-f4z Жыл бұрын
you are so genius you make me understanding Conditonal Compilation
@dansalvador50712 жыл бұрын
I wasn`t planning to write a comment but bro thats awesome. thanks for the explanation.
@clawchette26224 жыл бұрын
Thank you so much! You just saved my project, you're my hero :p
@filippocucina70012 жыл бұрын
The Best Explanation ever!
@KachraSethisLive3 жыл бұрын
Thanks a lot this help me a lot i am trying to fix this issue from 36 hours but now it's fixed thankyou so much
@joevz87585 жыл бұрын
Thanks for explaining every tid bit, this is rarely done in tutorials, Thanks!
@vaibhavpaliwal77542 жыл бұрын
BEST EXPLANATION EVER!!!!!
@Travelling_turtle07Ай бұрын
Thanksss, simple and straightforward
@SuperLuxen2 жыл бұрын
Exactly what I needed to know, thank's man!
@hiteshsinha72102 жыл бұрын
thank this is the best explanation I have found.
@Crochetmagicc4 жыл бұрын
this was a good explanation paul.
@peter_castle5 жыл бұрын
This videos helped a lot! Subscribed and will binge watch
@mrx-qi8th3 жыл бұрын
Thank u thank u thank u Just cant thank you enought I learned something valuable and Managed to solve my problem Just subscribed
@zinhlekeswa5748 Жыл бұрын
Great explanation. Thank you Paul!!!😁
@JonCianci122 жыл бұрын
Perfect this is just what I was looking for!!
@jacobes5084 Жыл бұрын
Actually such a super helpful video thank you so much, what a 🐐
@achrafBadiry11 ай бұрын
Brilliant. I just had a problem understanding the "#endif" directive. thank you
@emanuelnolasco37452 жыл бұрын
I am dummie at C++ language and this was one of the best explanation I have seen. I just have one doubt, What is the meaning of "a.out" in the time 5:15? I don´t get it
@sivaramakrishnachitithoti8396 жыл бұрын
Very good explanation... well explained with good example scenario..
@ayoubdkhissi3 жыл бұрын
Very clear explanation! thanks
@amurkhandzagkoev18422 жыл бұрын
I love it! Cool explanation!
@NeelSandellISAWESOME5 жыл бұрын
Thank you so much. This really cleared things up for me.
@voidenth10 ай бұрын
brilliantly explained
@jaakob11284 жыл бұрын
Good tutorial! Keep up the good work!
@intros18548 жыл бұрын
This tutorial is pretty clear! Thanks.
@stargazer23504 жыл бұрын
This is really great. Thank you Paul.
@MsGrooveOn7 жыл бұрын
You should note about another approach (#pragma once)
@PaulProgramming7 жыл бұрын
Kirugan p Yes, that's a great idea. Thanks for the suggestion!
@lawrenegummy47365 жыл бұрын
(#pragma once) is not an original component of C++, as such it may work properly on some compilers but it may not work with some. Traditional Header guards will however safely compile in most if not all C++ compilers.
@Hamstray2 жыл бұрын
the right approach is: do not nest includes
@sylvesteruchia52633 ай бұрын
We don't use pragma once in this house . Standard c++ instructions only .
@henrikstaaf32935 ай бұрын
My god you are a good teacher my friend!
@henryharrison6083 ай бұрын
Why are them fileguards in uppercase , what if the class was declared in uppercase
@zkkvfvfv51174 жыл бұрын
simple and straight to the point. thank you
@poggers69-o3s Жыл бұрын
excellent explanation
@mkhadka1233 жыл бұрын
Nice and Easy, awesome video!
@justapasserby7732 жыл бұрын
youre a life saver man
@moinaction6 жыл бұрын
Best explanation ever!
@QuangHungNguyen-n2w Жыл бұрын
Best explanation. Thanks
@thekiwininja992 жыл бұрын
This was so helpful, thank you!!
@homamis6396 жыл бұрын
Excellent Explanation!
@shaswat_2927 ай бұрын
Crisp and Informative. Thanks
@cesarcalderon24994 жыл бұрын
Thanks man i was having a hard time understanding it perfect thank you
@gaskomusic4 жыл бұрын
Such a great explanation. Thanks!
@mickballard74006 жыл бұрын
Well explained Paul.
@rdxrdx17927 ай бұрын
Excellent exaplaination
@TViener8 жыл бұрын
Just subbed. Thanks for clearing this up for me!
@jokar_25412 жыл бұрын
ah man thanks a lot it's been days since i am tried to find a solution to this problem
@TheDrewfuss9 жыл бұрын
Thanks for that. Very clear and quick.
@resolvedman Жыл бұрын
U SAVE MY LIFE BRO!!!!!!!
@gauravpuri87162 жыл бұрын
Nice Explaination!!!
@kv62576 жыл бұрын
Thanks a lot , you explane me very good how to use header files and with g++ tool. Thanks !
@LukasanaTK8 жыл бұрын
explained it very well, subbed.
@Cutrexxx5 жыл бұрын
very good explaination. Can you pls tell me, for what are header files exactly?
@padmakumarnxt5 жыл бұрын
Outstanding tutorial!!.. Subscribed... :)
@Fun-io9kv3 жыл бұрын
Good explanation thanks
@muezapervaiz71632 жыл бұрын
very well explained!
@dctsdev Жыл бұрын
is there a usecase where you would have multiple Fileguards and name them differently in the same file?
@deathtoy1014 жыл бұрын
when you define file guards does it always have to be in capital letters?
@grabbenskarve35184 жыл бұрын
Try and see if you get an error.
@Avdheshkumar-kv5fz2 жыл бұрын
just a bigggg..THANK YOU 😇
@xdigitalmondx27 жыл бұрын
Great explanation! thank you.
@ednilsonalveslomazi85014 жыл бұрын
man, thank you so much! But i have one question: In inclusion of standard libraries (...) how can i wrapper those includes to avoid redeclaration? Im creating a library, so, i dont know what the user will include in his application.
@MAsif-sz9md Жыл бұрын
Thank you soo much ❤❤keep it up
@muhammadabumadeghem96755 жыл бұрын
you just give us a wonderfull answer . Thx
@ihateandreykrasnokutsky Жыл бұрын
In Visual Studio, when you create a header file, there's an automatically created 1st line "#pragma once". As I understand, it serves the same purpose, but requires just 1 line of code.
@avartation7 жыл бұрын
thanks a lot man !!! helped me a lot
@Drogny3 жыл бұрын
Great video, thanks!!
@metaverseclub52652 ай бұрын
brilliant video. Thank you
@gabriellegal44962 жыл бұрын
nice explanation
@bevedel7 жыл бұрын
thanks for the great explanation
@charity46135 жыл бұрын
this video is amazing. thank you so much
@shoaibramjaun6 жыл бұрын
what editor r u using?
@moardub4 жыл бұрын
Thank you for this video I appreciate this a lot.
@erickarias761927 күн бұрын
Good day . . . Hello ... How are you? You can include files with extensions .hpp and .cpp Can you do it in the MacOS IDE which is Xcode and run it through the terminal?
@justcurious1940 Жыл бұрын
Thanks Paul.
@PattysLab2 жыл бұрын
well explained!
@MrHighpour6 жыл бұрын
Thank you so much! This helped!
@moazelsawaf20005 жыл бұрын
Thanks a lot sir
@joeydicastro6 жыл бұрын
Awesome Paul.
@funkykong90014 жыл бұрын
Couldn't compilers automatically detect this case and just ignore the repeat include?