Need some help Matching grouping symbols in file

Fixed My Own Code
Last edited on
Don't loop on eof
Instead simply while( fin>>ch )

You should read the file only one time. As it is, you are losing the positions of the characters.

Your algorithm makes no sense ¿do you mind to explain it?
..Can you give some explain about your program? I even didn't know what you are going to do...There's seems no syntax mistakes..
Fixed my own code.
Last edited on
Topic archived. No new replies allowed.