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
Gonzalo Mata’s Articles at Courses by Ken https://kenscourses.com/tc101winter2015 Facilitator of Learning Experiences Wed, 13 May 2015 18:28:07 +0000 en hourly 1 https://creativecommons.org/licenses/by/4.0/ Almost there! Last final exam tomorrow 🎊 🎉 https://kenscourses.com/tc101winter2015/2015/almost-there-last-final-exam-tomorrow-%f0%9f%8e%8a-%f0%9f%8e%89/ Wed, 13 May 2015 18:28:07 +0000 https://gonzalomata22.withknown.com/2015/almost-there-last-final-exam-tomorrow-

Almost there! Last final exam tomorrow 🎊 🎉

Continue reading ]]>

Almost there! Last final exam tomorrow 馃帄 馃帀

]]>
https://creativecommons.org/licenses/by/4.0/
驴Qu茅 ciclo es mejor y en qu茅 casos? – C++ https://kenscourses.com/tc101winter2015/2015/que-ciclo-es-mejor-y-en-que-casos-c/ Thu, 07 May 2015 05:05:29 +0000 https://gonzalomata22.withknown.com/2015/qu-ciclo-es-mejor-y-en-qu-casos---c

1017

22

Hola!!

Esto es como un resumen. Recapitulando las tres maneras que vimos a lo largo del semestre para hacer ciclos: Form while y do-while. En el siguiente video hago comentarios de lo que a mi parecer es mejor opción utilizar cierto tipo de ciclo para aprovechar al máximo las características de cada uno, etc... Espero que le entiendan y que les ayude el video! :D

 

 

Continue reading ]]>

1017

22

Hola!!

Esto es como un resumen. Recapitulando las tres maneras que vimos a lo largo del semestre para hacer ciclos: Form while y do-while. En el siguiente video hago comentarios de lo que a mi parecer es mejor opci贸n utilizar cierto tipo de ciclo para aprovechar al m谩ximo las caracter铆sticas de cada uno, etc… Espero que le entiendan y que les ayude el video! 馃榾

]]>
https://creativecommons.org/licenses/by/4.0/
Coding Conventions – C++ https://kenscourses.com/tc101winter2015/2015/coding-conventions-c/ Thu, 07 May 2015 05:03:07 +0000 https://gonzalomata22.withknown.com/2015/coding-conventions---c

1017

08

Hola! Mastery08 es acerca de la mejor manera de programar, hace ahorrar tiempo, es agradable a la vista, te pierdes menos a la hora de hacer cambios además de tener un orden y control sobre el código para así hacer todo correctamente, más rápido y mejor.

Dejaré el video aquí donde explico un poco acerca de esto además que en la descripción del video en Youtube hay un link para ir a una página donde se explica mas a fondo los coding conventions.

 

Continue reading ]]>

1017

08

Hola! Mastery08 es acerca de la mejor manera de programar, hace ahorrar tiempo, es agradable a la vista, te pierdes menos a la hora de hacer cambios adem谩s de tener un orden y control sobre el c贸digo para as铆 hacer todo correctamente, m谩s r谩pido y mejor.

Dejar茅 el video aqu铆 donde explico un poco acerca de esto adem谩s que en la descripci贸n del video en Youtube hay un link para ir a una p谩gina donde se explica mas a fondo los coding conventions.

]]>
https://creativecommons.org/licenses/by/4.0/
Uso de “switch” como condicional – C++ https://kenscourses.com/tc101winter2015/2015/uso-de-switch-como-condicional-c/ Thu, 07 May 2015 04:58:50 +0000 https://gonzalomata22.withknown.com/2015/uso-de-switch-como-condicional---c

1017 17

Hola!

En este caso hice un video para explicar como podemos usar la función "switch" como un condicional cuando tenemos bastantes opciones por tener.

La estructura contiene como parámetro el valor condicionante con el que vamos a trabajar y dentro de los casos van las instrucciones que queremos que realice en caso de que la condición se de.

Dejaré un video donde trabajo con un ejemplo y una breve explicación para poder entender como usar un switch para condiciones múltiples.

 

Continue reading ]]>

1017 17

Uso de

Hola!

En este caso hice un video para explicar como podemos usar la funci贸n “switch” como un condicional cuando tenemos bastantes opciones por tener.

La estructura contiene como par谩metro el valor condicionante con el que vamos a trabajar y dentro de los casos van las instrucciones que queremos que realice en caso de que la condici贸n se de.

