How I started in C++

--Originally published at Future Queen of C++

The first thing I did was google a bit about C++. From WSQ 00 I knew that I needed a bash/terminal and a program to edit. In Mac, you already have one, but in Windows you have to download one. So I went to Finder and in search I typed Terminal.

Then I went to Google and looked for Atom and just click on Download!

Screen Shot 2017-09-15 at 7.54.13 PM

After that you are ready to program ?


Sum of numbers

--Originally published at Future Queen of C++

It was actually an easy program, the only Problem was that at first the sum was extremely big, but after a few corrections it was all good.

Sum of numbers

 

Sum ofnumbers


Pick a number

--Originally published at Future Queen of C++

It took me almost a whole week to work on this task, and my main problem was that in the start I put <time.h> instead of <ctime>, this was the only thing that was wrong and I spend days stressing because of it. When Ken help me out and correct it, I do some research to make it count the times of tries.

http://www.cplusplus.com/reference/cstdlib/rand/

http://logpracticas2013.blogspot.mx/2013/04/c-introduccion-de-datos-contadores-y.html

http://www.aprenderaprogramar.com/index.php?option=com_content&view=article&id=917:generar-numeros-o-secuencias-aleatorios-en-c-intervalos-srand-y-rand-time-null-randmax-cu00525f&catid=82&Itemid=210

 

Click to view slideshow.

Fun with numbers

--Originally published at Future Queen of C++

At first I made one program for each of the equation, then I realised that it was just one for all of them and had to start over. I knew how to begin because of Hello World, but everything else was confusing, I did the maths but had to google how to make the results come in the screen. When I finally found it, all the text appeared in one line and it looked ugly. So I tried and tried by my self, changing and changing the way it was written, at the end, the result was the one that the picture shows.

Fun with numbers

 


Hello World

--Originally published at Future Queen of C++

I had a really hard time making this first practice because I didn’t even know how to install the software that I was supposed to install by myself. I started digging a little bit but I didn’t understand a thing. Later in the class a lovely classmate help me out and explained me the basic stuff. By my own, I made a fast research and found examples that looked alike and did it.