Oi galera!Sou nova aqui e meio inexperiente em c/c++.Bom,tenho esse projeto pra fazer: http://docentes.puc-campinas.edu.br/ceatec...hoFinal2008.htm e depois de ler artigos de lógica e tal,a única coisa que consegui fazer foi isso:   #include <iostream.h> #include <windows.h>	   void gotoxy(int lin, int col) {     HANDLE hOut;     COORD Position;     hOut = GetStdHandle(STD_OUTPUT_HANDLE);     Position.X = col;      Position.Y = lin;      SetConsoleCursorPosition(hOut,Position); } void desenha_caixa() { 	cout<<flush; 	gotoxy(0,0); 	cout<<"Quebra-cabeca"<<flush     gotoxy(4,2); 	cout<<"\332\304\304\304\302\304\304\304\302\304\304\304\277"<<flush; 	gotoxy(5,2); 	cout<<"\263   \263\   \263   \263"<<flush; 	gotoxy(6,2); 	cout<<"\303\304\304\304\305\304\304\304\305\304\304\304\264"<<flush; 	gotoxy(7,2); 	cout<<"\263\   \263\   \263\   \263"<<flush; 	gotoxy(8,2); 	cout<<"\303\304\304\304\305\304\304\304\305\304\304\304\264"<<flush; 	gotoxy(9,2); 	cout<<"\263\   \263\   \263\   \263"<<flush; 	gotoxy(10,2); 	cout<<"\300\304\304\304\301\304\304\304\301\304\304\304\331"<<flush;    }  void coloca_val(char mat[][3]) { 	int i,j,c,l;  for ( i=1,l=5;i<4;i++,l+=2)     for (j=1,c=4;j<4;j++,c+=4) gotoxy (l,c); printf ("%c",mat[j]); }   int verifica (char tentativa[][3],char objetivo[][3]) { 	int i,j; for (i=1;i<=3;i++) for (j=1;j<=3;j++) if (tentativa[j]!=objetivo[j]) return 0;  else  return 1; } 	 void move (char tenta[][3]) {    char valor;      int i,j,c,l;     cout<<"Valor a ser movido:"<<flush; 	valor= getch(); 	       /*if valor=='1' 		 num=valor-49 		  else if valor=='2' 		 num=valor-50  else if valor=='3' 		 num=valor-51 else if valor=='4' 		 num=valor-52  else if valor=='5' 		 num=valor-53 else if valor=='6' 		 num=valor-54 	 else if valor=='7' 		 num=valor-55  else if valor=='8' 		 num=valor-56;  	  for ( i=1,l=5;i<4;i++,l+=2)     for (j=1,c=4;j<4;j++,c+=4)     if tenta[i-1][j-1]==0||tenta[i-3][j-3]==0||tenta[i+1][j+1]==0||tenta[i+3][j+3]==0*/ 		 } 		  void main()  { 	char certa[3][3]= 	{ 		{1,2,3}, 		{4,5,6}, 		{7,8, } 	};  	char err[3][3]= 	{ 		{4,1,3}, 		{7,2,5}, 		{ ,8,6} 	}; printf ("Para sair digite S");  		{ 	verifica (err,certa); 	while 0  	{ 	desenha_caixa();     coloca_val(err); 	move(err); } } 			   }  uma vergonha,mas fazer o q?!Tem como alguém me dar umqa ajudinha??bj