پاسخ : c++ گروهی
سلام...کسیآ تاحالا برنامهٔ communication با "serial port" رو نوشته؟
سلام...کسیآ تاحالا برنامهٔ communication با "serial port" رو نوشته؟
unsigned char _2d_arr[2][4]={{70,71,72,73},{80,81,82,83}}; unsigned char *ptr=_2d_arr[0];
int _tmain(int argc, _TCHAR* argv[]) { int ary[3][4]; for ( int i=0 ; i <= 2 ; i++) for(int j=0 ; j<= 3 ; j++) ary[i][j] = i; for (int n=0 ; n<= 11 ; n++)// dar inja kolle araye zakhire shode dar ary ro mibinid. //age bishtar az 11 ham bezarid be maqadire khareje araye ham dastrasi darid. cout << ary[0][n] << endl; system("pause"); return 0; }
دیدگاه