Forum Discussion
Altera_Forum
Honored Contributor
15 years agoSoftware size is too big
Hello guys, i've tried small C lib, reduced device drivers and everything else but nothing works.. I am using Quartus V10.0SP1 and NIOSEDS V10.0SP1, A hello word simple program with a printf ta...
Altera_Forum
Honored Contributor
15 years agoOh, you really don't want to be using gets() - it will write past the end of your buffer at some point!
The normal recommendation is to use fgets(), but that may not be appropraite here - your own loop calling getchar() is probably better.