/in/foo.cc:4:6: error: redefinition of 'int step'
  int step;
      ^~~~
/in/foo.cc:3:5: note: 'int step' previously declared here
 int step;
     ^~~~
/in/foo.cc: In function 'void hanoi(int, char, char, char)':
/in/foo.cc:9:19: error: 'hanio' was not declared in this scope
    hanio(n-1,a,c,b);
                   ^
/in/foo.cc:10:12: error: 'sept' was not declared in this scope
    cout<<++sept<<".move"<<" "<<n<<" "<<"from"<<" "<<a<<" "<<"to"<<" "<<c<<endl;
            ^~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:18:21: error: 'hanio' was not declared in this scope
  hanio(n,'a','b','c');
                     ^