All language subtitles for 1. C Program Structure

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
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

What is going on, guys?

And finally, we're getting the chance to work with some real code and to make our first C program.

I guess you are pretty excited, aren't you, at this point?

You should already be familiar with different aspects that we've spoken of previously.

We said there.

There are spoken languages like English, Japanese and many others.

But now to develop our own programs, we are going to use a programming language.

And in these quarters, the programming language we're going to use is C.

This simply means that the instructions are going to be written in C language with its own format and

its own language rules.

Just like in English, you know that every new sentence starts with a capital letter and a sentence

may end with a dot.

The same will be here Jast that will use a semicolon instead.

Rules that are unique for a C language.

All right.

And now I want you to take a look at the default program that was created once we started the new project

in code blocks in the previous section.

It's pretty much the same program.

I've just change a couple of lines in these templates, which will be easier for me to explain.

Let's go to our code.

So the first thing I want to talk with you guys about is this line int main.

Basically what it means is simply specifying the entry point.

You see, there are a lot of things written here, such as includes main return and in the future there

will be also printing lines.

And what we would like to do is to know from what point we should start running the real commands,

should it be from line five or maybe from line 10.

And what the entry point?

What this int main means is that is just sort of a container for a block of commands and these block

of commands is specified by these beautiful curly brackets.

The left curly brackets specifies the beginning of the block and the right curly bracket specifies the

end of it.

So every time your computer sees that ain't Maine and the block of commands, it seizes as OK from here

on, OK from right here, I will start running your commands.

The first command will appear here.

The second one here.

And until I reach there, the right curly bracket.

This is going to be the block of commands that I'm going to execute.

So for now, for our first lesson.

So all of your code, all of your C commands, remember that they are going to be placed under these

in main section.

All right.

So also, we have these two lines include SDD, IO and include SDD Liebe.

And what they do is that they simply allow you to include different functionalities into your program.

For example, SDD IO stands for a standard input output.

And basically, for now, it just gives us all the necessary functionality to work with inputs such

as reading information from the keyboard and also to work with outputs such as displaying different

things on the screen.

You do remember that both the keyboard and the screen are additional parts of the computer.

Right.

And one is used as input and the other is this output.

That's why we need to include the functionality of working with inputs and outputs in our program.

So as video standard input output functionality.

And how should we exactly use that?

We'll see right away.

So very good, guys.

You see, it's not so complicated, right?

Oh, when.

By the way, if we're to speak about this little or return zero line, which comes as the last command

of the main block.

Think of it for now as just the command indicating that these program, these code has finished running

successfully.

Basically, when your operating system executes a program and the returned value is zero, the operating

system can assume that the program has terminated successfully.

But more on that later on.

Also note that every commanding C and with a semicolon, just like sentences in most spoken languages

and with a d'hote in C programming language commands tend to end with a semicolon.

And that's basically all you need to know about the structure of your first C program.

Pretty easy, right?

I hope that everything makes sense to you in this video.

And now we can say that is enough for the theory and we should open code blocks and create a new project.

It's time to practice.

Finally, some hand zone.

Let's go.

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