Dejar茅 un video donde trabajo con un ejemplo y una breve explicaci贸n para poder entender como usar un switch para condiciones m煤ltiples.

]]>
https://creativecommons.org/licenses/by/4.0/
Creaci贸n y uso de matrices – C++ https://kenscourses.com/tc101winter2015/2015/creacion-y-uso-de-matrices-c/ Thu, 07 May 2015 04:08:14 +0000 https://gonzalomata22.withknown.com/2015/creacin-y-uso-de-matrices---c

1017 26

 

Hola!

Para comenzar; una matriz es lo mismo que un arreglo pero bidimensional y la estructura es casi la misma que el arreglo. La función de una matriz es guardar valores al igual que vectores y arreglos. 

La estructura de una matriz al declararla es la siguiente:

tipo nombre_de_la_matriz[espacio_unidim][espacio_bidim];

Hay que tener en cuenta que lo que va entre corchetes al momento de declarar la matriz es el número de espacios que tendrña la misma. Y al igual que en arreglos y vectores los valores iniciales son 0.

 

Dejo aquí un video en mi canal de Youtube donde explico brevemente como declarar una matriz y un ejemplo de uso (guardar valores e imprimir un valor dentro de una ubicación específica).

Quisiera mencionar que en el video tengo un error en mi programa, los ciclos for deben de comenzar en 0 y la condidion debe ser (i

Continue reading ]]>

1017 26

Creaci贸n y uso de matrices - C++

Hola!

Para comenzar; una matriz es lo mismo que un arreglo pero bidimensional y la estructura es casi la misma que el arreglo. La funci贸n de una matriz es guardar valores al igual que vectores y arreglos.聽

La estructura de una matriz al declararla es la siguiente:

tipo nombre_de_la_matriz[espacio_unidim][espacio_bidim];

Hay que tener en cuenta que lo que va entre corchetes al momento de declarar la matriz es el n煤mero de espacios que tendr帽a la misma. Y al igual que en arreglos y vectores los valores iniciales son 0.

Dejo aqu铆 un video en mi canal de Youtube donde explico brevemente como declarar una matriz y un ejemplo de uso (guardar valores e imprimir un valor dentro de una ubicaci贸n espec铆fica).

Quisiera mencionar que en el video tengo un error en mi programa, los ciclos for deben de comenzar en 0 y la condidion debe ser (i

]]>
https://creativecommons.org/licenses/by/4.0/
Creaci贸n de archivos C++ y c贸mo ejecutarlos en la consola. https://kenscourses.com/tc101winter2015/2015/creacion-de-archivos-c-y-como-ejecutarlos-en-la-consola/ Thu, 07 May 2015 01:05:47 +0000 https://gonzalomata22.withknown.com/2015/creacin-de-archivos-c-y-cmo-ejecutarlos-en-la-consola

1017 01

Hola, la mastery01 es acerca de crear archivos en C++, los cuales se pueden crear a través de cualquier editor de texto, al momento de guardar el archivo (código) debemos de agregar la extensión ".cpp". Ejemplo:

nombre_del_archivo.cpp

Y para ejecutarlo tienes que realizar lo siguiente:

Compilar: g++ nombre_del_archivo.cpp

Ejecutar: ./a.out (Mac OS y Linux) /a.exe (Windows)

Hice un video muy rápido (Mac OS) tomando como ejemplo un código que imprime "Hello World."

 

Continue reading ]]>

1017 01

Hola, la mastery01 es acerca de crear archivos en C++, los cuales se pueden crear a trav茅s de cualquier editor de texto, al momento de guardar el archivo (c贸digo) debemos de agregar la extensi贸n “.cpp”. Ejemplo:

nombre_del_archivo.cpp

Y para ejecutarlo tienes que realizar lo siguiente:

Compilar: g++ nombre_del_archivo.cpp

Ejecutar: ./a.out (Mac OS y Linux) /a.exe (Windows)

Hice un video muy r谩pido (Mac OS) tomando como ejemplo un c贸digo que imprime “Hello World.”

]]>
https://creativecommons.org/licenses/by/4.0/
Sudoku – Final project C++ https://kenscourses.com/tc101winter2015/2015/sudoku-final-project-c/ Wed, 06 May 2015 22:18:12 +0000 https://gonzalomata22.withknown.com/2015/sudoku---final-project-c

1017

Hi! This blog post is about make a review of all the work realized on the project in the last weeks of commits on GitHub, write, save compile and run code...

 

I'll explain to you how I found information to help me to do this stuff, so, besides to go of the teacher's office and search in google, I asked also to some friends (Jose Luís, Osvaldo, Fernando). And how's work with my partner Ale.

