that is my code
the program is
the user will input number of test cases\the number of raws in matrix n=2,3,4,5,6,7,8..........100/then he write a matrix/then my program check his matrix if it symmetric or not/

#include <iostream>
#include <algorithm>
using namespace std;
bool Matrix (int **arr,int i, int j ,int x)
{
for (int i = 0; i < x; i++)
{
arr[i] = new int[x];
for (int j = 0; j < x; j++)
{
arr[j] = new int[x];
cin >> arr[i][j];
for (int h = 0; h < x; h++)
{
if (arr[i][j] == arr[j][i])return true;
}
return false;
}
int main()
{
int x, t;
cin >> t;
for (int k = 0; k <= t; k++)
{
cout << "N =";
cin >> x;
int **arr;
arr = new int *[x];
for (int i = 0; i < x; i++)
{
arr[i] = new int[x];
for (int j = 0; j < x; j++)
{
arr[j] = new int[x];
cin >> arr[i][j];
if (Matrix(arr, i, j, x))
cout << "Symmetric";
else{ cout << "un Symmetric"; }
}
}
return 0;
}

I want to draw a triangle using mouse events like mousePressed(), mouseReleased() and mouseDragged(). But triangle did not show until mouse release. Please tell me what i am ...

Please I have an autocomplete textbox which fetches value from a tabe in the database. But after i choose the name i want to get the id of the value ...

what i have done is copied answer in label and now matching the radiobutton option with it so far so good but i dont know how to uncheck radio button ...