how to write a program that can model any Deterministic Pushdown Automata (DPDA) the user should enter number of states, transition functions, input symbols the program should model the pda requested for and test for the acceptance or rejection of random strings entered by the user
this is what i have done so far in c++ -i have collected the number of states, input symbols, and the input symbols -i am on the transition function but cant seem to go further because i just cannot conceptualize modelling the DPDA