Afrikaans
Akan
Albanian
Amharic
Arabic
Armenian
Azerbaijani
Basque
Belarusian
Bemba
Bengali
Bihari
Bosnian
Breton
Bulgarian
Cambodian
Catalan
Cebuano
Cherokee
Chichewa
Chinese (Simplified)
Chinese (Traditional)
Corsican
Croatian
Czech
Danish
Dutch
English
Esperanto
Estonian
Ewe
Faroese
Filipino
Finnish
French
Frisian
Ga
Galician
Georgian
German
Greek
Guarani
Gujarati
Haitian Creole
Hausa
Hawaiian
Hebrew
Hindi
Hmong
Icelandic
Igbo
Indonesian
Interlingua
Irish
Italian
Japanese
Javanese
Kannada
Kazakh
Kinyarwanda
Kirundi
Kongo
Korean
Krio (Sierra Leone)
Kurdish
Kurdish (Soranî)
Kyrgyz
Laothian
Latin
Latvian
Lingala
Lithuanian
Lozi
Luganda
Luo
Luxembourgish
Macedonian
Malagasy
Malay
Malayalam
Maltese
Maori
Marathi
Mauritian Creole
Moldavian
Mongolian
Myanmar (Burmese)
Montenegrin
Nepali
Nigerian Pidgin
Northern Sotho
Norwegian
Norwegian (Nynorsk)
Occitan
Oriya
Oromo
Pashto
Persian
Polish
Portuguese (Brazil)
Portuguese (Portugal)
Punjabi
Quechua
Romanian
Romansh
Runyakitara
Russian
Samoan
Scots Gaelic
Serbian
Serbo-Croatian
Sesotho
Setswana
Seychellois Creole
Shona
Sindhi
Sinhalese
Slovak
Slovenian
Somali
Spanish
Spanish (Latin American)
Sundanese
Swahili
Swedish
Tajik
Tamil
Tatar
Telugu
Thai
Tigrinya
Tonga
Tshiluba
Tumbuka
Turkish
Turkmen
Twi
Uighur
Ukrainian
Urdu
Uzbek
Vietnamese
Welsh
Wolof
Xhosa
Yiddish
Yoruba
Zulu
All righty, so I hope you've given it a little bit time on your own to solve it.
Now we are going to do it together, so let's modify here in the open.
Instead of writing, we will read from this file.
Right.
So the the the the working mode should be reading from a file.
F.P. will point to this file and we will be able to read from it.
So how should we read?
What do you think?
What do you think should be specified here?
Well, basically we should iterate also over some for a loop, let's say equals to one eye is long is
less than or equal to ten and I plus plus OK, inside of these for a loop, we are going to do two things.
The first thing that we are going to do is to read the information stored there.
How are we going to do it using the F Cunniff function now we are going to specify here what is it expect
to receive a pointer or to file, which is F.P..
Vaneta expects to receive some format.
Right, similar to how the printed function works.
So let's use your percentage and percentage the.
Reading to values of an integer type and storing them inside, what are should we store them?
Let's create also variables and let's call it ain't number one and number two.
And now we are going to come here and specify store them inside the address of number one and inside
the address of number two.
So reading from these files, where is this file?
Here it is, reading values from here, storing it inside, number one, this one inside them two and
then to inside and one for inside them two and so on and so forth.
OK.
So, yeah, here we return value is ignored.
I, I don't really want to get into this right now, but basically we are just going through this information
and on every iteration, what are we expected to do to print the result to the screen?
So print have a basic print that you already know, read, let's say percentage and percentage and specify
here, I don't know, some backslash and one.
And number two, that's it, that's eight guys reading value by value from the file and printing it
to the council.
So let's see if it corresponds to what I'm saying, one, one, two, four, three, nine and so on.
And here is the file.
You can see that they are almost identical, right?
They are identical, actually.
One one.
So, yeah.
Now, you know, and you practice a little bit on your own how the F scanner function works.
Very important that you will know the syntax, that you will know what come to you for what comes after
and so on and so forth.
So, as always, thank you guys for watching, keep on practicing and let's move on.
My name is Vlad.
This is Alphatech.
Enjoy.
Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.