void PrintTable const wchar_t message double double wchar_t aWchar int

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
void PrintTable(const wchar_t *message, double **x, double *a, wchar_t aWchar, int aSize, double *b, wchar_t bWchar, int bSize){
wprintf(message);
for(int i = 0; i < bSize; i++){
wprintf(L"\t%c[%3.f]", bWchar, b[i]);
}
wprintf(L"\n");
for(int i = 0; i < aSize; i++){
wprintf(L"%c[%3.f]", aWchar, a[i]);
for(int j = 0; j < bSize; j++){
wprintf(L"\t%3.f", x[i][j]);
}
wprintf(L"\n");
}
wprintf(L"\n");
}