foo.cpp:1:1: error: 'include' does not name a type
include "string" include "iostream" include "math.h"
^
foo.cpp:5:1: error: 'string' does not name a type
string ToASCII(int Num) {
^
foo.cpp: In function 'int main()':
foo.cpp:22:1: error: 'string' was not declared in this scope
string Num_A, Num_S;
^
foo.cpp:22:8: error: expected ';' before 'Num_A'
string Num_A, Num_S;
^
foo.cpp:24:1: error: 'cin' was not declared in this scope
cin >> Num_A;
^
foo.cpp:24:8: error: 'Num_A' was not declared in this scope
cin >> Num_A;
^
foo.cpp:26:1: error: 'Num_S' was not declared in this scope
Num_S += ToASCII(i);
^
foo.cpp:26:19: error: 'ToASCII' was not declared in this scope
Num_S += ToASCII(i);
^
foo.cpp:31:1: error: 'cout' was not declared in this scope
cout << IndexOf + 1;
^