Warning: The magic method Slickr_Flickr_Plugin::__wakeup() must have public visibility in /home/kenbauer/public_kenscourses/tc101winter2015/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/tc101winter2015/wp-content/plugins/slickr-flickr/classes/class-plugin.php:152) in /home/kenbauer/public_kenscourses/tc101winter2015/wp-includes/feed-rss2.php on line 8
‘#doingallmasteries’ Articles at Courses by Ken https://kenscourses.com/tc101winter2015 Facilitator of Learning Experiences Sun, 03 May 2015 07:21:09 +0000 en hourly 1 https://creativecommons.org/licenses/by/4.0/ Mastery12 https://kenscourses.com/tc101winter2015/2015/mastery12-16/ Sun, 03 May 2015 07:21:09 +0000 https://carlosgreenprograms.withknown.com/2015/mastery12 Continue reading ]]>

 

Here is the youtube link to mastery12: https://www.youtube.com/watch?v=kNgEAiYSGkg

Functions in c++ are really important in order to do lots of repetitive stuff. Instead of writing down the code for a sum or something like that, you can just call a function that does that every time you want. Here is a simple example:

<iostream>

using namespace std;

 

int function1(int a, int b){

  int c;

  c=a*b;

  cout<<“c: “<<c<<endl;

  return 0;

}

int main(){

  int a,b;

  cout<<“give me a:”<<endl;

  cin>>a;

  cout<<“give me b:”<<endl;

  cin>>b;

  function1(a,b);

}

]]>
https://creativecommons.org/licenses/by/4.0/
I created all my accounts including github, twitter and the “known” blog #Mastery03 #doingallmasteries https://kenscourses.com/tc101winter2015/2015/i-created-all-my-accounts-including-github-twitter-and-the-known-blog-mastery03-doingallmasteries/ Thu, 15 Jan 2015 15:26:07 +0000 http://carlosgreenprograms.withknown.com/2015/i-created-all-my-accounts-including-github-twitter-and-the Continue reading ]]>

I created all my accounts including github, twitter and the “known” blog #Mastery03 #doingallmasteries

]]>
https://creativecommons.org/licenses/by/4.0/