Skip to content

Latest commit

 

History

History
43 lines (29 loc) · 1.07 KB

README.md

File metadata and controls

43 lines (29 loc) · 1.07 KB

Infix2Postfix

Details

The folder contains the implementation of Infix2Postfix algorithms. Implementations are written in a way that, it's easy to understand.

Following is the List of Implementations

Helper Functions

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.

Running Tests:

g++ Tests.cpp
./a.out

All Test should pass.

Example:

#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;
}

Authors

  • g31s - Initial work - g31s

See also the list of contributors who participated in this project.

License

This project is licensed under the MIT License - see the LICENSE file for detailsgit