Would you like to inspect the original subtitles? These are the user uploaded subtitles that are being translated:
1
00:00:00,210 --> 00:00:07,650
What is going on, guys, and welcome to these new exercise about files, we are going to start practicing
2
00:00:08,040 --> 00:00:10,890
files and usage of files even more.
3
00:00:11,490 --> 00:00:19,530
So what I want you to do now is basically to write some program that based on this given file or you
4
00:00:19,530 --> 00:00:22,160
can create another file, whatever you like.
5
00:00:22,800 --> 00:00:27,650
Here I have a file that is basically constructed of three lines.
6
00:00:27,660 --> 00:00:29,880
Hi, this is Vlada from Alphatech.
7
00:00:30,180 --> 00:00:34,470
OK, and what I want you to do is to open up these files for reading.
8
00:00:34,740 --> 00:00:40,140
OK, don't look at the template that I have right here, OK, but open these file for reading.
9
00:00:40,140 --> 00:00:49,200
And what I want you to do is basically to first of all, calculate the number of characters that this
10
00:00:49,200 --> 00:00:54,000
file has, whether it is going to be including the backslash.
11
00:00:54,000 --> 00:00:57,390
And for newlines or not, that's totally up to you.
12
00:00:58,020 --> 00:01:05,520
But what I want you to do, finally, is every character that you read, I want you to use the let's
13
00:01:05,520 --> 00:01:09,450
say I want you to use the F Getsy function.
14
00:01:09,450 --> 00:01:16,530
And every character that you read also printed through the screen to see the final result and to see
15
00:01:16,530 --> 00:01:21,690
for yourself whether you also read the backslash in character or not.
16
00:01:22,500 --> 00:01:22,950
So.
17
00:01:23,790 --> 00:01:25,380
I hope the instructions are clear.
18
00:01:26,100 --> 00:01:32,580
Give yourself a couple of minutes to think and try starting solving this exercise.
19
00:01:32,880 --> 00:01:34,510
I will see you in the Solutions video.
20
00:01:34,620 --> 00:01:35,190
Good luck.
1992
Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.