スポンサード リンク
Microsoft Visual C++にて以下のソースでコンパイルエラーが発生します:
コンパイルエラーメッセージ:
error C2660: '<関数名>' : 関数に 0 個の引数を指定できません。
ソース(バグ有り):
#include <iostream>
using namespace std;
//1をプラスする関数
int test(int n);
int main()
{ |
ソース(修正済み):
#include <iostream>
using namespace std;
//1をプラスする関数
int test(int n);
int main()
{ |
スポンサード リンク