Forum Discussion
Altera_Forum
Honored Contributor
13 years agosscanf and sprintf
1. Version 13.0 vs 12.1sp1 Recently we try the version 13.0 with our working software in 12.1sp1 but we have a surprise it was not working properly. We have found why, it is because the compi...
Altera_Forum
Honored Contributor
13 years agoIn that case you'd to better writing you own functions that do just what you want.
Especially is you are using the Altera printf/scanf code (which are probably pulled out of one of the libc libraries from somewhere). scanf() in particular is difficult to use correctly - badly formatted data has very unexpected effects.