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.
I am learning C# at college, but i feel like web development isn#t wheere i want to be. I am learnign C and then C++ what areas of programming could this open up?
It’s so cool to see how you have changed since the Java tutorials XD
I just try to register on your website but did not get confirmation mail.
i cannot see anything on the video, the font is too small, ccontent is good but presentation (visual) is not, u cud improve on presentation by increasing the font size
thanks man
If I wanted to include a file in main.c which contain programming codes similar to main.c then Can I? If yes then How?
i’m here now!! Yippee~~ i love bucky tutorial
can you upload some android version?
just one casting is enough actually:
avgProfit = (float)priceOfPunpkin * sales / dayWorked;
gives same result
// Thank you!
Good example
what are floats?
@thenewboston
I can not find your tutorial codes on your website : https://thenewboston.com/
Did you move it to somewhere else?
can you write:
(float)((priceOfPumpkin * sales) / daysWorked)???
thanks!
thanks for the videos… i like my professor but problem with professors is they forgot to be students.. thanks bro
Is there any reason for me to not declare ALL numerical variables as float?
I mean, since cross-compatibility is an issue, why bother using the less accurate int in the first place?
Anybody know why when you change the currency sign say to a pound sign or a euro sign they don’t show up?
how old are you now Bucky?
First
Is it possible to convert a char variable into an int? I am thinking in the case that we want to know, for example, the amount of characters that a word contains. I am sorry, I just began learning how to program, sorry if it is a stupid question but I don’t know if you can do this.
Sir ,
I have one question what to do to remember the code for a long time ?
I forget code after two days of learning .
Please help me and Answer my Question .
THANK YOU !!!
When I enter decimal number doesn’t work
Love your tutorials Man i couldn’t find for loop while loop and do while loop.???
umm not to be a smartass, but profit is after you subtract the expenses, well nvm that tho, nc video thanks. I’m just starting to study programming and I’m glad i found your site.
I was wondering can make a donut shop with c language with all of the orders and drinks also the combo meals cause im really confused and also tnx for the tip for the float
Nice pumpkin story BTW.
Thanx man … I’m really get benefit from these videos
Thank u Thank u Thank u
I am guessing that to be Buddy Blackbird?
0:31 thats like me reading a new message.. “Probably just mom again.. wow actually not cool who is it”.
Cracker Barrel is the best!
The main reason why you get 84 is because the program rejects all the decimal values since you’re working integers. The point is the compiler does not output 84.25… because you declared your avgProfit as a float. If you declare it as a double and print it with “%lf” (low float) it will work and you will get 6 decimal figures!
If 59 *10/ 7 = 84, Then 84*7/10 should be equal to 59 Right? But it’s not (in C). its 58.8
Check it out by running this:
#include
#include
int main(int argc, char const *argv[])
{
printf(“%f n”, 59.0/7*10);
printf(“%f n”, 84.0*7/10);
return 0;
}
___________
Output:
84.285714
58.800000
I think Microsoft is correct. something wrong with the code. C is rounding numbers for us. anyone have any idea?
why do they have integers and floats, why not just floats?