for (i=1; i<length(formula); i++)
{
strcpy(numString[j], portionofinput-1);
j++;
i++;
lastOp = i;
}
strcpy(numString[j], lastpartofinput);
how to do this instead of using strcpy?
how to get last part of input?
how to get portion of input?
input is: 1+1
should print: 2
{
strcpy(numString[j], portionofinput-1);
j++;
i++;
lastOp = i;
}
strcpy(numString[j], lastpartofinput);
how to do this instead of using strcpy?
how to get last part of input?
how to get portion of input?
input is: 1+1
should print: 2