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:02,490
So how was your first exercise?
2
00:00:02,700 --> 00:00:03,960
I hope it was good.
3
00:00:04,380 --> 00:00:10,290
I hope you've finished that successfully and just to go over the things here, we'll do together.
4
00:00:10,530 --> 00:00:17,700
So, first of all, include SPDR no doubt age to include all the functionality for working with input
5
00:00:17,730 --> 00:00:18,780
and output.
6
00:00:19,530 --> 00:00:25,340
Then we'll just go to the main section to create the main the entry point int main.
7
00:00:26,260 --> 00:00:30,570
Then we'll use the curly brackets to specify the block of commands.
8
00:00:30,810 --> 00:00:36,870
Now we know that the command that printing formation through the screen is simply the print.
9
00:00:36,870 --> 00:00:42,240
F Enciso will go like print F and then we'll use quotation marks.
10
00:00:42,600 --> 00:00:47,830
And with Sandy, if my name is for example, Bill Clinton will just write down.
11
00:00:47,850 --> 00:00:59,040
Bill Clinton will also add the best solution to jump one line from the default text semicolon at the
12
00:00:59,040 --> 00:01:02,580
end of the command and of course, return zero.
13
00:01:03,120 --> 00:01:05,630
Now let's go and try to run it.
14
00:01:05,640 --> 00:01:07,770
So press Beeld in Ron.
15
00:01:08,040 --> 00:01:08,730
And there we go.
16
00:01:08,730 --> 00:01:12,090
You can see your name, Bill Clinton in Lee's example.
17
00:01:12,290 --> 00:01:14,760
This playing on the console applications screen.
18
00:01:14,960 --> 00:01:16,560
So very good, guys.
19
00:01:16,920 --> 00:01:24,840
And if you wanted to specify just the first name on the first line and the last name on the second line,
20
00:01:24,850 --> 00:01:28,110
so you would just need to add a backslash.
21
00:01:28,170 --> 00:01:32,400
And also here on right before the last name.
22
00:01:32,790 --> 00:01:34,740
So now if you tried to run it.
23
00:01:35,000 --> 00:01:35,240
OK.
24
00:01:35,400 --> 00:01:36,070
Let's go here.
25
00:01:36,720 --> 00:01:38,820
You will see the first name here.
26
00:01:38,850 --> 00:01:41,580
And the last name in the light on the next line.
27
00:01:42,360 --> 00:01:43,080
Very good.
28
00:01:43,580 --> 00:01:47,910
And if we want to go one step further, we can do something like this.
29
00:01:48,000 --> 00:01:54,810
First name is Bill, and then we will just expect these sort of message.
30
00:01:54,810 --> 00:01:57,420
First name Bill to be printed on the first line.
31
00:01:57,840 --> 00:01:59,760
And then we will have a new line.
32
00:01:59,790 --> 00:02:02,900
And on this new line, we will see this message.
33
00:02:02,910 --> 00:02:05,580
Last name is Clinton on, right.
34
00:02:05,610 --> 00:02:12,300
So there will be separation between them and also some nice visual information of first name and last
35
00:02:12,300 --> 00:02:12,570
name.
36
00:02:13,080 --> 00:02:17,150
Now, let's try to run it and see the results and very go.
37
00:02:17,160 --> 00:02:18,260
First name Bill.
38
00:02:18,390 --> 00:02:19,800
Last name Clinton.
39
00:02:20,640 --> 00:02:21,750
All right, guys.
40
00:02:21,990 --> 00:02:24,120
So this is it for this exercise.
41
00:02:24,120 --> 00:02:25,770
And I hope you did it well.
42
00:02:25,770 --> 00:02:29,550
And you learned a couple of things in my explanation here.
43
00:02:29,760 --> 00:02:35,880
And the last thing I want to tell you guys for these video is that practice makes progress.
44
00:02:36,150 --> 00:02:37,690
So keep on working hard.
45
00:02:37,980 --> 00:02:40,320
And I'll see you in the next video by.
3829
Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.