#include #include const int MAX_LENGTH = 35; typedef char string[MAX_LENGTH]; struct node { char cItem; int iLChild; int iRChild; }; node bTree[MAX_LENGTH]; void postFix() { ofstream OutFile("postfix.txt"); OutFile.close(); } void preFix() { ofstream OutFile("prefix.txt"); OutFile.close(); } void loadTree(string line) { } void main() { string strIn = ""; ifstream InFile("algebra.txt"); while ( InFile.peek() != EOF ) { InFile.getline(strIn, MAX_LENGTH); loadTree(strIn); postFix(); preFix(); } InFile.close(); }