C Programming Tutorial 21 - Int, Float, and Double Data Types

preview_player
Показать описание


~~~~~~~~~~~~~~~ CONNECT ~~~~~~~~~~~~~~~

~~~~~~~~~~~~~~ SUPPORT ME ~~~~~~~~~~~~~~

🅑 Bitcoin - 3HnF1SWTzo1dCU7RwFLhgk7SYiVfV37Pbq
🅔 Eth - 0x350139af84b60d075a3a0379716040b63f6D3853
Рекомендации по теме
Комментарии
Автор

You have no idea how much your vids are helping me. I'm taking website/creation/design and there's a programming with C class in there. I'm not a fan of it and I can't seem to get it by just reading out of a book. So this is helping big time. Thanks!!!

crystalfrappier
Автор

trying to learn C# right now, and had a hard time understanding what these 3 things actually 'do'. thanks for sharing an explanation, helps a lot!

andrewruttan
Автор

I thought the format specifier for integer was %d and %lf for double?

natalieenriquez-birch
Автор

Thank you for making it clear, Caleb. This has helped me.

TheDFitzChannel
Автор

No cap this guy is really good @Caleb Curry i have an interview and i needed to learn the syntax for C bro you've been such a MASSIVE help THANKS also please keep up the amazing work love the vids.

mohammedriaz
Автор

I attend school for this and the way they explained it wasnt as detailed and simple as this. Thanks a lot !!

takumimusicstore
Автор

wow this helps me a lot. I now know what's the difference between the 3. I usually listen to my instructor but can't focus my attention all the way to the end.

Pedro-ixkd
Автор

Thank you sir, Now I can differ between double and float

milonsheikh
Автор

Thank you for these videos!! The details you share are filling a lot of gaps in my knowledge.

pswr
Автор

You are so amazing, fun learning, like your presentation so much.very interesting not boring !!!!

Ab-vevw
Автор

#include <stdio.h>

int main()
{
//int = integer
int = 9;
//floating point
//precision-how much data the var can hold.
printf("%i %f %f\n", 1, 1, 1111, 1, 1111F);
return 0;
}
This that you showed us was in error in all the compilers i used. why if it worked for you?

TheGreatDistracto
Автор

My dog has a leg missing. That counts as a fractional dog right?

pudjmvu
Автор

Thank you very much really thank you
but how i can make a number smaller as just 2 digits after the point like 12.34 ??

shahad
Автор

Could you pls upload a video on enumeration types in C++?

keeratkaurguliani
Автор

I have a general question about the c++ number output system. Currently, I have written a program that is capable of generating a text file for users given certain input from the user in the command console. however, sometimes the numbers generated by the program exceed one million, and thus the program begins to write it as, for example, 1.0064e+006.I understand this means Overflow Error, in a basic understanding, but is there any way to make it output the full number, rather than e+006?

WaylandFoster
Автор

So as i know float is for number that has fractional point like 25.344 and int is for real numbers like 25
😂 so simple
This js my first year studying c and i feel like its fun!

Salamanca-joro
Автор

I highly doubt you have a fractional part of a dog as a pet. That's just messed up!"

The person who adopted a dog that had lost 2 of his legs and part of his spleen: **cries in the corner**

LostOnceLefthanded
Автор

Before main() I guess it should be void

ayantika
Автор

why i am so dumb i could not understand it clearly.double and float are same .but sometime the value is changed by the float data type.but why dude.how will i know that now float will change the value.

oniromanxer
Автор

Just as confused as I came into this video. The explanations on float and double are pretty confusing still.

JustThink