Hi,
I have a problem when using CCS. Here is a simple for loop as a part of my project.
for(int i = 0; i <= index/2;i++)
{
temp = buffer[i];
buffer[i] = buffer[index-i];
buffer[index-i] = temp;
}
But when I build the project, there are two error appear. Both errors were pointed to the first line.
1. expected an expression
2. identifier "i" is undefined
Why is that happening?
Thanks.
Shan