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 1930

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 1930

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 1930

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 1930

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 1930

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 1930

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 1930

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 1930
{"id":25059,"date":"2015-10-28T13:28:41","date_gmt":"2015-10-28T19:28:41","guid":{"rendered":"http:\/\/octavioirg.wordpress.com\/?p=117"},"modified":"2015-10-28T13:28:41","modified_gmt":"2015-10-28T19:28:41","slug":"mastery09-3","status":"publish","type":"post","link":"https:\/\/kenscourses.com\/tc101fall2015\/2015\/mastery09-3\/","title":{"rendered":"Mastery09"},"content":{"rendered":"

Basic Types and their use in C++<\/p>\n

\"CC<\/a>
CC licensed photo by Victoria Pickering on Flickr.<\/figcaption><\/figure>\n

While programming we need to use different type of information and for each single class of data that we want to produce or to store there is a Data Type in a programming language. One basic principle to understand is that storing a letter is different from storing a number, or a decimal or a word, o a set of numbers. For all this types of data C++ has a way to store them in memory and perform transformations to the values. Those places are called variables and a variables is nothing weird, it’s just a place in memory where the programm saves something (say a word, or a single letter, or a number, etc).<\/p>\n

While programming we need to use different type of information and for each single class of data that we want to produce or to store there is a Data Type in a programming language. One basic principle to understand is that storing a letter is different from storing a number, or a decimal or a word, o a set of numbers. For all this types of data C++ has a way to store them in memory and perform transformations to the values. Those places are called variables and a variables is nothing weird, it’s just a place in memory where the programm saves something (say a word, or a single letter, or a number, etc).<\/p>\n

The following table presents the types and how they are called in C++<\/p>\n\n\n\n\n\n\n\n\n\n\n
Type<\/th>\nKeyword<\/th>\n<\/tr>\n
Boolean<\/td>\nbool<\/td>\n<\/tr>\n
Character<\/td>\nchar<\/td>\n<\/tr>\n
Integer<\/td>\nint<\/td>\n<\/tr>\n
Floating point<\/td>\nfloat<\/td>\n<\/tr>\n
Double floating point<\/td>\ndouble<\/td>\n<\/tr>\n
Valueless<\/td>\nvoid<\/td>\n<\/tr>\n
Wide character<\/td>\nwchar_t<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n

It’s interesting that you can modify some of this types by ading words like signed, unsigned, short and long. For example: unsigned int is a variable that can only store interger with no sign thus, only positive intergers.<\/p>\n

In the next video I will explain the use of 2 data types:<\/p>\n

char and bool.<\/p>\n