4
エラー:ケースラベルにジャンプ
私はswitchステートメントの使用を含むプログラムを書きました...しかし、コンパイル時にそれは示しています: エラー:ケースのラベルに移動します。 なぜそれを行うのですか? #include <iostream> #include <cstdlib> #include <fstream> #include <string> using namespace std; class contact { public: string name; int phonenumber; string address; contact() { name= "Noname"; phonenumber= 0; address= "Noaddress"; } }; int main() { contact *d; d = new contact[200]; string name,add; int choice,modchoice,t;//Variable for switch statement …
229
c++