17.03.2010, 14:30
Код:
new tmp1[256], tmp2[256]; tmp1 = strtok(cmdtext, idx);, tmp2 = strtok(cmdtext, idx);
Код:
error 029: invalid expression, assumed zero
new tmp1[256], tmp2[256]; tmp1 = strtok(cmdtext, idx);, tmp2 = strtok(cmdtext, idx);
error 029: invalid expression, assumed zero
new tmp1[256], tmp2[256]; tmp1 = strtok(cmdtext, idx), tmp2 = strtok(cmdtext, idx);
new tmp1[256], tmp2[256]; tmp1 = strtok(cmdtext, idx); tmp2 = strtok(cmdtext, idx);
new tmp1[256], tmp2[256]; tmp1 = strtok(cmdtext, idx); tmp2 = strtok(cmdtext, idx);
Originally Posted by Don Correlli
And try not to use 256 cells when you don't need them.
|
Originally Posted by [AC
Etch ]
well can u tell me what's the diffrence in cells , like what is diffrent between : new string[128] and new string[256]? |
Originally Posted by [AC
Etch ]
Код:
new tmp1[256], tmp2[256]; tmp1 = strtok(cmdtext, idx);, tmp2 = strtok(cmdtext, idx); Код:
error 029: invalid expression, assumed zero |
new tmp1[128], tmp2[128];
tmp1 = strtok(cmdtext, idx);
tmp2 = strtok(cmdtext, idx);