Introduction to Programming Python and C++

Author Archives: Alan S. Olalla

Final Project: FINAL

Redundant title is redundant. After much work, tears, sweat and a couple of sleep-deprivation sessions at the Biblioteca, we did it. Messily, and with two codes worth of work, but we did it. Montse had a lot of trouble simply getting the Magick++ library to cooperate with us and it just did not work in … Continue reading Final Project: FINAL

Masteries 23. and 26.

Description: Creation and use of vectors and matrixes in C++. The very last one. We are going into the matrix of codes (or the code of matrixes, rather). It’s a bit odd that these masteries find themselves separated by a gap between two other masteries, but that’s just nitpicking. Let’s go ahead and finish this … Continue reading Masteries 23. and 26.

Masteries 24. and 25.

Description: Creation and use of arrays and strings in C++. Wait, I didn’t know strings were arrays! Just kidding, we have to know all about arrays and strings if we want to make more complicated code, and it’s always useful to know that you can do one thing in more than one way. That said, … Continue reading Masteries 24. and 25.

Masteries 17. and 18.

Description: Use of “switch” as a conditional and nesting of conditional statements. Just like the description says, there’s nothing like the nesting of conditionals… which can get a little confusing, but they’re important to take into account. Video right here.

Masteries 19. and 20.

Description: Use of loops with “while” and “for”. We’re gonna loop until we die… or the condition of the function is met. Either way, these are the basics of programs which use loops, and why they’re so useful. Video here!

Mastery 10.

Description: Basic output (printing) and input (text based) in C++. Learning to print text in a code and let the user input some more of their own. We understand the andvantages of output and input in this mastery. Link to video here.

WSQ14

After having done the #Quiz11, this WSQ was one of the easier ones, even if it took a lot of digging in StackOverflow and cplusplus.com, looking at details of semi-finished code from beginners (like me, obviously) with the same problems as myself. e’s an awesome number, check the GitHub code link for the WSQ.

WSQ13

GitHub code link

WSQ12

GitHub code link

WSQ 11

Downloading the BigInteger library and making it work is the first step to make this WSQ, and I hadn’t downloaded it so this took some time… It was easy afterwards, and whenever you get stuck it is always a good idea to pay the guys at cplusplus.com a visit. It is also good to see … Continue reading WSQ 11

What should you work on?

Week #12 and more partial exams for you.

For this week's readings:
C++ (TC1017) should either be looking at support for your project, ImageMagick C++ libraries are a good start.
Python (TC1014) should be finishing chapter 11 (Dictionaries).