reading .txt file is killing me!!

I am confusing about how to read a .txt file of infix expression . I want to read this file and,,,, For each infix expression, the program should print
the original infix expression, and it can check for end-of-file and stop when there are no more infix expressions..............can anyone write me a simple example?? I tried to work on it for the whole weekend.......

I want to store each characters in a member of array like arr[i],,
Topic archived. No new replies allowed.