Printing unsigned long long int Value Type Returns Strange Results

前端 未结 4 676
野的像风
野的像风 2021-01-17 13:45

I have a problem while using the printf function to print values of type unsigned long long int

I have no idea what\'s wrong. I\'m using De

4条回答
  •  清酒与你
    2021-01-17 14:14

    long long int is a type from the C99 standard, MSVC doesn't support this. Take a compiler with C99 support (like MinGW for Windows) and it will work.

提交回复
热议问题