The folder contains the implementation of Infix2Postfix algorithms. Implementations are written in a way that, it's easy to understand.
Most implementation contains Helper functions. Function are added to understand what is happening at each step. These function are not requried to run the program and can be delete.
g++ Tests.cpp
./a.out
All Test should pass.
#include <iostream>
#include "Infix2Postfix.h"
int main() {
Infix2Postfix ob("A+B*C");
ob.Debug(true); // Will output the stack at each step. Only include for testing.
cout << ob.Convert();
return 0;
}
- g31s - Initial work - g31s
See also the list of contributors who participated in this project.
This project is licensed under the MIT License - see the LICENSE file for detailsgit