Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

how to print out a two dimensional array in c++

    for(int row=0; row<=3; row++){

      for(int col=0; col<=2; col++){
       Serial.print(buff[row][col]);
       delay(200);
      }
       Serial.println();
    }
 
PREVIOUS NEXT
Tagged: #print #dimensional #array
ADD COMMENT
Topic
Name
7+3 =