Would you like to inspect the original subtitles? These are the user uploaded subtitles that are being translated:
1
00:00:03,600 --> 00:00:10,160
Hello guys in this video we're looking at data types and empty for you have multiple data types that
2
00:00:10,160 --> 00:00:14,730
you can apply when making any programming operation.
3
00:00:14,800 --> 00:00:16,290
It can use integers.
4
00:00:16,350 --> 00:00:18,770
You can use those
5
00:00:21,620 --> 00:00:26,140
you can use strings.
6
00:00:26,150 --> 00:00:33,020
You can use these added dream name that you always that you use most of the time but you can also use
7
00:00:33,020 --> 00:00:45,230
shorts you can use unsigned shorts you can use long gone unsigned long you can use fluids and so on
8
00:00:45,740 --> 00:00:55,050
nobody three will focus on the integers logos and string integers and any number without decimal place.
9
00:00:55,180 --> 00:01:04,940
Now when you're dealing with a number like One two three four five those numbers are integers doubles
10
00:01:04,940 --> 00:01:14,770
their numbers with decimal place like one point two three four five like two point seventy nine the
11
00:01:15,380 --> 00:01:16,160
strings
12
00:01:18,610 --> 00:01:31,120
alphabets characters like texts like names names in names words and so on.
13
00:01:31,120 --> 00:01:39,200
Any set of letters any collection of letters is a string so you can assign as trying to see by saying
14
00:01:39,310 --> 00:01:40,370
season what
15
00:01:43,150 --> 00:01:54,910
First you open the codes and then you open the string and close the quote and then I say I signed it
16
00:01:55,230 --> 00:02:06,860
to see and you can assign an integer today by saying he equal to one and B and C easy quarter to plead
17
00:02:06,880 --> 00:02:08,430
for and so on.
18
00:02:09,060 --> 00:02:13,550
And anywhere in the code you can ask for these values.
19
00:02:13,550 --> 00:02:18,410
For example you can see comments comments.
20
00:02:18,920 --> 00:02:24,930
A B C comment on friends.
21
00:02:24,950 --> 00:02:26,280
They work the same way.
22
00:02:26,660 --> 00:02:32,000
What comments shows the value on the charts.
23
00:02:32,000 --> 00:02:34,190
Well print shows the value in the log.
24
00:02:34,880 --> 00:02:47,500
So if I comment ABC and I go to my empty for counter comments this inside of instead of I'm in it it
25
00:02:47,540 --> 00:02:51,560
runs when I please the expert on chance.
26
00:02:51,710 --> 00:02:59,280
Now when to go to my link to and okay acquitting you eat it for the sake of this.
27
00:02:59,690 --> 00:03:05,910
This class so you can see twelve point three four five four five four three five.
28
00:03:05,930 --> 00:03:13,010
I am assigned to see what you have there is the combination of C of A B and C.
29
00:03:13,010 --> 00:03:23,750
Now if I want to separate them so I can see them one by one I went at an empty an empty string not only
30
00:03:23,750 --> 00:03:30,870
has space inside it so there'll be a single space between all my elements.
31
00:03:30,920 --> 00:03:39,650
One two point three four five three five four three five I am assigned to see those added three data
32
00:03:39,840 --> 00:03:46,670
the three data types that I just had to put it on my charts if I want to see them in the log instead
33
00:03:47,650 --> 00:03:56,620
and I want them on my chart I can print and in the log you can see the message the same as the one on
34
00:03:56,620 --> 00:04:03,460
the chart will not go away because I didn't take it off if I wanted to go if I have to send an empty
35
00:04:03,460 --> 00:04:12,520
string there to make it disappear so I see comments comment it is trying to displace the old comment
36
00:04:12,580 --> 00:04:19,000
and that's what will we and other data types and you can combine data types.
37
00:04:19,000 --> 00:04:27,880
For example if I want everything to be shown as a string that has these trade deals which is empty and
38
00:04:27,880 --> 00:04:32,650
how CDE quotes in these quotes and
39
00:04:37,100 --> 00:04:40,580
he just uses a
40
00:04:46,470 --> 00:04:49,010
in a low C
41
00:04:51,910 --> 00:04:56,180
Jane and I'm genuine a number two is true.
42
00:04:57,110 --> 00:05:06,500
This will work but you get a warning implicit conversion from no to string Min meaning that this value
43
00:05:07,220 --> 00:05:15,020
which is a number one will be converted to a string and you did not explain it explicitly states that
44
00:05:15,020 --> 00:05:17,560
they should convert aides with a string.
45
00:05:17,990 --> 00:05:24,060
So the takeaway is one and you have to tell them that you know you know this is changing into a string
46
00:05:24,110 --> 00:05:26,620
and you allow it to become a string.
47
00:05:26,900 --> 00:05:30,030
That's way there would be no warning.
48
00:05:30,440 --> 00:05:38,300
And if you run your experts and Winton comments deep you run your expert.
49
00:05:38,790 --> 00:05:40,960
You should get a combined string.
50
00:05:40,970 --> 00:05:43,220
One I am assigned to C
51
00:05:46,080 --> 00:05:54,020
and these are a basic data types that will be working with us throughout this tutorial.
52
00:05:54,120 --> 00:05:55,510
See in the next video.
53
00:05:55,520 --> 00:05:55,880
Thanks.
5191
Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.