--Originally published at Programming course
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.
--Originally published at Programming course
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.
--Originally published at Programming 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
--Originally published at Programming course
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.
--Originally published at Programming course
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
--Originally published at Programming course
I used this webpage and it helped me a lot to understand more about C++
This webpage even includes the basics and FAQ’s.
--Originally published at Programming course
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 code
--Originally published at Programming course
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
--Originally published at Programming course
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
And this is the help I used from a guy on Youtube:
--Originally published at Programming course
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
I used Ken’s video and this article
--Originally published at Programming course
In this program we had to ask for 10 numbers and then give the user the average, total and the standard deviation of this. This is my code:
I used this webpage as help to understand a bit more about floats.