NFA - Non Deterministic Finite Automata DFA - Deterministic Finite Automata Write down the Steps that U know for the conversion I'll try creating the source There are i guess 3 different ways for the conversion
Here you go. I don't know anything about NFAs and DFAs or how to convert between them, but if you know then just fill in the details and this will do the trick: Code: struct tagNFA { /* you need to fill this in */ }; struct tagDFA { /* you need to fill this in */ }; void initNFA(struct tagNFA *obj) { /* you need to fill this in */ } void convertNFA2DFA(struct tagNFA *theNFA,struct tagDFA *theDFA) { /* you need to fill this in */ } int main() { struct tagNFA myNFA; struct tagDFA myDFA; initNFA(&myNFA); convertNFA2DFA(&myNFA, &myDFA); }