x is public array and it says there is something wrong with the line 
switch (bb)
especially the bb part.acctually i want to read every three letter of the string ss!!!!!Thanks a lot!!1

解决方案 »

  1.   

    please. sorry that i do not have the access to chinese.
      

  2.   

    why you using switch("bb")
    and notice the message is switch(bb)?
      

  3.   

    you may use switch like this switch(bb)
      

  4.   

    in the program it is switch(bb),sorry , at first it is a mistype.
      

  5.   

    A sample about switch:1、bb is String type
    switch(bb)
    {
      case "A":
      {
         ...
         break;
      }
     case "B":
      {
         ...
         break;
      }}2、bb is int type
    switch(bb)
    {
      case 0:
      {
         ...
         break;
      }
     case 1:
      {
         ...
         break;
      }
    }
      

  6.   

    switch(bb) is not right.
    this is the problem i meet now!
    //bow