All language subtitles for 2. Introduction to Strings in C!

af Afrikaans
ak Akan
sq Albanian
am Amharic
ar Arabic
hy Armenian
az Azerbaijani
eu Basque
be Belarusian
bem Bemba
bn Bengali
bh Bihari
bs Bosnian
br Breton
bg Bulgarian
km Cambodian
ca Catalan
ceb Cebuano
chr Cherokee
ny Chichewa
zh-CN Chinese (Simplified)
zh-TW Chinese (Traditional)
co Corsican
hr Croatian
cs Czech
da Danish
nl Dutch
en English
eo Esperanto
et Estonian
ee Ewe
fo Faroese
tl Filipino
fi Finnish
fr French
fy Frisian
gaa Ga
gl Galician
ka Georgian
de German
el Greek
gn Guarani
gu Gujarati
ht Haitian Creole
ha Hausa
haw Hawaiian
iw Hebrew
hi Hindi
hmn Hmong
hu Hungarian Download
is Icelandic
ig Igbo
id Indonesian
ia Interlingua
ga Irish
it Italian
ja Japanese
jw Javanese
kn Kannada
kk Kazakh
rw Kinyarwanda
rn Kirundi
kg Kongo
ko Korean
kri Krio (Sierra Leone)
ku Kurdish
ckb Kurdish (Soranî)
ky Kyrgyz
lo Laothian
la Latin
lv Latvian
ln Lingala
lt Lithuanian
loz Lozi
lg Luganda
ach Luo
lb Luxembourgish
mk Macedonian
mg Malagasy
ms Malay
ml Malayalam
mt Maltese
mi Maori
mr Marathi
mfe Mauritian Creole
mo Moldavian
mn Mongolian
my Myanmar (Burmese)
sr-ME Montenegrin
ne Nepali
pcm Nigerian Pidgin
nso Northern Sotho
no Norwegian
nn Norwegian (Nynorsk)
oc Occitan
or Oriya
om Oromo
ps Pashto
fa Persian
pl Polish
pt-BR Portuguese (Brazil)
pt Portuguese (Portugal)
pa Punjabi
qu Quechua
ro Romanian
rm Romansh
nyn Runyakitara
ru Russian
sm Samoan
gd Scots Gaelic
sr Serbian
sh Serbo-Croatian
st Sesotho
tn Setswana
crs Seychellois Creole
sn Shona
sd Sindhi
si Sinhalese
sk Slovak
sl Slovenian
so Somali
es Spanish
es-419 Spanish (Latin American)
su Sundanese
sw Swahili
sv Swedish
tg Tajik
ta Tamil
tt Tatar
te Telugu
th Thai
ti Tigrinya
to Tonga
lua Tshiluba
tum Tumbuka
tr Turkish
tk Turkmen
tw Twi
ug Uighur
uk Ukrainian
ur Urdu
uz Uzbek
vi Vietnamese
cy Welsh
wo Wolof
xh Xhosa
yi Yiddish
yo Yoruba
zu Zulu

Original subtitles

Welcome back, ladies and gentlemen, and in this video, we are going to talk about string's in our

C programming language, and to do so, we are going to, first of all, recall the array's topic we

loved so much.

Right, because there is so much similarity between this topic and this Thring Stoppie.

We're about to learn in this section.

And just to make sure that you're aligned with the material regarding a race, let's see how we would

have created an array of integers.

So if we wanted to create an array of in the jurors, we would simply do something like this in a ARAA

and use five in these square brackets, which means that we are going to create an array of in the jurors.

And there are will be only five elements in these array in this collection.

We could also initialize reading inputs from the user, for example, by using the scanner function.

Right.

And we can basically do a lot of different things with these elements in disarray.

And we also learned that we can create different types of arrays.

For example, we can create arrays of integers, arrays of floating points, and we can also create

arrays of characters and so on.

There is no problem with creating different types of arrays, especially, of course, there is no problem

to create an array of characters just by using Char and the name of the array of size 10.

And we also remember that ARRL in this case simply represents the name of that given array.

We could also change this name to be BRP Miah or whatever you like.

It doesn't matter.

It's just a name that you will use to access a particular array.

So now, once we've briefly discussed the arrays, let us proceed with the strings.

First of all, let's define what our strings non formally.

Let's say that strings are used to store text words, combination of words, simply some facts that

you may have in your mind.

We've seen what is in the array of characters and how we would have created and defined it.

Now a string is very similar in some way to this array of characters.

So if we want to speak a little bit more formally about our programming language, the C language,

we can say that a string is just like an array of characters with the last element set to backslash

zero, some special type of character.

The null character.

So once again, an array of characters is great.

But if we add a backslash zero character with the end the null character at the end of a given, let's

say, character array, then what we can do is simply treat.

It is a string.

So nothing complicated so far.

Just some formulations and understanding that you have to baring your mind and what it basically means.

It means that the computer will provide us.

We have additional functionality and much more abilities to work with strings as opposed to just working

with a raise of characters.

We will take a look at different examples in the next videos.

So no worries, guys, if something is not clear for a hundred percent to you guys.

Don't worry.

We will cover a lot of it in the next videos and in the challenges and the exercises that we are doing.

Every sections.

So the main thing that I do want you to understand is the fact that a string in C is basically an array

of characters with the last characteristic, with the last character set to the now.

And all of those things are usually known as data types in a lot of other programming languages in C.

That's not the case in our C programming language.

A string is not a native data type.

So keep keep that in mind that it's simply an array of characters with a null character at the end.

And these null character is nothing more than some character as simply as you have character A, B,

C, D and so on.

You also may have this character at the end of the string which specify at the end of the R character

is Zarei.

That specifies that this array may be treated as a string.

So what it will give us if we use strings once we've added the null character to the end of the character

is array.

The computer may treat this array as a string and this may provide more capabilities and functionalities

that we will see now in this section.

So I hope you understood everything from.

Video, what is the difference between an array of characters and A streamed in C programming language?

And we can basically say that this is it for this video.

Take a little break and I'll see you in the next one.

Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.