0_0_10539757_12426.c:1:20: iostream: No such file or directory
0_0_10539757_12426.c:7: error: syntax error before "namespace"
0_0_10539757_12426.c:9: error: syntax error before "a"
0_0_10539757_12426.c:14: error: syntax error before "a"
0_0_10539757_12426.c: In function `get_num':
0_0_10539757_12426.c:16: error: request for member `length' in something not a structure or union
0_0_10539757_12426.c:17: error: request for member `length' in something not a structure or union
0_0_10539757_12426.c:18: error: 'for' loop initial declaration used outside C99 mode
0_0_10539757_12426.c:19: error: subscripted value is neither array nor pointer
0_0_10539757_12426.c:20: error: redefinition of 'i'
0_0_10539757_12426.c:18: error: previous definition of 'i' was here
0_0_10539757_12426.c:20: error: 'for' loop initial declaration used outside C99 mode
0_0_10539757_12426.c:21: error: subscripted value is neither array nor pointer
0_0_10539757_12426.c: In function `get_sum':
0_0_10539757_12426.c:27: error: 'for' loop initial declaration used outside C99 mode
0_0_10539757_12426.c:32: error: redefinition of 'i'
0_0_10539757_12426.c:27: error: previous definition of 'i' was here
0_0_10539757_12426.c:32: error: 'for' loop initial declaration used outside C99 mode
0_0_10539757_12426.c: In function `main':
0_0_10539757_12426.c:41: error: `cin' undeclared (first use in this function)
0_0_10539757_12426.c:41: error: (Each undeclared identifier is reported only once
0_0_10539757_12426.c:41: error: for each function it appears in.)
0_0_10539757_12426.c:42: error: 'for' loop initial declaration used outside C99 mode
0_0_10539757_12426.c:49: error: `cout' undeclared (first use in this function)
0_0_10539757_12426.c:49: error: `endl' undeclared (first use in this function)
|