298899_0_10886.c:1:20: iostream: No such file or directory
298899_0_10886.c:2: error: syntax error before "namespace"
298899_0_10886.c:3: error: syntax error before numeric constant
298899_0_10886.c:5: error: syntax error before "prime"
298899_0_10886.c: In function `search_p':
298899_0_10886.c:25: error: syntax error before numeric constant
298899_0_10886.c:28: error: 'for' loop initial declaration used outside C99 mode
298899_0_10886.c:32: error: invalid lvalue in assignment
298899_0_10886.c:36: error: array subscript is not an integer
298899_0_10886.c:37: error: wrong type argument to increment
298899_0_10886.c:46: error: wrong type argument to decrement
298899_0_10886.c:54: error: 'for' loop initial declaration used outside C99 mode
298899_0_10886.c:58: error: invalid lvalue in assignment
298899_0_10886.c:62: error: array subscript is not an integer
298899_0_10886.c:63: error: wrong type argument to increment
298899_0_10886.c:72: error: wrong type argument to decrement
298899_0_10886.c:78: error: array subscript is not an integer
298899_0_10886.c:79: error: wrong type argument to decrement
298899_0_10886.c: In function `main':
298899_0_10886.c:84: error: syntax error before numeric constant
298899_0_10886.c:85: error: `EOF' undeclared (first use in this function)
298899_0_10886.c:85: error: (Each undeclared identifier is reported only once
298899_0_10886.c:85: error: for each function it appears in.)
298899_0_10886.c:89: error: wrong type argument to increment
298899_0_10886.c:95: error: 'for' loop initial declaration used outside C99 mode
298899_0_10886.c:99: error: invalid lvalue in assignment
|