enter image description here爲什麼我的菜單不工作的C++情況下開關
我只是在C開始++和我有問題,我的課的一個功課 一個簡單的問題,我希望 我知道,我有1只2種方法和2菜單,但它不起作用的第一和第二個在一起? 我的代碼` [鏈接] http://pastebin.com/b8CRUJbw
enter image description here爲什麼我的菜單不工作的C++情況下開關
我只是在C開始++和我有問題,我的課的一個功課 一個簡單的問題,我希望 我知道,我有1只2種方法和2菜單,但它不起作用的第一和第二個在一起? 我的代碼` [鏈接] http://pastebin.com/b8CRUJbw
cin>>tester1;
while(!cin) { // If integers are not inputted
cin.clear(); // Clear the error flag and stream buffer
cin.sync();
cout << "Please enter an integer!!" << endl;
cout << " >>";
cin>>tester1; // Input again
}
array[counter].registry=tester1;
http://i.stack.imgur.com/fwabT。 PNG 屏幕 – Anastasiia
它不是幫助=( – Anastasiia
但需要有lengthofArray這是我的陣列 的長度的最大值,我需要有currentSize 例如 [1] [2] [3] [] [] [ ] lengthofArray = 6 currentSize = 3 – Anastasiia
請編輯您的問題包含代碼... – EluciusFTW
即時添加鏈接我的代碼 – Anastasiia