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/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/tc101winter2015/wp-content/plugins/slickr-flickr/classes/class-plugin.php:152) in /home/kenbauer/public_kenscourses/tc101winter2015/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/tc101winter2015/wp-content/plugins/slickr-flickr/classes/class-plugin.php:152) in /home/kenbauer/public_kenscourses/tc101winter2015/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/tc101winter2015/wp-content/plugins/slickr-flickr/classes/class-plugin.php:152) in /home/kenbauer/public_kenscourses/tc101winter2015/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/tc101winter2015/wp-content/plugins/slickr-flickr/classes/class-plugin.php:152) in /home/kenbauer/public_kenscourses/tc101winter2015/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/tc101winter2015/wp-content/plugins/slickr-flickr/classes/class-plugin.php:152) in /home/kenbauer/public_kenscourses/tc101winter2015/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/tc101winter2015/wp-content/plugins/slickr-flickr/classes/class-plugin.php:152) in /home/kenbauer/public_kenscourses/tc101winter2015/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/tc101winter2015/wp-content/plugins/slickr-flickr/classes/class-plugin.php:152) in /home/kenbauer/public_kenscourses/tc101winter2015/wp-includes/rest-api/class-wp-rest-server.php on line 1831
{"id":13701,"date":"2015-05-05T18:35:37","date_gmt":"2015-05-05T23:35:37","guid":{"rendered":"https:\/\/adxconex.withknown.com\/2015\/mastery-25"},"modified":"2015-05-05T18:35:37","modified_gmt":"2015-05-05T23:35:37","slug":"mastery-25-8","status":"publish","type":"post","link":"https:\/\/kenscourses.com\/tc101winter2015\/2015\/mastery-25-8\/","title":{"rendered":"Mastery 25"},"content":{"rendered":"
\n

#mastery<\/a>25 #Tc<\/a>1017<\/p>\n

Creaci\u00f3n de String C++<\/p>\n

Una de las caracter\u00edsticas recientes que se ha a\u00f1adido al est\u00e1ndar de C++ es la existencia de “strings”<\/span>\u009d<\/span>\u00a0(cadenas de texto) como parte del lenguaje, con un manejo tan sencillo como lo es en otros lenguajes como Pascal o Basic.\u00a0<\/span><\/p>\n

En general, los compiladores del a\u00f1o 2000 o posteriores deber\u00edan permitir el manejo de cadenas, y la mayor\u00eda de los anteriores no lo har\u00e1n. Eso s\u00ed, es posible que alg\u00fan otro incluya alguna clase “string”<\/span><\/span>\u009d<\/span>\u00a0no totalmente est\u00e1ndar, como las “AnsiString”<\/span>\u009d<\/span>\u00a0de Borland C++ Builder.\u00a0<\/span><\/p>\n

\u00a0<\/span>La primera diferencia es la existencia de “named spaces”<\/span>\u009d<\/span>\u00a0(espacios con nombre) dentro del nuevo est\u00e1ndar de C++. Se trata de una nueva forma de organizar los fichero de cabecera (ficheros “.h”<\/span>\u009d<\/span>), con la intenci\u00f3n de que no sea un aut\u00e9ntico caos cuando tenemos muchos. As\u00ed, los ficheros de cabecera est\u00e1ndar est\u00e1n en el espacio llamado “std”<\/span>\u009d<\/span>.<\/span><\/p>\n


Se sigue pudiendo utilizar los fichero de cabecera de la forma cl\u00e1sica: podr\u00edamos escribir<\/span><\/p>\n

<\/a>#include<\/a>\u00a0<\/span><\/p>\n

aunque la forma recomendada (y que quiere decir lo mismo) es<\/span><\/p>\n

<\/a>#include<\/a>\u00a0\u00a0<\/span>
using namespace std;\u00a0<\/span><\/p>\n

El manejo b\u00e1sico de las cadenas no reviste mayor dificultad:\u00a0<\/span><\/p>\n

<\/span><\/p>\n

\u00a0<\/p>\n