Tarea3. - HectorLopezMontiel
Tarea3. - HectorLopezMontiel
Tarea3. - HectorLopezMontiel
Computacionales
COMPILADORES
Unidad 3. Usos y prcticas de compilacin
Tarea 3.- Compilando con MinGW
Nombre: Hctor Lpez Montiel
Facilitador:
Errores encontrados
C:\>cd tarea
C:\tarea>g++ prog.cpp
C:\tarea>g++ prog1.cpp
C:\tarea>g++ prog2.cpp
C:\tarea>g++ comprobar.cpp
comprobar.cpp:2:9: error: macro names must be
identifiers
comprobar.cpp:3:11: error: '::main' must return 'int'
comprobar.cpp: In function 'int main()':
comprobar.cpp:6:8: error: 'clrscr' was not declared in
this scope
comprobar.cpp:8:1: error: expected ';' before 'printf'
comprobar.cpp:9:14: error: 'scan' was not declared in
this scope
comprobar.cpp:18:7: error: 'getch' was not declared in
this scope
C:\tarea>