Problem:
using printf("%f", 1.2);
prints
   %f
instead of
   1.20000
Possible reasons:
no math lib included
Possible solutions:
- add -lmieee or -lmsoft (or other math library -> see vbcc manual) to list of compiler options
- put -lmieee (or whatever math lib you're using) before -lvc in list of compiler libs options
 
No comments:
Post a Comment
Your comment will published after it has been reviewed.