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.
He is hilarious (Y)
thank you for your all tutorials…………… your just making c programming more easier for me….. keep it up… i’m gonna see your next ones too
how do we calculate exponentials? what’s the syntax for that operator? like 4 to the power of 5?
Idk if anyone can tell me what I’m doing wrong here or what but I’m copying character by character the same code that bucky is typing her ein this video, but my /n functions do not work, so that the console will display /n instead of telling the console to go to a new line.
26/11/2014 time 02:16 p.m, i’m at bucky tutorial lesson 12
Bucky’s back! Cheers !!
Quick question…. for a float, do you have to write the number with a decimal or could it have been just a whole number and the computer makes it a decimal answer? Thanks!
595 lbs?? 12 lb watermelons?? Are you living on Jupiter?
Hey Buzky!,I’m Sorry it was supposed to be Bucky. Now I know the formula for dating. I don’t even know bagels,I’ve search the net and found out that their just like donuts…. Hey Sir!,Thank You for the Nice Tutorial. I really like your Humor when you do your videos. kudos! I’m Starting to learn how to Code now… Thank You!
Cannot see anything .
Why we use float?
Its only me, or everyone here needs zoom in tool button? to watch it out
Hey guys, I’ve made a function/calculator, but it’s not really working
#include
#include
int main(void)
{
int num1;
int num2;
int function;
int sum;
int difference;
int product;
int quotient;
int add;
int subtract;
int multiply;
int divide;
printf(“Enter 2 numbers:”);
scanf(“%d%d”, &num1, &num2);
printf(“Now choose amongn addn subtractn multiplyn dividenEnter here:”);
scanf(“%s”, &function);
if(function = add){
sum = num1 + num2;
printf(“%d plus %d equals %d”, num1, num2, sum);
}
else if (function = subtract){
difference = num1 – num2;
printf(“The difference is %d”, difference);
}
else if (function = multiply){
product = num1 * num2;
printf(“%d times %d equals %d”, num1, num2, product);
}
else if (function = divide){
quotient = num1 / num2;
printf(“&d divide by %d equals %d”, num1, num2, quotient);
}
else{
printf(“What the fk are you doing”);
}
getch();
}
When I run this it i can only do add and when i try to subtract it goes really wrong. just wondering can anyone help me on that?
thx u so much ^^ you explain these stuff better than my IT proffesors
are you really 595 pounds
You should make the text size smaller
thank you for your all tutorials…………… your just making c programming more easier for me….. keep it up… i’m gonna see your next ones too
Im trying to run this code below and it runs fine until it gets ready to run printf(“You are %d years old n”, currentAge); and then get this as the following line that is running (lldb). I’m running this code in Xcode compiler.
{
int currentAge, birthYear, currentYear;
printf(“Please enter you birth year: n”);
scanf(“%d”, &birthYear);
printf(“Please enter current year: n”);
scanf(“%d”, ¤tYear);
currentAge = currentYear – birthYear;
printf(“You are %d years old n”, currentAge);
return 0;
}
I want to make a calculator for a capacitor but it freezes when I enter the uf rating, it doesn’t freeze when I use integer, but I need realy precise numbers. Did I do something wrong?
{
float farad;
printf(“What is the uf rating of your capacitor?n”);
scanf(“%f”,farad);
how can i calculate 10^n (exponent)?
Now we know how to override laws of math. Cat knows how to override laws of nature. Sounds fair lol.
Pay attention when dividing integers, example: 11/4=2 in C. Remainder is dumped to stay within the integer set. Unfortunately it doesn’t round up nicely to 3.
So until now what I learned from Bucky is that he is 28 years old and is married to 21 year old Rachel Mcadams and weighs 595 lbs and has 53 babies and writes loads of craps everyday.
i still dun understand the purpose of % operator
For what do we use float???? I cant find it in video
I’ve started learning C and C++, wtf? C++ is much more intuitive.
What did I do wrong?
#include
#include
int main()
{
int currentYear;
int birthYear;
printf(“Enter current year:”);
scanf(” %d”, ¤tYear);
printf(“Enter your birthyear:”);
scanf(” %d”, &birthYear);
printf(“You are %d years old.”, currentyear – birthYear);
return 0;
}
Hang on……595 POUNDS!!!!!! Isn’t that supposed to be nearly 300 kgs??!!