“Hello World” #WSQ02

After watching Ken’s video on youtube “LINK” about Hello World on C++

Screenshot1.2.png

I decided to work with my program following his directions, once I did this, it didn’t work for about a day, after this happened I came to school hopping for the best; special thanks to Christian Moreno for helping me out, he told me to download cygwin again and install many components I didn’t have. He said: “Descargalo otra vez, y si no checo tu programa” well the program was correct but the components weren’t.Screenshot2.2

This was the code for Hello World, Christian continued coaching me while we tried to make it work, succesfully he told me that I had compiled correctly; in order to compile you must write “g++” and the name of your program , and that in order to make it work you should always put “./a.exe” in order to execute the program compiled before.Screenshot3.2.png

Finally, after re-downloading cygwin, I was able to run this easy program… Hello World

 

Banana for scale!!

7101134513_5295b936e7_z
JK Brickworks https://www.flickr.com/photos/truedimensions/7101134513/in/photolist-bPvaTF-815sgJ-fap44G-2FJ1Ew-3KpTqJ-nv1Lnt-LkVum-5355XZ-7Y55Te-e5bou-bMW2de-agXchY-byVobx-6UfMT4-fooheV-8zj7hR-ef2zD-qQThR-PA4QL-4TEBQT-irrsTZ-2HUWVX-fzf7gt-5mnJQe-3q89kQ-gEYy44-hja1S-fFiUGo-79jGxr-4EZf6b-7mmnCa-pS5bBo-7w5Bhs-r7AbEi-56GEvw-bziV3g-9p29pc-npX8AN-r5jjNd-gWTn9R-oQnkxj-4dvFCC-5M1hvH-8z3ZBT-3JEzQQ-9JDW8Z-jpgBVS-nnuudg-9iDSQS-8VWDEW

 

 

Get coding #WSQo1

First I decided to download Atom because I thought it’s the easier one to work with in Mac. Here is the link from the Atom page, it is totally free for use. Link

Captura de pantalla 2016-01-19 a las 11.53.06

I installed correctly the program and everything was working right, then I just wrote the “Hello world” code.

Captura de pantalla 2016-01-19 a las 11.57.21

Then, I had to install the compiler, so I decided to use Homebrew, because it has packages that Mac doesn’t have and they let you compile files. Here is the link for Homebrew, it’s totally free for use. Link

Captura de pantalla 2016-01-19 a las 12.00.56.png

After downloading the Homebrew packages, I opened Terminal and typed the code that appeared on their webpage. Then you have to follow the instructions and type brew install gcc-g++ and you will have installed the compiler.

And that’s how I installed all the software and that stuff, now I can write in C++ and compile my files.

Alex H.

 

24294566811_7004231734_k
Another Sunrise over the Alps by Rogg4n Link on Flickr: https://www.flickr.com/photos/128294308@N05/24294566811/in/explore-2016-01-14/

 

 

#WSQ00 – Sign the Page One

Mecano
https://www.flickr.com/photos/freddzy/18125805269/in/photolist-tBHupX-7XxD53-3gFzYa-b7Q4ve-4vVj2a-5Jt1CF-5JxfHQ-5JsZvv-cGXodm-6K9nWG-6RGEvC-9Ud2vs-wPEdkK-6K5hiK-5JxfFE-8y76yc-6LLe89-mbnzx4-6K5hgR-6K5hgc-5JxhqS-5Jxha5-5Jt1BM-kw8rMi-ogvWL5-kJVhCd-bcoCzc-b7wAX2-euuAnQ-dmPUKr-ho7qcD-b7wBX2-5JsZJT-kbBWfB-5Jxguy-5JsZD6-5Jxg9f-5JsZYZ-5JxgA9-kbBVkv-9Hq76s-5JxfUL-5QFLoP-6ANYKF-4Usr5j-5Jt1g2-5JsZND-83tXk5-oigcPV-cwCvRE/

#WSQ01 Get Coding

First, I decided to get the platform for coding, for this I asked MR. Ken, he suggested Cygwin, he showed us on this video how to get it done. Link

After it was completed, this icon appeared on the desktop

 

Screenshot1

Then I moved on to get the editor. First I tried with Atom, but the installer wouldn’t work on my pc, therefore I move on to Ken’s suggestion for Windows “Notepad++” where the page suggests you which one to get in order to fit your necessity.

Screenshot2.png

After installation is completed this icon would appear on your desktop if you decide to include it during installation.

Screenshot3.png

Once you open both, this is how it should be seen.

Screenshot4.png

And there you have it done…

 

Penny Board because yes 😀

7968429654_906f3ae569_z
PennyBoard picture by: Paul Chery https://www.flickr.com/photos/paulchery/7968429654/