Facebook – https://www.facebook.com/TheNewBoston-464114846956315/
GitHub – https://github.com/buckyroberts
Google+ – https://plus.google.com/+BuckyRoberts
LinkedIn – https://www.linkedin.com/in/buckyroberts
reddit – https://www.reddit.com/r/thenewboston/
Support – https://www.patreon.com/thenewboston
thenewboston – https://thenewboston.com/
Twitter – https://twitter.com/bucky_roberts
Amazon Auto Links: No products found.
printf(” Wondered how in the heck did he got 1.8+ million subscribers”);
printf(“Now I found out why”);
/*This is just a comment*/
I try this, when i success key in number of babies program crash, why?
i try char crush;
char firstName[20];
char crush;
int numberOfBabies;
printf(“What is your name? n”);
scanf(“%s”, firstName);
printf(“Who are you going to marry? n”);
scanf(“%s”, &crush);
printf(“How many kids will you have? n”);
scanf(“%d”, &numberOfBabies);
printf(“%s and %s is in love, they have %d babies.”, firstName, crush, numberOfBabies);
return 0;
Bucky = Awesome
@thenewboston Mr. Bucky sir, I just love your tutorials on C, C++ and C#. It’s very easy to understand and memorize.
But I have a few doubts(not much). So could you provide me any means of contacting you?
I’ll delighted if you can provide me so. 🙂
Wtf am i the only one with the last scanf not waiting for input? I wrote exactly the same code!
I love this dude so much! Haha!
Jokes apart, thank you sir. These have been really helpful!
really love these videos bucky
so reachel is the 21 years old hottie? :O
When I want to enter characters as input I cannot type normal characters and my keyboard type weird characters!! I tried to change encoding to UTF8 but again it did not fixed. I also checked several encoding but none of them worked. I have this problem just for letters and numbers can print correctly.
I’ll pray to god that Rachel loves you back.
03:04 “The crush…array.That sounds like i wanna smash”
Well,that’s not wrong.
What if you do not want to include what you write into scanf in your output?
Bucky,greaat videos thanks..
but, my laptop have problem compiling this kind of data..
1st
same codes i typed as u did
then,run
then,my name
then,enter
it is showing “process returened 255 “. what to do??
53 babies. or more probably more. I respect you too much Bucky. lol
When would you want to use scanf instead of cin?
This guy is a genius. Thanks you so much.
did not get it.
char input[3];
scanf(“%s”,input);
printf(“%s”,input);
enter 10 chars and all of them will be printed out, regardless size of input is limited to 3.
Everything Bucky loves starts with Mc-
You talk too slow so I speed up video.
can someone tell me what’s wrong with this code:
#include
#include
int main()
{
char firstname[20];
char lastname[20];
int age;
printf(“What is your first name?”);
scanf(“%s”, firstname);
prinf(“what is your last name?”);
scanf(“%s”, lastname);
printf(“How old are you?”);
scanf(“%d”, &age);
printf(“%s %s is %d years old.”, firstname, lastname, age);
return 0;
}
why did u use & in scanf and why u did not use it after that in printf? or it is just because that numberofbabie was in scanf and in printf? 😀 think u know what i am asking
Your videos are so inappropriate but, they sure get those programming languages and/or markup languages stuck in your head pretty well. Love them. 🙂
best teacher ever 😀
%d as integer (ㆆ_ㆆ)
Man your video is soooooooo funny.
honestly speaking bucky , you are the best teacher in my life till yet i must say . i am a student from india who is presently doing a course of bachelor in computer appliations 🙂 . you are the best 😉
i hv just 1 question why the number of babies is not taken in array and taken a s variable .can someone please explain