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":26423,"date":"2015-11-19T20:42:37","date_gmt":"2015-11-20T02:42:37","guid":{"rendered":"http:\/\/mferprogr.wordpress.com\/?p=196"},"modified":"2015-11-19T20:42:37","modified_gmt":"2015-11-20T02:42:37","slug":"creation-and-use-of-vectors-in-c","status":"publish","type":"post","link":"https:\/\/kenscourses.com\/tc101fall2015\/2015\/creation-and-use-of-vectors-in-c\/","title":{"rendered":"Creation and use of vectors in C++"},"content":{"rendered":"

This is mastery 23! I must tell you this is a special post because weeks ago I \u00a0was completely lost with vectors and now I’ll be talking to you about it. Nice, right?<\/p>\n

I’ll explain them to you answering\u00a0two questions I had myself.<\/p>\n

    \n
  1. When to use vectors over arrays?<\/li>\n<\/ol>\n

    So, arrays can hold only a certain number of elements. When you want to let the user decide how many elements the list can have you should work with vectors!<\/p>\n

    2. How to create a function with vectors? Here’s an example:<\/p>\n

    int function(vector<int>x)<\/p>\n

    Here’s a code in which I used vectors:<\/p>\n

    https:\/\/github.com\/mferflores\/Vectors\/blob\/master\/find_threes<\/a><\/p>\n

    Check out the animated video I made to make it all clearer!<\/p>\n