What's going on guys. This is bucky and your third c plus plus 0:03 tutorial. in this tutorial I want to go over a little more about printing 0:07 text out on the screen. now in the last saw earlier remember that we could use 0:12 especially think I'll see out 0:14 which is technically called ALP object and the less than less than sign which 0:18 was called 0:19 the stream insertion operator too proud tax on screen in 0:23 the way we did this is the added double quotes after and whatever we printed out 0:28 instead of course a good boy II love 0:31 bacon wherever we put inside those double quotes 0:34 which is proud on-screen Sophie go ahead and rebuilding her on this 0:38 we saw boy I love bacon re on-screen 0:42 simple enough but now what I want to go over is 0:45 just a little more about see our in I just want to make sure you guys 0:49 understand how it works 0:50 so each function is made up of these things called 0:54 statements and typically people per one statement 0:57 per line of code I remember all statements and with some icons 1:01 so say we wanted for now something else on screen well you to rate CL 1:05 less and less than and great something out psych 1:09 and cam just like that so you might be thinking RI I gotta feeling nine artists 1:14 can do 1:14 on the first line is going to bring down boy I love bacon and on the second one 1:18 is going to bring out and am because you know 1:20 that's how it appears in our code so that's what it's gon do 1:23 but we go ahead and donor on this it says boy I love bacon and ham 1:28 all on the same line of code every scratching their heads in RA 1:32 why exactly does it do that to rescind it does that be 1:35 is because when you're using this thing called see out 1:39 it's called printing out into a stream 1:42 and it pretty much takes all your characters imprints 1:46 now in the same stream so whenever this stream is done 1:49 you're not telling it to move to a new line you're saying 1:52 print out these characters and then stop rate the and assign 1:57 so then the stream starts printing out an again you not telling and you were to 2:02 move to a new line 2:03 computer programs are very picky and they need to be told 2:06 exactly what to do so in order to move to a new line 2:10 we need to add a special symbol I guess you would say 2:15 and the symbol is this for small you need to add another extreme insertion 2:19 operator 2:19 and you can go ahead and write Ende L 2:23 what this means is and line and now 2:26 when we go ahead and build and run it check what happens 2:30 Iran's boy I love bacon and then Iran's 2:34 en ligne an before your stream insertion operator would be right here 2:38 but now city said en ligne a go-ahead and and sis line 2:42 in it moves it to annex line so basically all you have to remember is 2:46 anytime you want to move to a new line use the character 2:49 and L which is code word for and line 2:52 now ever say nah right that's easy enough to remember 2:55 so let me go ahead and show you something that might be even easier for 3:00 you 3:00 inside your quotation marks if you go ahead and add 3:04 backslash an this is basically the same 3:08 is adding a new line backslash an 3:11 is the code I guess at all is code 3:14 for go to a new line so now it's gonna say boy I love bacon 3:19 and then it's going to come across the sink cut back slash and its can say hold 3:23 on 3:23 what is the specs ascent 00 I know what is 3:26 it's a simple to move to a new line so this is it 3:30 basically just an alternative way to move to new lines 3:33 the only difference is when and L you need to add 3:38 another insertion operator and then I and L right there 3:41 with the new line you rate it inside the quotation marks because 3:45 it gets interpreted and different kinda way so let's go ahead and build run this 3:48 and just verify that yep boy I love bacon 3:52 new line and Pam so again 3:55 like I said whenever you want print text on a new line you have to be very 3:59 specific worshipers poss 4:01 and tell you exactly what to do and you can do this 4:04 either using the NL or the new line 4:07 echoes inside the quotation marks so aside from this you might think 4:11 re: so I print this out and I got 4:14 this on next time but what if I wanted a blank line in between these two 4:18 well all you have to do is our new line newline 4:22 and then we go ahead and you going to run this ok say re: 4:25 boy I love bacon newline newline 4:29 and then a printed out and ham simple enough 4:32 pretty kojai and I guess one other thing I can show you is 4:35 if you go ahead and do see out 4:38 insertion operator arm you can do things like this 4:42 boy newline II in line 4:46 love newline makin 4:50 newline so you know you're not only limited to 4:53 you know one new line purse they mean you can have multiple new lines 4:56 on in a single statement so now it says 5:00 boy II love bacon pretty co-op 5:03 so that's all the basics I wanted you guys restore again 5:07 I one ish stress how to print out tax on the screen 5:10 and also the stream insertion operator 5:14 it's basically this each stream insertion resumes 5:19 its printing now wherever the previous one stop so if you want to move it to a 5:23 new 5:23 line you need to use one in these new line symbols either an L 5:27 or new line so that I have three guys in the store 0 now he should be a pro at 5:32 printing text on the screen 5:33 so you know we're not ready to I on what this program and sell to Microsoft yet 5:38 by hey 5:38 it starts up yes watchin if you have any questions got my life said in a bus in 5:42 dot com 5:43 and ask me on my forearm so think ASR watchin and IR 5:47 I guess I see next video