Hola mundo en C++ . [03]
En este tutorial vamos a crear nuestro primer Hola mundo en C++ siguiendo estos pasos:
- Crear nuestro codigo de Hola mundo en C++.
- Comentarios.
- Libreria iostream.
- Función main.
- cout y cin.
- return 0;
Codigo: https://github.com/programadornovato/c-/commit/70e475044dab09c2054363ee1571fba18a76285c
.gitattributes
# Auto detect text files and perform LF normalization * text=auto
.vscode/settings.json
{ "files.associations": { "iostream": "cpp" } }
.vscode/tasks.json
{ // See https://go.microsoft.com/fwlink/?LinkId=733558 // for the documentation about the tasks.json format "version": "2.0.0", "tasks": [ { "type": "shell", "label": "g++.exe build active file", "command": "C:\\MinGW\\bin\\g++.exe", "args": [ "-g", "${file}", "-o", "${fileDirname}\\${fileBasenameNoExtension}.exe" ], "options": { "cwd": "C:\\MinGW\\bin" }, "problemMatcher": [ "$gcc" ], "group": "build" } ] }
main.cpp
// Este es mi prime hola mundo, put.. el que lo lea #include <iostream> int main(){ std::cout << "Hola mundo"; std::cin.get(); return 0; }
🔗 URL de minGW: https://sourceforge.net/projects/mingw/
🔗 Plugin C/C++: https://marketplace.visualstudio.com/items?itemName=ms-vscode.cpptools
Descargar zip con todos los codigos: http://raboninco.com/bXZK
[CURSO] C++ DE 0 A HEROE: https://www.youtube.com/playlist?list=PLCTD_CpMeEKTofxs7iottRxJ5YPM7BOcc
Gracias por apoyar este canal: https://www.patreon.com/programadornovato
🔗 Facebook: https://facebook.com/ProgramadorNovatoOficial
🔗 Twitter: https://twitter.com/programadornova
🔗 Linkedin: https://www.linkedin.com/in/programadornovato/
🔗 Instagram: https://www.instagram.com/programadornovato/
🔗 Pagina oficial: https://www.programadornovato.com
<<Anterior tutorial Siguiente tutorial >>
Ave que vuela, a la cazuela.