• help!why not use Rx as loop counter?
    I have a problem. I write a function in another c source file not main file, in this function nothing do, and I declare the function as extern. In main function I invoke it 200 times. However...
  • help!why not use Rx as loop counter?
    I have a problem. I write a function in another c source file not main file, in this function nothing do, and I declare the function as extern. In main function I invoke it 200 times. However, the compiler...
  • Loop Problem
    Hello All, I have connected 3 LED's to P2_5, P2_6 and P2_7 ports of 89C52 uC and have the following code in Keil. #include <stdio.h> #include <at89x52.h> void nothing(); void main() { int i;...
  • For loop
    can i use the for loop like this in accessing the 2-d array. for(u=0;u<=4;u++) { for(v=v1;;) { arr[u][v] += 1; } } bcos in the second for loop i want to do the increment in some other...
  • Strange problem with loop
    Hi. Ive been programing for nearly five months now so I am not a noob but I cannot understand this; for ( variable = 1 ; variable < 100 ; variable += 1 ) { // some code if ( foofar ) continue...