Тёмный
No video :(

C Programming Tutorial - 10 - Creating a Header File 

thenewboston
Подписаться 2,7 млн
Просмотров 568 тыс.
50% 1

Source Code: github.com/the...
Core Deployment Guide (AWS): docs.google.co...

Опубликовано:

 

20 авг 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 331   
@LewdtenantLascivious252
@LewdtenantLascivious252 5 лет назад
why am i even paying for college
@sirjohn6299
@sirjohn6299 4 года назад
Start making a portfolio of all your projects and look into what company you want to work for and appropriate your qualifications for the company lol
@daniel_liu_it
@daniel_liu_it 4 года назад
good work man ,hahahahaha
@mystiqkc
@mystiqkc 4 года назад
Lol
@AbhishekGupta-vu7zt
@AbhishekGupta-vu7zt 4 года назад
For degree
@coralaisly
@coralaisly 7 лет назад
LMAO I love the names you come up with and how casually you can say "My name be Tuna McButter" as if that were a normal thing to say.
@michaelcole506
@michaelcole506 7 лет назад
Mine was "Pizza McmacNcheesey". He is totally on to the food thing so I just went with it. #define X "names" printf("Anyone else have some good %s?", X);
@rukna3775
@rukna3775 5 лет назад
@@michaelcole506 this was good!
@ZURATAMA1324
@ZURATAMA1324 9 лет назад
If I followed your advice on dating, I'd be dating a 17 year old girl. I'm sure the police officers would understand :) "I swear officer! This programmer told me I could do it!"
@ZweiSpeedruns
@ZweiSpeedruns 8 лет назад
so you're 20? 3 year gap. Seems legit.
@Dandaman955
@Dandaman955 8 лет назад
+ZURATAMA1324 I'm so British, I don't have to worry about the American legal age. xD
@doublebubleguy12
@doublebubleguy12 7 лет назад
There is a difference between dating and having sex....
@Dandaman955
@Dandaman955 7 лет назад
No, there really isn't.
@doublebubleguy12
@doublebubleguy12 7 лет назад
Sex 1. (chiefly with reference to people) sexual activity, including specifically sexual intercourse. "he enjoyed talking about sex" synonyms:sexual intercourse, intercourse,lovemaking, making love, sex act,(sexual) relations; More 2. either of the two main categories (male and female) into which humans and many other living things are divided on the basis of their reproductive functions. "adults of both sexes" synonyms:gender "adults of both sexes" dating gerund or present participle: dating 1. establish or ascertain the date of (an object or event). "they date the paintings to 1460-70" synonyms:assign a date to, ascertain the date of, put a date on "the sculpture can be dated accurately" mark with a date. "sign and date the document" have its origin at a particular time; have existed since. "the controversy dates back to 1986" synonyms:was made in, was built in,originates in, comes from, belongs to, goes back to "the building dates from the sixteenth century" 2. indicate or expose as being old-fashioned. "disco-that word alone dates me" seem old-fashioned. "a movie that will date quickly" synonyms:become old-fashioned, become outmoded, become dated, show its age More "the best films don't date" old-fashioned, outdated,outmoded, passé, behind the times, archaic, obsolete,antiquated; unfashionable, unstylish, untrendy; crusty, old world, prehistoric,antediluvian; informalold hat, out, uncool "the graphics look somewhat dated" antonyms:modern 3. go out with (someone in whom one is romantically or sexually interested). "my sister's pretty judgmental about the girls I date" synonyms:go out with, take out, go around with, be involved with, see, go steady with; More datedwoo, court "he's dating Jill"
@hydraulichydra8363
@hydraulichydra8363 4 года назад
6:37 OHHH THAT MAKES ME COME!!~ I'd been fucking around with my path and restarting my computer for the last 15 minutes just to find out that it doesn't matter if it's in the path because MinGW isn't looking in the path. So glad to know there's an easy solution.
@johnphillips8673
@johnphillips8673 9 лет назад
Thank you for your dedication. Making a tutorial video at 9 AM, I don't see that too often
@DaylightDigital
@DaylightDigital 8 лет назад
“McButter” I laughed so hard when I heard this. Better than McLovin
@EvilsoriHC
@EvilsoriHC 6 лет назад
Great video! The explanation of headers was clearly understandable. I want to figure out a tip: you can also type #include and into your header file so it will be working as well when you remove it from your main code ;)
@khanyi.beauty
@khanyi.beauty Год назад
Eight years later and this is still the most fun way to learn C Programming.
@pakoti96
@pakoti96 8 лет назад
What if a 12yo watched this? You're telling him not to date girls younger than 13.
@ZURATAMA1324
@ZURATAMA1324 8 лет назад
+Peter DD Bucky is a bad influence! INITIATE MEDIA PANIC! "Think of the children!" "Hide your kids!"
@omnwaf2182
@omnwaf2182 8 лет назад
and how would a 12 years old kid understand this :D
@technologyexposed9541
@technologyexposed9541 8 лет назад
+The Fear Im 13 year old and im second best kid programmer in croatia(won the competition)
@omnwaf2182
@omnwaf2182 8 лет назад
bad thing am from Egypt :( but one day i will be one of Microsoft programmers everyone will see it :)
@shizyninjarocks
@shizyninjarocks 8 лет назад
Yeah, yeah.
@ramzi45
@ramzi45 10 лет назад
lol you are a programmer, programmers don't date
@No-ih4zd
@No-ih4zd 9 лет назад
lies
@sympathygrl185
@sympathygrl185 9 лет назад
ramzi45 wrong
@alexshepler403
@alexshepler403 6 лет назад
he smashed twice at least
@pie6029
@pie6029 4 года назад
Never before have I felt so offended by something i 100% agree with
@subudash
@subudash 3 года назад
Yes they do, with the computers.
@PotatoIngHacks
@PotatoIngHacks 10 лет назад
This si the best header file explenation ever, thanks C:
@vividMario52
@vividMario52 10 лет назад
No it is not. If this is your only reference, you can't judge it. Bucky's tutorials are pretty inaccurate.
@PotatoIngHacks
@PotatoIngHacks 10 лет назад
vividMario52 I know :D Im programming for a longer time and I learned tht only bucky isnt the best reference. But I also renamber when I started with c++ (I did some other languges etc.. Skipped C) I had a big trouble finding starters header file explenation online :D
@vividMario52
@vividMario52 10 лет назад
PotatoIngHacks That's nice. It's okay if you skip C though.
@PotatoIngHacks
@PotatoIngHacks 10 лет назад
vividMario52 thanks
@GicaEric
@GicaEric 10 лет назад
Bucky, thank you first of all. I was just wondering if you could make some assignments like exercises at the end of each lesson. For example make a description of a program we could do using the lessons learned so far and kind of develop it. Or am I asking too much of you? Anyways thank you.
@dawidblom1940
@dawidblom1940 4 года назад
I seconed that. If Possible, it would be greate!
@pagnarmeas300
@pagnarmeas300 2 года назад
@@dawidblom1940 same
@jean-baptistelasselle4562
@jean-baptistelasselle4562 7 лет назад
Very good job, you explain really crystal clear notions. It's rare on the web, while I wont glame anyone sharing, since its a gift.
@dhf335434
@dhf335434 9 лет назад
I'm 2 years old ,so I get to date a girl who is 8 years old . Gotta go and tell mommy about this . :D
@Manu-lm8hq
@Manu-lm8hq 5 лет назад
Exactly My first Thought
@rahuls331
@rahuls331 9 лет назад
Congrats! You have successfully completed the 10 Tutorials of the series. Before going to next one, We got to have test our selves what we have learnt in this time and gonna make a small program that involves the knowledge we have acquired from this. Test your self.
@letsplayathon
@letsplayathon 9 лет назад
Yo... Ima do that. Smart Idea. Could really help some people get a hold on programming.
@thedunc3
@thedunc3 8 лет назад
that moment when even with the plus 2 years, you are too old for Bucky =( great tutorials, i'm learning so much!
@prakhargahlot9373
@prakhargahlot9373 7 лет назад
You have an amazing accent, it's very easy to understand even by a non native like me ! Thank you for these videos ,sir.
@TheLoyalpain
@TheLoyalpain 8 лет назад
omg it works!!!! thank you so much!!!!! that was so easy!!! all these other people make it seem so complex, but it's so not! so thanks
@HajajanI
@HajajanI 4 года назад
"We call it hashtag, because of stupid tweeter,now "
@YeetusEliteus
@YeetusEliteus 6 лет назад
omg getting back into programming with a different language and i realise my favorite programming youtuber does C
@decrypter9156
@decrypter9156 2 года назад
Best teacher ever.
@mohd.abdulbarikhan2322
@mohd.abdulbarikhan2322 4 года назад
i was searching why you were using define for constants, the ExaCt reason - from Google, but i donno why, whenever I'm trying to learn C from somewhere outside YOUR tutorial I die out of panick before REALLY dying like ugh. You're like a .. I dunno, a mother to a baby bird, training us on how to fly, in YOUR way. (You probably won't read this coz I haven't seen you reply to comments? but) Ayyyyee thanks Buddy Bucky 💖
@fritzauguste6669
@fritzauguste6669 9 лет назад
oh crap someone should have told me about the add 7, i have only been dividing by 2 ... gotta break up with my gf now
@AsquareM
@AsquareM 8 лет назад
+Fritz Auguste xD
@user-lu1nh3qu9j
@user-lu1nh3qu9j 5 лет назад
Loooool got urself a new gf now?
@rukna3775
@rukna3775 5 лет назад
@@user-lu1nh3qu9j he is still working on refining the formula so, ........ uhm, so he could date a girl.
@maelonheplorn8893
@maelonheplorn8893 3 года назад
bruh
@samleonetti
@samleonetti 8 лет назад
thank you so much for your tutorials. they are awesome I don't know how somebody could even want to dislike this
@ammarhussain4732
@ammarhussain4732 4 года назад
Such a expensive teacher i saw like bucky sir never ever in my life
@DialecticalMaterialismRocks
@DialecticalMaterialismRocks 6 лет назад
they're like libraries in python. Or at least that is what i'm thinking. Loving your videos man.
@Louthsk8er
@Louthsk8er 10 лет назад
Awesome tutorial. 3 people are mad because they cant date 21 year old hotties.
@livewithherbert
@livewithherbert 6 лет назад
I LOVE you Bucky! God bless you for these videos! I'm really learning
@nevilpaul6084
@nevilpaul6084 9 лет назад
Sorry for posting my comment on th wrong page but am following your tutorial lessons , am glad iv found a great teacher thanks bucky.
@TomaszWota
@TomaszWota 8 лет назад
+Nevil Ross Grab a copy of K&R2, get some legit knowledge, leave this series be. Seriously, this is a heartfelt advice. I'd love to see a good YT C tutorial, but if there is one, it's most definitely not this one.
@smaaack
@smaaack 8 лет назад
+Tomasz Wota (Xupicor) I would say this is probably a good series for people whole have started learning C under 30 minutes ago, like me
@ssrrapper
@ssrrapper 6 лет назад
People are complaining about the dating age formula, so let's make it "divide your age by 2 and subtract 7".
@ssrrapper
@ssrrapper 6 лет назад
Or maybe "divide your age by 7 add 2".
@abhimanyuthapliyal5823
@abhimanyuthapliyal5823 2 года назад
This was more than a tutorial video ,I think a comedy or something.
@galukya1
@galukya1 8 лет назад
Just found your channel, happy for it, plan to watch much and learn, this was fun and funny; thank you!
@kookiespace
@kookiespace 9 лет назад
21 here. But probably not a hottie xD I'm a programmer though :')
@souravdutta5703
@souravdutta5703 9 лет назад
KateTheAwesome don't worry.. you are a hottie..
@Softcushion
@Softcushion 9 лет назад
Sourav Dutta Smooth operator ( excuse the pun )
@kookiespace
@kookiespace 9 лет назад
***** You're the one giving me attention. lol. Why don't you just go away and solve your problem then? :P
@Hiro-ls8jp
@Hiro-ls8jp 9 лет назад
KateTheAwesome I'm 15 and I just started watching this tutorials because I want to learn how to program. Do I need to learn by memory all this functions and stuff? If yes how do you do it? If not how do you use them without remembering all of them? Thanks
@Softcushion
@Softcushion 9 лет назад
Hiro Of Heroes Best way too learn how too program in my opinion is too start creating simple programs and learn on a need to know basis.Decide what kind of language will suit your purposes and start writing and learning it though practise.
@mathijsmattie7711
@mathijsmattie7711 9 лет назад
I am 14 so I can't date girls under 14 :(
@rushikeshbaviskar5394
@rushikeshbaviskar5394 6 лет назад
I wonder why, And are you 17 now?
@kaan1780
@kaan1780 6 лет назад
Nah, he stopped aging after that comment.
@martinharris4416
@martinharris4416 5 лет назад
go do your homework kid, leave that stuff to us
@navjotsingh2251
@navjotsingh2251 4 года назад
Alexander Bourne you sound like the kid here tbh
@abdelkaderabdelbaki7083
@abdelkaderabdelbaki7083 4 года назад
Gg boi now u r legal U can date girls from 16 to +oo
@Aidan314159
@Aidan314159 10 лет назад
Bucky u are the best, i needed a C tutorial for reference for a while
@x00g40
@x00g40 10 лет назад
vividMario52 Please, go away.
@vividMario52
@vividMario52 10 лет назад
***** GNU C Tutorial, or something. Learn C the hard way... I also know some guys that can give great tuts. You could also watch lectures, but they're probably boring anyway.
@vividMario52
@vividMario52 10 лет назад
vividMario52 How did I forget books...
@lukedavoli2868
@lukedavoli2868 9 лет назад
vividMario52 Devil's advocate here. I really like Bucky's tutorials and I'm learning plenty. Whenever I try running a program he teaches me it works so I can't see where he is going wrong. So why do you say he doesn't know what hes talking about?
@leonemessi9623
@leonemessi9623 9 лет назад
Ending is incredible
@jim9080
@jim9080 8 лет назад
1:58 I call it hashtag coz of the stupid tweeter now #lol
@ris_bo3456
@ris_bo3456 3 года назад
Bro your videos are so organized and helpful god bless you!!
@alksh6374
@alksh6374 7 лет назад
you are the best bucky
@ankushsaini853
@ankushsaini853 4 года назад
Thats pretty cool to get along with something online. Thanks
@apparte462
@apparte462 6 лет назад
Thanks Bucky for these ineteresting tutorials keep making more videos :))
@memojuvenila
@memojuvenila 10 лет назад
Haha so if you're 60 you would be perfectly okay dating a 37 year old. I think there's a max age for this rule lol other than that you have no idea how much you've helped me so far bucky. I'm an engineering student and have to take C programming but somehow my professors made it 20 times more complicated and boring than how you teach it. Thanks a lot!
@sanjaysanju5171
@sanjaysanju5171 4 года назад
bucky: if anyones there , give me a call bucky's wife: hello...
@bongphanithyt7260
@bongphanithyt7260 4 года назад
Thank you "thenewboston"!
@djack3419
@djack3419 9 лет назад
thanks for the explanation of header's brackets :)
@jamesbrown-yr5cz
@jamesbrown-yr5cz 9 лет назад
today i'm here!!! lesson 10!! yahoo!!
@siddhantrao3618
@siddhantrao3618 Год назад
you're legendary
@dostoguven
@dostoguven 7 лет назад
9 am. shit you get up early.
@Zahidah13
@Zahidah13 9 лет назад
Mannn I love all your lessons and tutorials.
@gianlucadelillo8861
@gianlucadelillo8861 6 лет назад
Thank You, Bucky !!
@budhachandrayumkhaibam6079
@budhachandrayumkhaibam6079 6 лет назад
this channel's name is tunaRoberts
@gorgolyt
@gorgolyt 8 лет назад
I thought header files normally contain function declarations, and separate files contain the actual function definitions? This vid didn't explain how that works.
@random_works
@random_works 8 лет назад
This is great!
@coderavec2mdschool2024
@coderavec2mdschool2024 Год назад
thanks a lot I understand better now headers
@UmbertoFontanazza
@UmbertoFontanazza 4 года назад
I watched the C playlist back in the days but don't remember this video there
@fritzauguste6669
@fritzauguste6669 9 лет назад
when creating a header file, can u add functions to it? or should it only be header codes like #define ? i am sure these stdio.h and math.h was not only created from headers... think i just answered my own question
@blankspace1252
@blankspace1252 9 лет назад
you can add functions in headers but that function should not be repeated in main.c
@rayane4975
@rayane4975 8 лет назад
Thank you, you are amazing
@aribkamal3239
@aribkamal3239 4 года назад
I keep getting an error that says “girlsAGE undeclared (first use of this function)” can someone help
@aripovjr
@aripovjr 4 года назад
did you create an integer "girlsAGE"?
@roman9088
@roman9088 4 года назад
int girlsAge = (AGE / 2) + 7;
@doublebubleguy12
@doublebubleguy12 7 лет назад
Lol man love these videos, they are very helpful and you have a funny personality. Hope you find them girls :S
@samuelhamilton9924
@samuelhamilton9924 7 лет назад
Note use common d for define
@mordissh
@mordissh 10 месяцев назад
How lesson 10 is about header file and only in lesson 54 you teach about function?
@shahbozmamadjonov495
@shahbozmamadjonov495 9 лет назад
Hello Bucky! Nice videos and Thanks for performance! Bucky, Could you explain me some functions that i did not understand while the my lectures! THIS is the question: Write a complete C or C++ program to implement a file processor. Your program should have the following menu. Write necessary functions for the menu: Menu: 1- create file 2- copy file 3- copy without spaces 4- merge files 5- Quit Thanks in Advance buddy!!
@nukami
@nukami 9 лет назад
WHERE IS THE WAIT FUNCTION AND CLICK. I wanna make a conversation
@NyfoVideos
@NyfoVideos 9 лет назад
Sad if you're 14 years old... xd
@hamzasalah8674
@hamzasalah8674 6 лет назад
Nice reference from How I met Your Mother #BarneyStinson
@shizyninjarocks
@shizyninjarocks 8 лет назад
Ha! Notice Bucky used int values instead of floats to shave off that extra half year. LOL
@JoRdaNianCR7
@JoRdaNianCR7 9 лет назад
I sometimes get an error message " This program has stopped working checking for solutions" what could be the cause.. by the way your videos has been really helpful
@ThePositiev3x
@ThePositiev3x 9 лет назад
hey bucky, more libraries you call means need more time to compile? If not, why don't we call them all at first?
@deelawer
@deelawer 9 лет назад
Calling them all would take a lot of processing power. So it's best to use what is needed.
@ajaykumaras
@ajaykumaras 8 лет назад
dating advice lolz U rock big time bucky .. thenkyu for ur uploads
@tianhanjie3308
@tianhanjie3308 6 лет назад
I am using codeblocks on Mac, I created a header, but when I try to debug it, it showed that the header file is not found, how to solve this problem
@divysh2188
@divysh2188 8 лет назад
good luck on finding tht girl!
@nukami
@nukami 9 лет назад
Tuna McButter 3:03 HAHAHAHA
@reighlee6651
@reighlee6651 3 года назад
i have a question though, what's the advantage of using a header file rather than just creating another .c file. they are kinda used the same? correct me if i'm wrong though. hope someone answers
@niravbharadiya2901
@niravbharadiya2901 8 лет назад
hey ! i have some doubts related to dealing with header files . what if we want to include some predefined library file in our own header file ?
@hussienalsalehi7292
@hussienalsalehi7292 4 месяца назад
A small comment for some reason I had to build and run the header file for it to work as the complier was unaware that the constants existed it seems if the file doesn't exist it wont recognize the constant we already created It gave me an error message a few time another thing is I can't see the icons you have in the corner although I followed the same steps I am not sure if it because I am using a windows 10 computer or not?
@appleciderpessnvinegar7917
@appleciderpessnvinegar7917 8 лет назад
No matter what I try, typing this EXACTLY as you do it, the program doesn't recognize the header file. I've even made a whole new clean file and it still doesn't incorporate the header file. What's the issue?
@fatboycrew6649
@fatboycrew6649 7 лет назад
same problem, did you fix it?
@RameenFallschirmjager
@RameenFallschirmjager 3 года назад
extremely small font. Almost unreadable.
@marcello4258
@marcello4258 3 года назад
so in comparison to for instance java where import only imports those blocks needed included headers to import everything in the file even those parts which are needed.. meaning if you have 36271863812 functions but only call one of them the compiler still includes all of them? is there a way for more efficiency ?
@diegopersello3430
@diegopersello3430 4 года назад
Hello! I have a question ... What happens if I put stdio.h and stdlib.h in the header and remove them from main.c? It is an important question that afflicts me ... Thank you very much
@mdmasidulhasan27
@mdmasidulhasan27 6 лет назад
can I use string like this? scanf("%s",name[2]); that only can scan name: Ma(s)idul Hasan and change the character (s)????
@niksnikson
@niksnikson 9 лет назад
It says no such file or directory!!
@paramvirsingh5640
@paramvirsingh5640 7 лет назад
whts the difference between variables and include statement? and how they are different?
@jayshreekrishana10
@jayshreekrishana10 7 лет назад
hy busky when I m creating this program ..code block showing this kind of error..".exe has stopped" please help me ..😢
@shresthachino
@shresthachino 7 лет назад
my management dialogbox diaapered how do i get it back the one from where i click the source code
@abhishekmogaveera4593
@abhishekmogaveera4593 6 лет назад
Hey bucky, i am.having a problem whenverr I type the header file u have showed in your video. Its just says error and doesn't do anything. After that even the basic commands like hello world are showing error. Is there a problem with codeblocks?
@sayarakhadka7362
@sayarakhadka7362 5 лет назад
actually I didn't get it.. why to make own header file.. please make me clear...
@skytian356
@skytian356 10 лет назад
hi why suddently my build and run button doesn't work, what should i do?
@stevefrt9495
@stevefrt9495 8 лет назад
Thanks you so much
@austinnguyen9107
@austinnguyen9107 7 лет назад
How do we save files or create a new ".c" file? instead of using main everytime? thanks
@sansamman4619
@sansamman4619 7 лет назад
guys if you are watching this new in the new version it might not work ,all you have to do is create new file instead of new empty file
@1-minutetips109
@1-minutetips109 5 лет назад
How to convert images , gif to header files
@chinmaykulkarni7835
@chinmaykulkarni7835 4 года назад
If we add other header file in our own created file and to avoid re-add of those in main program what should we do ????? I seen people using #ifdef or something like that?
@mohammedsulayman7408
@mohammedsulayman7408 6 лет назад
Thank you !!
@ibrahimmohammed4728
@ibrahimmohammed4728 8 лет назад
identifier age not defined whats the mistake?
@RijulSingh25
@RijulSingh25 8 лет назад
what if my age is 19? do I have to put float and %f ??
@letsfigureouttogether
@letsfigureouttogether 6 лет назад
When i use this symbol "< >" in header file, why compiler gives an error?
@vesnacordeiro5857
@vesnacordeiro5857 3 года назад
because it is a file you made not a already made file in the c++ grouo
@rakeshkumarsm6872
@rakeshkumarsm6872 6 лет назад
what is the use of creating a header file?
@shivanshshukla5978
@shivanshshukla5978 6 лет назад
i am not able to get your forum,.....can you please help me out with that??
@81quiroz
@81quiroz 10 лет назад
i wanted to ask .if i was to exit out the program but had saved what i had done in the previous video's can i still do this tutorial or would i have to start over to be able to do this cause i had reopen a file that i had done and im not able to do this
@ubaidmanzoorwani7491
@ubaidmanzoorwani7491 6 лет назад
i want to link stanfords library header file to code blocks can i do it plzz help
@diverseprogrammer18
@diverseprogrammer18 5 лет назад
14/2+7=14. Magic
Далее
C Programming Tutorial - 11 - Getting Input with scanf
7:38
why do header files even exist?
10:53
Просмотров 391 тыс.
КТО ЛЮБИТ ГРИБЫ?? #shorts
00:24
Просмотров 883 тыс.
C++ Header Files
15:10
Просмотров 717 тыс.
Master Pointers in C:  10X Your C Coding!
14:12
Просмотров 299 тыс.
Header files and libraries (Kevin Lynch)
9:32
Просмотров 94 тыс.
Understanding Header Files in C
14:48
Просмотров 13 тыс.