game1.c:1:20: error: iostream: No such file or directory
game1.c:2:18: error: string: No such file or directory
game1.c:4: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘namespace’
game1.c:6: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘character’
game1.c:14: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘choice’
game1.c: In function ‘battle’:
game1.c:24: error: ‘cout’ undeclared (first use in this function)
game1.c:24: error: (Each undeclared identifier is reported only once
game1.c:24: error: for each function it appears in.)
game1.c:24: error: ‘endl’ undeclared (first use in this function)
game1.c:25: error: ‘cin’ undeclared (first use in this function)
game1.c:25: error: ‘choice’ undeclared (first use in this function)
game1.c: In function ‘main’:
game1.c:58: error: ‘cout’ undeclared (first use in this function)
game1.c:58: error: ‘endl’ undeclared (first use in this function)
game1.c:59: error: ‘cin’ undeclared (first use in this function)
game1.c:59: error: ‘character’ undeclared (first use in this function)
game1.c:83: error: ‘choice’ undeclared (first use in this function)
game1.c:84:2: warning: no newline at end of file