Системне програмне забезпечення, Детальна інформація
Системне програмне забезпечення
for(n=0;n
{
temp=matrix[m][n];
sprintf(buf,"%d",temp);
dc.TextOut(x,y,buf,strlen(buf));
x+=30;
}
y+=20;
x=40;
}
//here we find out 'Min' element of row that was selected in ListBox
min=matrix[index][0];
for(m=1;m
if(min>matrix[index][m])
min=matrix[index][m];
//here we find out 'Max' element of row that was selected in ListBox
max=matrix[index][0];
for(m=1;m
if(max
max=matrix[index][m];
average=(max+min)/2;
dc.TextOut(60,140,"--This is the number of matrix row having been selected before");
dc.TextOut(50,140,listStr);
dc.TextOut(50,160,"Min");
sprintf(t,"%d",min);
dc.TextOut(90,160,t,strlen(t));
{
temp=matrix[m][n];
sprintf(buf,"%d",temp);
dc.TextOut(x,y,buf,strlen(buf));
x+=30;
}
y+=20;
x=40;
}
//here we find out 'Min' element of row that was selected in ListBox
min=matrix[index][0];
for(m=1;m
if(min>matrix[index][m])
min=matrix[index][m];
//here we find out 'Max' element of row that was selected in ListBox
max=matrix[index][0];
for(m=1;m
if(max
max=matrix[index][m];
average=(max+min)/2;
dc.TextOut(60,140,"--This is the number of matrix row having been selected before");
dc.TextOut(50,140,listStr);
dc.TextOut(50,160,"Min");
sprintf(t,"%d",min);
dc.TextOut(90,160,t,strlen(t));
The online video editor trusted by teams to make professional video in
minutes
© Referats, Inc · All rights reserved 2021