The first week working in the project was kind of hard because I didn't undertand the base code very well, so the first thing that I did was to write the "about sudoku" and "rules" functions because those are the easiest ones. Then, I went to the Ken`s office to ask about what does each function without the two that Ale wrote. After that, I started to write the "writenumbers" function asking to the user the line and the column where he/she wants to write the number of him/her choice (between 1 to 9). Inside this function I called two more functions; 1 to check line and column and the second to check each 3x3 grid. After we have that end, Ale added some colours to the menu options and I did it with the board making the original numbers in red, the 0's in the normal colour and the user numbers in green as is especified on the page of sudoku. The last thing that I did was the "restartsudoku" function (it is asked by ken as well).

Working with Ale is... I don't know, I think that she needs to have initiative and to know what is what we need to do and make a mentality that we need to do only the things that it is asked. In general was good because she got done everything that she has to do and when I did changes she inmediatly was asking me about how the changes works.

 

Finally:

This is the link to my code at Github.

Continue reading ]]>

1017

Sudoku - Final project C++

Hi! This blog post is about make a review of all the work realized on the project in the last weeks of commits on GitHub, write, save compile and run code…

I’ll explain to you how I found information to help me to do this stuff, so, besides to go of the teacher’s office and search in google, I asked also to some friends (Jose Lu铆s, Osvaldo, Fernando). And how’s work with my partner Ale.

The first week working in the project was kind of hard because I didn’t undertand the base code very well, so the first thing that I did was to write the “about sudoku” and “rules” functions because those are the easiest ones. Then, I went to the Ken`s office to ask about what does each function without the two that Ale wrote. After that, I started to write the “writenumbers” function asking to the user the line and the column where he/she wants to write the number of him/her choice (between 1 to 9). Inside this function I called two more functions; 1 to check line and column and the second to check each 3×3 grid. After we have that end, Ale added some colours to the menu options and I did it with the board making the original numbers in red, the 0’s in the normal colour and the user numbers in green as is especified on the page of sudoku. The last thing that I did was the “restartsudoku” function (it is asked by ken as well).

Working with Ale is… I don’t know, I think that she needs to have initiative and to know what is what we need to do and make a mentality that we need to do only the things that it is asked. In general was good because she got done everything that she has to do and when I did changes she inmediatly was asking me about how the changes works.

Finally:

This is the link to my code at Github.

]]>
https://creativecommons.org/licenses/by/4.0/
Cars ! https://kenscourses.com/tc101winter2015/2015/cars/ Sun, 03 May 2015 04:16:24 +0000 https://gonzalomata22.withknown.com/2015/cars- Continue reading ]]>

 

Hey!, finally I’ve done my wsq16 wich is about read file and do stuff with it. There’s something that helped me a lot! and it is the code of Eduardo Tostado, you can check it; also the Ken’s page about cpp reference which we can use it in exams helped to me a lot to do this WSQ and, of course the book. The chapter 15 explains ecerything about how to read files in code.

 

Here’s my code at Github, enjoy!

https://github.com/Gonzalomata22/WSQs/blob/master/WSQ16.cpp

 

Cars !

]]>
https://creativecommons.org/licenses/by/4.0/
Quiz 11 https://kenscourses.com/tc101winter2015/2015/quiz-11-11/ Wed, 29 Apr 2015 01:58:38 +0000 https://gonzalomata22.withknown.com/2015/quiz-11 Continue reading ]]>

 

That question 2 made me crazy with that thing of “string.find” but here it is…

 

Question 1:

https://github.com/Gonzalomata22/Quizzes/blob/master/Quiz11/Quiz11.cpp

Question 2:

https://github.com/Gonzalomata22/Quizzes/blob/master/Quiz11/question2.cpp

]]>
https://creativecommons.org/licenses/by/4.0/
Quiz 10! https://kenscourses.com/tc101winter2015/2015/quiz-10-8/ Fri, 24 Apr 2015 04:56:04 +0000 https://gonzalomata22.withknown.com/2015/quiz-10 Continue reading ]]>

Quiz 10!

Hello! Here’s my  

I’ll leave you here in my post some links that helped me to solve this. The first one was the reference from Ken’s page available during our exams.

I did the quiz only with vectors and I’ll do it with arrays soon and I’ll upload it…

 

This one helped me to remember how to add values to a vector

This helped me to remember how to do some interesting things with vectors, is my video for mastery23 which is creation and use of vectors.

Also the reference that Ken already give us about dot Product if you don’t remember it from Fisica remedial.

 

And finally here is my link to the code already in GitHub

Question1

Question 2

 

Here a picture with my terminal running the examples that Ken gave us in the post of the quiz:

 

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