snprintf was not part of C90, it's a C99 addition or an extension to C90 available to certain compilers.
It looks like you may be using some variant of gcc, so try adding the flag -std=c99.
snprintf was not part of C90, it's a C99 addition or an extension to C90 available to certain compilers.
It looks like you may be using some variant of gcc, so try adding the flag -std=c99.
7. It is easier to write an incorrect program than understand a correct one.
40. There are two ways to write error-free programs; only the third one works.*