int vsscanf(const char * restrict, const char * restrict, va_list); void test(const char *s, int *i) { scanf(s, i); // expected-warning{{format string is not a string ...
Visual Studio2022において、C言語で scanf関数を使おうとしたら 「C4996」エラーが出るので、代わりにscanf_s関数を使います。 → <参考記事>C言語 | scanf関数で発生したC4996エラー|JJoey scanf_s関数を使って、キーボードで入力したデータを printf関数を使って ...