スポンサード リンク
Microsoft Visual C++にて以下のソースでコンパイルエラーが発生します:
コンパイルエラーメッセージ:
error C2450: switch 式の求める数値の型 'float' が無効です。
ソース(バグ有り):
//switch case のサンプル
#include <stdio.h>
int main()
{ |
ソース(修正済み):
//switch case のサンプル
#include <stdio.h>
int main()
{ |
スポンサード リンク