I watched tens of other videos of famous bloggers and took Harvard cs50 course and could not figure out what argument in function was. This videos made my day and finally I'm one step closer in C. Thanks Bro!:)
Dude, absolutley! I've been running over CS50 lecture 1 over and over to get this bit. But now finally here is what I needed! Thank you!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
@@sumnerbrent yeah unfortunately cs50 doesn't explain a lot of things well, you basically HAVE to turn to other resources to piece it all together. this channel is the best I've found and not making things even more complex, but rather simple and easy to understand. where's the donate button? lol
I don't take that course but I am reading the book Programming & Design Logic. That's a great book however for a person who is slow like me, this video, this youtube channel is very helpful
This is the best explanation I've ever seen of arguments and functions(I'm new to C). Well explained, especially with the analogy you gave thanks a lot
BRO your videos are amazing! Yours is the first channel I've found that actually explains programming well. Every other channel seems to explain things as if the viewer already understands them, if that makes sense. when watching your video, I didn't have to google 30 different words to make sense of it all, you explained it as clearly as possible without me having to know every programming term under the sun. thank you!!!!!!!!!!!!
if someone is wondering, using fgets after using a scanf somewhere in your code, creates an issue and you won't be able to get a string input. so you can add a ' ' after the identifier like for e.g.: scanf("%d ", age); this also creates other issues so i'd recommend using fgets before scanf always. this is one of the issues of writing code in older languages like C.
that's because they understand it so well, they cant even imagine how little we understand it in the beginning. ive noticed it a lot, they teach like you already know 50% when in reality most students learning programming for the first time know 1%
May I suggest that you open a members subscription for your channel? I think you deserve to get some love/support from the community, your work is amazing and everything is free... being a member would only help you but it wouldn't be a barrier for the content.
Sir Im getting an error It gives the following msg in VSCode: The ampersand (&) character is not allowed. The & operator is reserved for future use; wrap an ampersand in double quotation marks ("&") to pass it as part of a string. At line:1 char:98 + ... Files\" ; if ($?) { gcc Arguments&Parameters.c -o Arguments&Paramete ... + ~ The ampersand (&) character is not allowed. The & operator is reserved for future use; wrap an ampersand in double quotation marks ("&") to pass it as part of a string. At line:1 char:135 + ... rameters.c -o Arguments&Parameters } ; if ($?) { .\Arguments&Paramete ... + ~ The ampersand (&) character is not allowed. The & operator is reserved for future use; wrap an ampersand in double quotation marks ("&") to pass it as part of a string. + CategoryInfo : ParserError: (:) [], ParentContainsErrorRecordExcept ion + FullyQualifiedErrorId : AmpersandNotAllowed Pls Help
#include
void birthday(char x[], int y)
{
printf("
Happy birthday dear %s!", x);
printf("
You are %d years old!", y);
}
int main()
{
char name[] = "Bro";
int age = 21;
birthday(name, age);
return 0;
}
[]
I watched tens of other videos of famous bloggers and took Harvard cs50 course and could not figure out what argument in function was. This videos made my day and finally I'm one step closer in C. Thanks Bro!:)
Dude, absolutley! I've been running over CS50 lecture 1 over and over to get this bit. But now finally here is what I needed! Thank you!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
@@sumnerbrent yeah unfortunately cs50 doesn't explain a lot of things well, you basically HAVE to turn to other resources to piece it all together. this channel is the best I've found and not making things even more complex, but rather simple and easy to understand. where's the donate button? lol
I don't take that course but I am reading the book Programming & Design Logic. That's a great book however for a person who is slow like me, this video, this youtube channel is very helpful
This is the best explanation I've ever seen of arguments and functions(I'm new to C).
Well explained, especially with the analogy you gave
thanks a lot
BRO your videos are amazing! Yours is the first channel I've found that actually explains programming well. Every other channel seems to explain things as if the viewer already understands them, if that makes sense. when watching your video, I didn't have to google 30 different words to make sense of it all, you explained it as clearly as possible without me having to know every programming term under the sun. thank you!!!!!!!!!!!!
if someone is wondering, using fgets after using a scanf somewhere in your code, creates an issue and you won't be able to get a string input. so you can add a '
' after the identifier like for e.g.:
scanf("%d
", age);
this also creates other issues so i'd recommend using fgets before scanf always.
this is one of the issues of writing code in older languages like C.
I'm torn between feeling dumb or disappointed on my instructor😅, didn't know it was that easy to understand. Keep up the great job good Sir 👍
Thank you for doing this. It's down to earth and easy to understand. I'm taking a c# master class and sometimes get lost in the jargon
Thanks for your videos.. With this one of the whole series, is the first time that I feel dumb... I hope that the next one bring me some lights!
Wow. This is the simplest explanation I have ever come across
Go bro! This is awesome!
برو انت الافضل على مدى السنين
man thanks so much i think im finally starting to understand arguments a little now and can continue with my course
So easy explained on youtube yet at university the Einsteins fail to explain baisc stuff...
that's because they understand it so well, they cant even imagine how little we understand it in the beginning. ive noticed it a lot, they teach like you already know 50% when in reality most students learning programming for the first time know 1%
It's cuz we think(we means the people who are smarter on the topic), that everybody understands it as well as we.... Some people can shorten that.
May I suggest that you open a members subscription for your channel? I think you deserve to get some love/support from the community, your work is amazing and everything is free... being a member would only help you but it wouldn't be a barrier for the content.
so how would you pass a value into main?
Perfect! Many Thanx!!! 🎉
hey, in my course we always do this by calling the functions in the main function, why does it work to pass arguments like these,without a main?
really helpful, thanks a lot
NICE VID
Sir Im getting an error
It gives the following msg in VSCode:
The ampersand (&) character is not allowed. The & operator is reserved for future
use; wrap an ampersand in double quotation marks ("&") to pass it as part of a
string.
At line:1 char:98
+ ... Files\" ; if ($?) { gcc Arguments&Parameters.c -o Arguments&Paramete ...
+ ~
The ampersand (&) character is not allowed. The & operator is reserved for future
use; wrap an ampersand in double quotation marks ("&") to pass it as part of a
string.
At line:1 char:135
+ ... rameters.c -o Arguments&Parameters } ; if ($?) { .\Arguments&Paramete ...
+ ~
The ampersand (&) character is not allowed. The & operator is reserved for future
use; wrap an ampersand in double quotation marks ("&") to pass it as part of a
string.
+ CategoryInfo : ParserError: (:) [], ParentContainsErrorRecordExcept
ion
+ FullyQualifiedErrorId : AmpersandNotAllowed
Pls Help
?
DONE❤
thanks bro :)
damn this is good
I think bro is 21 years old
ay uhh whats going on people 😎
dudes
bro code with neovim