Warning: The magic method Slickr_Flickr_Plugin::__wakeup() must have public visibility in /home/kenbauer/public_kenscourses/tc101fall2015/wp-content/plugins/slickr-flickr/classes/class-plugin.php on line 152

Warning: Cannot modify header information - headers already sent by (output started at /home/kenbauer/public_kenscourses/tc101fall2015/wp-content/plugins/slickr-flickr/classes/class-plugin.php:152) in /home/kenbauer/public_kenscourses/tc101fall2015/wp-includes/rest-api/class-wp-rest-server.php on line 1831

Warning: Cannot modify header information - headers already sent by (output started at /home/kenbauer/public_kenscourses/tc101fall2015/wp-content/plugins/slickr-flickr/classes/class-plugin.php:152) in /home/kenbauer/public_kenscourses/tc101fall2015/wp-includes/rest-api/class-wp-rest-server.php on line 1831

Warning: Cannot modify header information - headers already sent by (output started at /home/kenbauer/public_kenscourses/tc101fall2015/wp-content/plugins/slickr-flickr/classes/class-plugin.php:152) in /home/kenbauer/public_kenscourses/tc101fall2015/wp-includes/rest-api/class-wp-rest-server.php on line 1831

Warning: Cannot modify header information - headers already sent by (output started at /home/kenbauer/public_kenscourses/tc101fall2015/wp-content/plugins/slickr-flickr/classes/class-plugin.php:152) in /home/kenbauer/public_kenscourses/tc101fall2015/wp-includes/rest-api/class-wp-rest-server.php on line 1831

Warning: Cannot modify header information - headers already sent by (output started at /home/kenbauer/public_kenscourses/tc101fall2015/wp-content/plugins/slickr-flickr/classes/class-plugin.php:152) in /home/kenbauer/public_kenscourses/tc101fall2015/wp-includes/rest-api/class-wp-rest-server.php on line 1831

Warning: Cannot modify header information - headers already sent by (output started at /home/kenbauer/public_kenscourses/tc101fall2015/wp-content/plugins/slickr-flickr/classes/class-plugin.php:152) in /home/kenbauer/public_kenscourses/tc101fall2015/wp-includes/rest-api/class-wp-rest-server.php on line 1831

Warning: Cannot modify header information - headers already sent by (output started at /home/kenbauer/public_kenscourses/tc101fall2015/wp-content/plugins/slickr-flickr/classes/class-plugin.php:152) in /home/kenbauer/public_kenscourses/tc101fall2015/wp-includes/rest-api/class-wp-rest-server.php on line 1831

Warning: Cannot modify header information - headers already sent by (output started at /home/kenbauer/public_kenscourses/tc101fall2015/wp-content/plugins/slickr-flickr/classes/class-plugin.php:152) in /home/kenbauer/public_kenscourses/tc101fall2015/wp-includes/rest-api/class-wp-rest-server.php on line 1831
{"id":21105,"date":"2015-09-14T09:15:18","date_gmt":"2015-09-14T14:15:18","guid":{"rendered":"http:\/\/delusionalpieceofdust.wordpress.com\/?p=202"},"modified":"2015-09-14T09:15:18","modified_gmt":"2015-09-14T14:15:18","slug":"mastery-08-basic-output-printing-and-input-text-based-in-c","status":"publish","type":"post","link":"https:\/\/kenscourses.com\/tc101fall2015\/2015\/mastery-08-basic-output-printing-and-input-text-based-in-c\/","title":{"rendered":"MASTERY 08: Basic Output (printing) and Input (text based) in C++"},"content":{"rendered":"

\"mastery10\"<\/a>(The credit of the background image\u00a0goes to https:\/\/flic.kr\/p\/ay2hhk<\/a><\/span>)<\/p>\n

Welcome to Mastery #8!!<\/p>\n

It\u2019s all about basic output and input in C++.<\/p>\n

It is easy as it sounds.<\/p>\n

For output, you have to follow the next structure:<\/p>\n

Case #1: \u00a0cout << \u201cHere is where you write what you want to ouput\u201d << endl;<\/p>\n

Case #2: cout << a << endl;<\/p>\n

As you can see, the first case is when you want to show a string value, so you use \u201c\u201d and write something inside them. As for the second case, it is for when you declare a variable and you want the compiler to show it.<\/p>\n

It\u2019s very important you follow the structure because if you don\u2019t, you won\u2019t be able to run your code!!<\/p>\n

On the other hand, for input, you do the following:<\/p>\n

Cin >> n;<\/p>\n

The n here represents the variable you are asking to input.<\/p>\n

You can see an example of output and input in the next video I made:<\/p>\n