>>319
教本を参考にしてVC++2008でscanf使おうとするとビルドで警告が出るのですが、
どういう記述にするのがWindowsの作法なんですか?

/*今警告の出る記述*
int res;
scanf("%d", &res)