Commtech wireless Mercury 8-Line Bedienungsanleitung Seite 109

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 124
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 108
ECE 477 Final Report Spring 2004
cout<< endl << 2*CATMAX + 1 << ": Cancel" << endl;
cout<< "Edit line number to Edit: ";
cin >> editNum;
if ( (editNum >= 1) && (editNum <= CATMAX) ) {
cin.getline(newstr, 1);
cout<< "Enter replacement string: ";
cin.getline(newstr, CHARMAX);
strcpy(item_menu[editNum-1],newstr);
break;
}
if ( (editNum >= CATMAX + 1) && (editNum <= 2*CATMAX) ) {
newscreen();
cout << "****************************" << endl;
cout << "\t" << "---EDITING " << item_menu[editNum -
CATMAX - 1];
cout << "---" << endl;
cout << "****************************" << endl;
for (int i = 0; i < ITEMMAX; i++)
cout<< i+1 << ": " << cat_menus[editNum - CATMAX -
1][i] << endl;
cout << endl;
cout<< "Edit line number to Edit: ";
cin >> editNum2;
cin.getline(newstr, 1);
cout<< "Enter replacement string: ";
cin.getline(newstr, CHARMAX);
cout << newstr << endl;
if ( (editNum-1 >= 0) && (editNum-1 <= ITEMMAX-1) )
strcpy(cat_menus[editNum - CATMAX - 1][editNum2-
1],newstr);
break;
}
break;
case 6:
newscreen();
cout<< "Goodbye" << endl;
break;
default:
cout << "INVALID SELECTION! NUMBERS 1-6 ONLY!" << endl;
break;
}
} while (selection1 != 6);
F-35
Seitenansicht 108
1 2 ... 104 105 106 107 108 109 110 111 112 113 114 ... 123 124

Kommentare zu diesen Handbüchern

Keine Kommentare