C++ Programming Tutorial 17 - Integral Data Types, sizeof, climit

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


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

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

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

Just experimenting while follow along for example I created my own bytes_to_bits function converter. int bytes_to_bits(int bytes) { return bytes * 8; } and pass in the sizeof function as an argument with the integral data type in the sizeof function as an argument.

CDitfort
Автор

*long long* d;
I see what you did there

___echo___
Автор

I found this video extremely interesting, and thanks for showing us the sizes of each of those different types on your machine!

PunmasterSTP
Автор

Good video. I'm a french beginner in C++ and i managed to understand you because you speak slowly, it's very cool. :) I'm trying to learn C++ atm, i'll check your videos and your links. Thank you.

SuperShadow
Автор

how have I only discovered this channel now??
Its a gem

MSP_-wpfb
Автор

I always had difficulty grasping signed and unsigned data types, but you explained this topic in such a concise and simple way that even a half-wit like me could understand. Good job and many thanks!

brocklesnarufcchamp
Автор

When i tried to output U<any integral type>_MAX, it ran perfectly but for U<any integral type>_MIN an error showed up .
Error :‘USHRT_MIN’ was not declared in this scope
why ?

jasmeetkaur
Автор

now it makes sense why minecrafts enchants can only go up to 32767

extraglitch
Автор

Awesome videos! Been following the series while learning c++ in school to help fill in some gaps. Its been bugging me after hearing the outro and not being able to figure out what the song is! please tell me! lol

LocalBarfly
Автор

When you did the sizeof() how do the output numbers tell you what size?

sevyn
Автор

Nice tutorial series. But your series is from 2019 - so why not teach C++11 integer types like uint8_t, uint16_t, uint32_t and uint64_t (and their corresponding signed versions), too?

herrdingenz
Автор

noob question: why not just use long long data type all the time to accommodate different types of applications?

lodi
Автор

unless its like, my number of subscribers, , , , but is that in bits or bytes???

idubbzimfake
Автор

5:21 He made himself believe he had eighteen quintillion subscribers

TheVoidBlock