C Programming Tutorial - 54 - Functions

preview_player
Показать описание
Рекомендации по теме
Комментарии
Автор

I felt like such an idiot after our c-class today. After watching this video I'm back on track again! Thanks for explaining all this in a way that my teacher couldn't: A way that I could get my head around. ^^

mirolisen
Автор

I love that you explain things as if the program is a young child or an alien. Makes it easier to understand lol.

hanac
Автор

Some notes about this video:
1) A function that returns void does not have to have a return statement. "return" in a void function is mostly used to return from the middle of the function, just like a break statement in a loop.
For example:

void foo(int bar) {
if (bar < 0) return;
printf("%d", bar);
}

2) Any function that has no parameters shall be declared as follows:
int foo(void);
and not like:
int foo();
That is, to prevent an implementation that has parameters. Example:

#include ...

int foo();

int main() { ...}

int foo(int bar) {
return 42;
}

3) Function declerations are also called function prototypes.

zhupdhk
Автор

I love how your going slow and breaking everything down for even people like me, a 14 year old in C programming, thanks a ton

nicolasbrown
Автор

I got an A- in my C class partly thanks to your tutorials. Very helpful.

hurrdurr
Автор

You basically summarized a 80 slide ppt about this topic. Nicejob

ingodavilabanghard
Автор

Damn dude thank you. I'm doing school online and the downside is trying to interpret a text book explanation of how to do something simple. After watching your tutorial I totally understand what a function is and how it's used I just needed it in plain English thank you again

JM-veov
Автор

The way you explained the parts of the function and why we need to write it the way we do was perfect and I get it finally. Thank you!

Wrenpo
Автор

Awesome! My textbook's explanation of functions were way too complicated. You simplified it so well, thank you so much!

rikkurco
Автор

you are a life saver!, I swear you are like the patrickjmt for computer programming:), you make concepts seem very easy. Patrickjmt Make Calculus concepts easy grasp:)

ForHisGlory
Автор

Your videos >>>> My class in terms of being helpful. Much appreciated

jeffmeyers
Автор

I studied assembly like three years ago and I remember studying interrupt in real time system also, from these two I remember that compiler actually reads the entire code first and then it goes line by line. This means I don't have to give the code a heads up that a function is going to be used in the main.
I'm not quite sure if this applies here or not, but I think it is the same concept so if anyone can either consolidate that or disprove it that'll be awesome. By the way, these were quite awesome videos I learned a lot from them, thanks, Bucky!

youssef_arafat
Автор

This is a great way of describing the notion of prototyping.

sev
Автор

how can you execute several different functions in random order?

PoorJudgement
Автор

Thank you so much for putting the effort into explaining this particular subject, I'm back on track with the codes the lecturer is writing thanks to you.

snsmr
Автор

thanks! you are way better than my lecturer!

Автор

You're not a function! You're the man bro. Thanks for the video!

MarioRodriguez-grwc
Автор

I'm crying cause i'm close to the end, what would I do without Bucky's tutorials!!! :(

second
Автор

You helped me so much after watching over 10 videos with your video I understood thank you soo much.

anafernandafigueroadeleon
Автор

You my good sir deserve a Nobel Prize.

AbhisekC