#WSQ02 Hello Wolrd

Este es mi primer programa, estoy muy feliz porque aunque fue muy sencillo de realizar, pero de alguna forma se tiene que empezar y asi empezaron los grandes.

Aqui adjunto capturas de pantalla

Captura de pantalla 2016-02-18 a las 21.08.51

Y aqui el programa corriendo en Xcode.

Captura de pantalla 2016-02-18 a las 21.14.50

Este es el codigo:


Cualquier duda o comentario porfavor escribanme en la caja de comentarios y lo contestare lo mas pronto posible.


WSQ02 – Hello World

Hello World es es primer programa que realicé en c++, a pesar de que se trata de un programa simple, tuve que buscar por la web por ayudar para realizar este programa, por el hecho de que fue mi primer programa realizado.

WSQ02 - Hello WorldEsta actividad también me sirvió para aprender a utilizar mi compilador llamado Cygwin, ya que nunca lo había utilizado.

Link del código en GitHub: WSQ02 – Hello World



WSQ02 – “Hello World”

This one’s pretty simple, just print “Hello World”. It’s a very common thing to do when you’re learning a new programming language, and in regards to this I’ve found a like for codecademy, I think it’s great for learning languages as it safely takes you step by step in a very interactive way. I used it to learn python and finished the course in less than a 24 hours, and although I can’t say I master the language, I do know how to do what I need.

But back to coding issue, python is very very simple. For your program to print “hello world” you just literally need to type:


Screen Shot 2016-02-06 at 4.56.58 PM


Yes, as easy as that. This should work for both, python 2 and 3. I do rather work with the former, as most of the forums and help you may be looking for are most likely found in that format, but the differences are minimal. The big difference about both versions in regards to this hello world code would be that python 2 accepts print with or without parentheses, while print will only work in python 3 if it has them. input and raw_input is also another big difference, and speaking about it I might as well start using these:


Python 2:

Screen Shot 2016-02-06 at 5.02.17 PM

Python 3:

Screen Shot 2016-02-06 at 5.04.27 PM


Now, if you’re new to python, I’d like to encourage you to try to figure out what this means before reading the explanation. 

Here, whatever you write in between the parentheses will show on the terminal/shell. raw_input/input is for the user to write and input something into the program, the code right here will print whatever the user inputs. But it only does it once… so what if the user wants to print more than just one message? Worry

Screen Shot 2016-02-06 at 5.19.03 PM
Screen Shot 2016-02-06 at 5.19.03 PM

Continue reading “WSQ02 – “Hello World””

#WSQ02 – Hello World

This was an easy task. Write my code using atom and run it in the command prompt in order to print “Hello World”.

cd is the way the terminal understands that you want to switch to another folder in order to execute the code(the folder you save your code). Then you need to tell the terminal you want to run it using python version 3.5 (Python35) and calling the executable python.exe and the name of the code.

2016-02-04 (4)


My first code!

This is my first code and my first video showing what I did. I know is not a perfect video but the next ones will be better. So, I hope you can use this 😉

Here’s the link of the video:


The instructions was:

Get your program to print (on the terminal/shell) the message “Hello World”. Yes, that simple. Remember you are doing this at the terminal, NOT inside an IDE like Code::Blocks, Eclipse, Xcode.

For this code my only helper was my teacher (https://twitter.com/ken_bauer). And here is a picture of it:


With this code I learn how to introduce a text line. We use:

*#include <iostream> (Introduce the library).

*Using namespace std (To use cout as simple as you can see [without std::cout] because we know that we are going to use it several times).

*int main() (To introduce functions).


*return 0 (it means that we finish the code with no problems).

(Remember to use the keys correctly).

To run the program we use CYGWIN:



  1. Write the location of the file.
  2. Use “ls” and it shows you the list of the folder.
  3. Use “g++” to compile and then write the file’s name. (If it shows you an error is because something in the code is wrong).
  4. Finally write “./a.exe” to execute the program.


Thank you for see my post and see you in my next. Have a nice day.


Hello World is the first typical program, it helps to ilustrate the beginning programmers to know how to start coding in most programming languages.

This is my Hello World code:

#include <iostream>

using namespace std;

int main(){
cout<<“Hello World”<<endl;


To compile and run this program in the Terminal in my Mac I had to look up for a youtube video that could help me solve my doubts, so I watched this video: https://www.youtube.com/watch?v=qQ40Wd6H3EQ called

Mac C++ Tutorial: Compiling in Terminal

and the guy who uploaded it is Rainger Rossway.

This is the program ran in the terminal

Captura de pantalla 2016-01-29 a las 8.16.58 p.m.

JHello world (:


Para comenzar, me puse a investigar la biblioteca de Python en diferentes páginas, busqué al menos lo básico para comenzar a programar, que en este caso fue solo ver como imprimir texto y de paso como hacer comentarios.


La extensiones comunes para guardar programas de python es “.py, .pyc, .pyd, .pyo, .pyw”

En mi caso, ahí lo hice directo, así que se guarda automático como .py”, pero si lo hago en el editor de NotePad++ luciría algo así. NOTA: se tiene que usar la sintaxis del lenguaje que se desea

🙂 ->ashamed.png

Después de haber guardado el archivo como “.py” o “.pyw”, nos dirigimos a IDLE (que es el editor de Python, pero el chiste es aprender a usar otros) para verificar que se haya guardado y que lo podamos correr bien. Yo lo tengo en una carpeta aparte de NotePad pero como tiene la extensión de py lo puedo abrir sin problemas.



…y eso es todo.

Hello World

Hello World

Hi people. This is my first project on C++ using the Atom editor and the Cygwin Terminal.

I found it difficult because i didn’t know how to use it those softwares so I had to see some videos on Lynda platform and I visited the page cplusplus.com to learn about the commands that are useful on C++. So if ypu don’t understand something about C++, you can navigate in the internet and get the key to do it!.

Here is my code on Atom.


And here, the result of the code, the message printed.


If you want to see all my codes, you can see it on the next URL.