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