c99 tag

2 questions


4 answers
146 views
0
When compiling with c99 option in TDM-GCC 5.1.0, printf %lf output is different than expected

If you compile TDM-GCC 5.1.0 with c99 as shown in gcc-std=c99-pedantic test.c, the output of %lf will be 0.0000.Source code of interest:#include<stdio.h>int main(void){ double v=3.1415926; print...

2 years ago

1 answers
145 views
0
How do I write C99 stdint.h in Visual Studio?

I looked it up and I heard that the visual version I use doesn't have stdint.hThen I can't write anything in this header? TT?

2 years ago

© 2024 OneMinuteCode. All rights reserved.