YTread Logo
YTread Logo

Datentypen verstehen leicht gemacht! - re-upload | #EdisTechlab #datentypen

Mar 03, 2024
Hello and welcome to Edis declip in today's video we talk about data types, the data types that are needed to define variables in programming languages, there is a floating double string and some others, how to define them, we will see each other from time to time. I'm sure everyone does. Can this be done when programming in C and other programming languages? Variables are always assigned data types. These data types indicate what can be stored in the variable. Here, as an example, are some variables that we have defined. the idea of ​​Arduino, but now let's look at the data types in detail.
datentypen verstehen leicht gemacht   re upload edistechlab datentypen
We can imagine the data types as a box, then we define what can go in the box. As an example, we define a box with ESP 32 and in the other box. Only Arduino is allowed. Now we try to put an Arduino on the ESB 32 board and then it doesn't work because this board is only reserved for the esb32. The data types are similar, only data can be written to associated variables. The data type is correct. A distinction is made between primitive data types and complex data types for values ​​in the form of integers, the following data types are available, the data type with a value range from 0 to + 255, this only takes up one byte . of storage space next we have the short type this goes from -32,768 to +32,767 and occupies two the most commonly used data type is the integer its value range from -2 billion 147 million 483,648 to plus 2 billion 147 million 483,647 and occupies four bytes the next data type is long and has a range of values ​​from very low to very high and occupies eight bytes next we have the group of decimal numbers the decimal numbers differ Due to the precision with which they are perform the calculations, the float data The data type calculates to a precision of 7 decimal places and uses 4 bytes of storage space.
datentypen verstehen leicht gemacht   re upload edistechlab datentypen

More Interesting Facts About,

datentypen verstehen leicht gemacht re upload edistechlab datentypen...

The double data type calculates to a precision of 15 decimal places and requires 8 bits of storage space. The data type must always adapt to the data of the respective task A. a type that is too large wastes resources unnecessarily and we should always avoid it when programming. If you want to learn more about data types or are interested in the DIY topic of home electronics, I can recommend a book to go with it. all my YouTube videos Here is the anticipated book that has all the projects written in even more detail and the good thing is that it grows month by month with new chapters.
datentypen verstehen leicht gemacht   re upload edistechlab datentypen
If you buy the book now you will save money because. All updates are free but the price of the book increases month after month. The content increases a little. Thanks in advance. The next two types of data have nothing to do with numbers. With char data type we can store a single uniko character in it. This letter must be enclosed in single quotes The char data type requires two large storage spaces The next data type is the so-called bowlion when polished, values ​​can be represented as true or if and this data type is mainly used to perform logical operations this data type only requires one bit of storage space for complex data types.
datentypen verstehen leicht gemacht   re upload edistechlab datentypen
I would just like to introduce you to the most important one and this type of data is the string with this type of data we can use full saved words or just individual letters with unique. characters, the character string must be enclosed in double quotes for the String data type. I hope you enjoyed the video and that it was educational. If you haven't already, please subscribe to the channel now, it will help me continue. to grow Thanks in advance, if you liked the video, like now, subscribe to the channel, thanks for watching, until next time Edi SPECT

If you have any copyright issue, please Contact