Tutorial 1
description
Transcript of Tutorial 1
![Page 1: Tutorial 1](https://reader035.fdocumento.com/reader035/viewer/2022062319/557bde87d8b42a8b3e8b5226/html5/thumbnails/1.jpg)
Bienvenidos todosClase #1
Compiladores y Hola Mundo!
Para Windows
Wister Fung Fung
![Page 2: Tutorial 1](https://reader035.fdocumento.com/reader035/viewer/2022062319/557bde87d8b42a8b3e8b5226/html5/thumbnails/2.jpg)
Descargar compilador
1 - Ingresar a esta página web.
2 – Haga clíc en este hipervínculo.
![Page 3: Tutorial 1](https://reader035.fdocumento.com/reader035/viewer/2022062319/557bde87d8b42a8b3e8b5226/html5/thumbnails/3.jpg)
Haga clic en guardar (Save) y seleccione su carpeta de preferencia.
![Page 4: Tutorial 1](https://reader035.fdocumento.com/reader035/viewer/2022062319/557bde87d8b42a8b3e8b5226/html5/thumbnails/4.jpg)
Ingrese su la carpeta donde lo descargó y ejecute el programa de instalación.
![Page 5: Tutorial 1](https://reader035.fdocumento.com/reader035/viewer/2022062319/557bde87d8b42a8b3e8b5226/html5/thumbnails/5.jpg)
Elija su lenguaje de preferencia.
![Page 6: Tutorial 1](https://reader035.fdocumento.com/reader035/viewer/2022062319/557bde87d8b42a8b3e8b5226/html5/thumbnails/6.jpg)
Una vez leída los términos de la licencia, haga clíc en “Acepto”.
![Page 7: Tutorial 1](https://reader035.fdocumento.com/reader035/viewer/2022062319/557bde87d8b42a8b3e8b5226/html5/thumbnails/7.jpg)
Seleccione el tipo de instalación y haga clic en “Siguiente”
![Page 8: Tutorial 1](https://reader035.fdocumento.com/reader035/viewer/2022062319/557bde87d8b42a8b3e8b5226/html5/thumbnails/8.jpg)
Seleccione la carpeta de instalación y haga clic en “Instalar”.
![Page 9: Tutorial 1](https://reader035.fdocumento.com/reader035/viewer/2022062319/557bde87d8b42a8b3e8b5226/html5/thumbnails/9.jpg)
Escoja si desea instalar el compilador para todos los usuarios o sólo para usted.
![Page 10: Tutorial 1](https://reader035.fdocumento.com/reader035/viewer/2022062319/557bde87d8b42a8b3e8b5226/html5/thumbnails/10.jpg)
Haga clic en “Terminar”, y ya el compilador está listo para funcionar.
Felicidades ha descargado e instalado un compilador exitosamente.
![Page 11: Tutorial 1](https://reader035.fdocumento.com/reader035/viewer/2022062319/557bde87d8b42a8b3e8b5226/html5/thumbnails/11.jpg)
Clase #1 – Compiladores y Hola Mundo!
Haga clic, para abrir una nueva hoja de fuente.
![Page 12: Tutorial 1](https://reader035.fdocumento.com/reader035/viewer/2022062319/557bde87d8b42a8b3e8b5226/html5/thumbnails/12.jpg)
Copie y pegue el código fuente de la clase #1.
![Page 13: Tutorial 1](https://reader035.fdocumento.com/reader035/viewer/2022062319/557bde87d8b42a8b3e8b5226/html5/thumbnails/13.jpg)
1 - Vaya a la pestaña de “Execute” (Ejecutar)
2 - Seleccione “Compile & Run” (Compilar y Ejecutar)
![Page 14: Tutorial 1](https://reader035.fdocumento.com/reader035/viewer/2022062319/557bde87d8b42a8b3e8b5226/html5/thumbnails/14.jpg)
Guarde el código con su nombre de preferencia.
![Page 15: Tutorial 1](https://reader035.fdocumento.com/reader035/viewer/2022062319/557bde87d8b42a8b3e8b5226/html5/thumbnails/15.jpg)
Le debió haber aparecido un cuadro negro y desaparecido rápidamente.
Por lo que, agregamos la línea system(“pause”);
![Page 16: Tutorial 1](https://reader035.fdocumento.com/reader035/viewer/2022062319/557bde87d8b42a8b3e8b5226/html5/thumbnails/16.jpg)
Ahora sí puede ver la ejecución del programa.
![Page 17: Tutorial 1](https://reader035.fdocumento.com/reader035/viewer/2022062319/557bde87d8b42a8b3e8b5226/html5/thumbnails/17.jpg)
Felicidades
• Ha descargado un compilador.• Instalado el compilador.• Codificó en lenguaje C++.• Compiló y ejecutó el programa de ejemplo.