Forum Discussion
Altera_Forum
Honored Contributor
15 years agoYou might just need to wait for the output to happen.
It isn't 100% clear what happens when main returns! (Well there is code to close stdout etc - but I don't understand why!) Try adding for (;;); at the bottom of your function.