You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 24, 2023. It is now read-only.
When using printf and scanf types defined in stdint.h such as uint64_t the correct (and portable) way is to use defines from inttypes.h:
#include <inttypes.h>
uint64_t i;
scanf("%"SCNu64, &i);
Because an uint64_t is not always a long long int, but standard C highlighting as well as C improved highlight the percent sign as a syntax error. Could you please make it recognize it as a correct syntax?
The text was updated successfully, but these errors were encountered:
@turdo thank you for reporting this. I afraid, I can't devote enough time to this project at the moment. If you know how to fix it, please feel free to make a PR!
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
When using printf and scanf types defined in stdint.h such as uint64_t the correct (and portable) way is to use defines from inttypes.h:
#include <inttypes.h>
uint64_t i;
scanf("%"SCNu64, &i);
Because an uint64_t is not always a long long int, but standard C highlighting as well as C improved highlight the percent sign as a syntax error. Could you please make it recognize it as a correct syntax?
The text was updated successfully, but these errors were encountered: