Search

Programming course

Finals recipes

So during finals season we need to calm our nerves with something, and in many cases that something is food, so here are some examples of easy and healthy recipes I use during this stressful times.

Course

I think I really learned this semester from my career but also from different subjects that everyone should know. Even though my new career doesn’t need this kind of programming, it helped me a lot to learn more about c++ and all the things we can do with it. I enjoyed the class very much and I am really thankful Ken 🙂

Final Project poster

Here is a poster we made for our final project. My partner Ricardo made the blog post with the code, and here is the poster in PDF and in an image.

Captura de pantalla 2017-05-03 a la(s) 23.59.59.png

Focus OnThe JourneyNot The

New music

This has been a great year in music, bands are release new music in years and changing their style. Here are some examples of new music

To help you study

I used this webpage and it helped me a lot to understand more about C++

Captura de pantalla 2017-05-03 a la(s) 22.02.50.png

This webpage even includes the basics and FAQ’s.

Bananas!

So this assignment was longer than I expected but it was fun

here is what we had to do:

Write a function called find_bananas which receives a single parameter called filename (a string) and returns a positive integer which is the number of times the word (string) “banana”  (or “BANANA” ) is found in the file. The banana can be any case (‘BaNana’ or ‘BANANA’ or ‘banana’, etc) and they can be “stuck together” like “banAnaBANANA” (that counts as two). Create your own test file (plain text) to check your work.

And my codeWSQ11.png

Babylonians

So this was the assignment:

The function should receive a number and return floating point number. Obviously you should test your function, so create a main program that asks the user a value, calculates the square root and displays that.

 

And it was really simple after hearing Ken’s explanation and this article

WSQ09

So this is what Ken told us to do:

So for this assignment I would like to see you create a function that receives as parameter the name of a file (this would be a string value like data.txt) and your function counts the number of lines and the number of characters in the file which it returns as a single value (but with two values). You will want to look at how to create/define and return a struct value from a function and how to open and read text files line by line

This is my code

WSQ09atom

And this is the help I used from a guy on Youtube:

Yo soy 196

This was the hardest WSQ I made, so basically I asked the user for an upper and under bound and then analyze using Lychrel numbers

Captura de pantalla 2017-05-03 a la(s) 21.51.35

I used Ken’s video and this article

A WordPress.com Website.

Up ↑