O
CString ws("50x");
int speed = atoi(ws);
int sa[] = { 1, 2, 4, 6, 8, 10, 12, 16, 20, 24, 30, 32, 40, 48 };
int idx = 0;
while(speed >= sa[idx] && idx < sizeof sa / sizeof sa[0]){
CString text;
text.Format("%dx",sa[idx++]);
AfxMessageBox(text);
myCombo.AddString(text);
}
myCombo.AddString("Max");
[ Dieser Beitrag wurde am 31.12.2002 um 03:45 Uhr von Nemesyzz editiert. ]