#WSQ12 Word appearances

It took me way to much time to get this WSQ right, it´s still very confusing the changes between one language and another and even also between iOS, Linux and Windows.

First of all I definitely invite you all to check Orlando´s blog, thanks to his post I get my code right. Here´s Orlando´s blog. He´s the only one who made the counter way better by counting the word in a whole string line, not just reading one by line(I had my program working like this but I realized its not very functional to only read a word and skip the rest of the line. So Alex I think you should fix yours)

Important thing if you´re thinking in just copy Orlando´s code, it will only work if you have a Mac, why? Because windows need an important thing you can read here “Why I cannot just copy others codes :(? 

Here´s a small caption of how you must write the “c_str()” in your code:

line.png

Its essential to have your text file in the same folder as your program. I won´t say more here´my code will be bellow just click on RICK ASTLEY and you will end up on my GitHub.

12969426_10209238510464892_396541936_n.jpg

PROJECT

Newsss about the project, as you know I´m working with Saul and Alex on a resistance calculator in which the user types the colors of the lines of the resistance and we will return him the value of it, the tolerance and also the option to change the units between ohms, kiloohms and megaohms. We almost done everything, we´re working on a few details and when we get it we will post it on the IMT facebook page so you all can use it. 🙂

join-the-resistance.jpg07e6c70ab8d4eb6ab8c0f0b4dadee69aba2cd7a3.gif

 

 

 

 

 

 

Have a great weekend everybody!

Anuncios

Responder

Introduce tus datos o haz clic en un icono para iniciar sesión:

Logo de WordPress.com

Estás comentando usando tu cuenta de WordPress.com. Cerrar sesión / Cambiar )

Imagen de Twitter

Estás comentando usando tu cuenta de Twitter. Cerrar sesión / Cambiar )

Foto de Facebook

Estás comentando usando tu cuenta de Facebook. Cerrar sesión / Cambiar )

Google+ photo

Estás comentando usando tu cuenta de Google+. Cerrar sesión / Cambiar )

Conectando a %s