All language subtitles for 8. fputc - function

af Afrikaans
sq Albanian
am Amharic
ar Arabic
hy Armenian
az Azerbaijani
eu Basque
be Belarusian
bn Bengali
bs Bosnian
bg Bulgarian
ca Catalan
ceb Cebuano
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
tl Filipino
fi Finnish
fr French
fy Frisian
gl Galician
ka Georgian
de German
el Greek
gu Gujarati
ht Haitian Creole
ha Hausa
haw Hawaiian
iw Hebrew
hi Hindi
hmn Hmong
hu Hungarian Download
is Icelandic
ig Igbo
id Indonesian
ga Irish
it Italian
ja Japanese
jw Javanese
kn Kannada
kk Kazakh
km Khmer
ko Korean
ku Kurdish (Kurmanji)
ky Kyrgyz
lo Lao
la Latin
lv Latvian
lt Lithuanian
lb Luxembourgish
mk Macedonian
mg Malagasy
ms Malay
ml Malayalam
mt Maltese
mi Maori
mr Marathi
mn Mongolian
my Myanmar (Burmese)
ne Nepali
no Norwegian
ps Pashto
fa Persian
pl Polish
pt Portuguese
pa Punjabi
ro Romanian
ru Russian
sm Samoan
gd Scots Gaelic
sr Serbian
st Sesotho
sn Shona
sd Sindhi
si Sinhala
sk Slovak
sl Slovenian
so Somali
es Spanish
su Sundanese
sw Swahili
sv Swedish
tg Tajik
ta Tamil
te Telugu
th Thai
tr Turkish
uk Ukrainian
ur Urdu
uz Uzbek
vi Vietnamese
cy Welsh
xh Xhosa
yi Yiddish
yo Yoruba
zu Zulu
or Odia (Oriya)
rw Kinyarwanda
tk Turkmen
tt Tatar
ug Uyghur
Would you like to inspect the original subtitles? These are the user uploaded subtitles that are being translated: 1 00:00:00,510 --> 00:00:09,230 OK, so in this video, we will proceed and talk about a function called F Puth C, which is basically 2 00:00:09,230 --> 00:00:18,740 a function that takes some character and a pointer to a file that is probably has been opened for writing 3 00:00:18,740 --> 00:00:19,490 in this case. 4 00:00:19,640 --> 00:00:28,660 OK, I modified it to take a file called My First File 2.0, the writing mode and open it up story. 5 00:00:28,670 --> 00:00:34,480 These opening channel, let's call it inside a pointer called F.P.. 6 00:00:35,390 --> 00:00:37,430 And this is no longer relevant. 7 00:00:37,760 --> 00:00:45,410 And now what we are going to do is to call this function file, put character and put a character inside 8 00:00:45,620 --> 00:00:46,490 a given file. 9 00:00:47,210 --> 00:00:56,840 So it looks like this f Putsy taking a character in this case it's H and putting it inside where the 10 00:00:56,840 --> 00:00:58,330 FP is pointing to. 11 00:00:58,820 --> 00:01:05,270 Then we will put it and then we will put why they will be put one after the other. 12 00:01:05,660 --> 00:01:06,260 All right. 13 00:01:06,950 --> 00:01:09,740 So just make sure you do not use something like this. 14 00:01:09,740 --> 00:01:18,170 F would see and h because if you do that this way you will try to work with strings. 15 00:01:18,350 --> 00:01:23,660 OK, if you use double quotes then we know that it represents a string. 16 00:01:23,660 --> 00:01:28,280 So it basically will look like these behind the screen, behind the scenes. 17 00:01:29,180 --> 00:01:29,690 Awesome. 18 00:01:29,720 --> 00:01:36,110 So now let's build and run it and see what this program will give us using these F Putsy function. 19 00:01:37,220 --> 00:01:38,750 So there you go. 20 00:01:39,500 --> 00:01:42,350 OK, everything seems to be working correctly. 21 00:01:42,560 --> 00:01:44,440 Let's now open up. 22 00:01:44,960 --> 00:01:47,180 Where are the file was created here. 23 00:01:47,180 --> 00:01:53,150 I specified just a and local local path to the file. 24 00:01:53,510 --> 00:01:58,920 So it's the file inside of this project and it's going to be right here. 25 00:01:58,940 --> 00:02:03,950 So here we have my first file to try to steal it, open it up and there you go. 26 00:02:03,950 --> 00:02:08,390 You have the character H e and the character Y. 27 00:02:09,200 --> 00:02:11,360 So the text here is. 28 00:02:11,360 --> 00:02:11,840 Hi. 29 00:02:13,190 --> 00:02:13,490 Hi. 30 00:02:13,490 --> 00:02:14,190 Nice to meet you. 31 00:02:14,570 --> 00:02:17,680 So, yeah, this is the second function. 32 00:02:17,690 --> 00:02:19,190 Very interesting. 33 00:02:20,310 --> 00:02:27,830 It looks kind of f getsy, but just now it works with writing to a file instead of reading and. 34 00:02:28,340 --> 00:02:28,910 Yeah. 35 00:02:30,230 --> 00:02:37,760 And just before we we finish up with this video, another important note, since I want you to become 36 00:02:37,940 --> 00:02:39,800 more professional as you proceed. 37 00:02:40,310 --> 00:02:45,430 We remember who is this SDD out, right? 38 00:02:45,440 --> 00:02:51,290 You remember these one SDD out stand there and output from one of our previous videos. 39 00:02:51,980 --> 00:02:57,160 So we said that it's just a pointer to the display, to the screen. 40 00:02:57,650 --> 00:03:02,820 And if we want to display a character to the screen, we could simply use. 41 00:03:02,840 --> 00:03:03,160 Right. 42 00:03:03,170 --> 00:03:04,430 That's what we know so far. 43 00:03:04,430 --> 00:03:11,030 We could simply use put cha right and basically to take some character and to put it to the screen. 44 00:03:11,180 --> 00:03:11,510 Right. 45 00:03:11,510 --> 00:03:12,680 Some character from here. 46 00:03:13,220 --> 00:03:14,980 OK, good. 47 00:03:15,470 --> 00:03:17,240 So let's yeah. 48 00:03:18,110 --> 00:03:24,230 But we also know how to put some character to a file. 49 00:03:24,290 --> 00:03:24,650 Right. 50 00:03:24,650 --> 00:03:26,690 We know to use now Putsy. 51 00:03:27,740 --> 00:03:36,410 And we can simply say that instead of using here inside of these F Putsy using some F.P., which is 52 00:03:36,410 --> 00:03:44,840 a pointer to file, we will use, let's say I don't know, SDD out, which is a standard output and 53 00:03:44,840 --> 00:03:46,570 we will see what will happen now. 54 00:03:47,090 --> 00:03:48,040 So let's see. 55 00:03:48,440 --> 00:03:49,400 And there you go. 56 00:03:50,250 --> 00:03:57,800 The character a displayed on your console using the Pokhara function that took the character AI and 57 00:03:57,800 --> 00:04:03,110 redirected it to the standard output, which in this case is the console application. 58 00:04:03,750 --> 00:04:12,950 Is it clear so we can say that this function is kind of equivalent to put CHA and getting here some 59 00:04:12,950 --> 00:04:13,790 character AI? 60 00:04:14,630 --> 00:04:17,800 We can see that both of them do pretty much the same. 61 00:04:18,290 --> 00:04:18,580 Right? 62 00:04:19,820 --> 00:04:21,770 So yeah, this is it. 63 00:04:21,770 --> 00:04:28,280 For the second function, we cover it up f getsy f Putsy and we are moving forward. 64 00:04:28,670 --> 00:04:29,150 Good luck. 5558

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