const std::string* PA_ptr = Wrapper::predefinedArgs;
const std::string* PA;
const int * PAT_ptr = Wrapper::predefinedArgTypes;
const int PAT;
// Search needle:
for (int c=0; c<ARGS_CAPACITY;c++)
{
PA = (PA_ptr+c);
PAT = (PAT+c);
switch (PA){
...
Dostal jsem hlášku že když je proměnná const tak nemohu uplatnit switch. Jak to vyřešit?
switch (PA_ptr+C) to je ta samá hláška
TIP: Přetáhni ikonu na hlavní panel pro připnutí webu

Grafoman

Nahlásit jako SPAM
IP: 78.45.87.–
Věrný člen
Zjistit počet nových příspěvků
































