Please learn to use code tags, they make reading and commenting on source code MUCH easier. How to use code tags: http://www.cplusplus.com/articles/jEywvCM9/ There are other tags available. How to use tags: http://www.cplusplus.com/articles/z13hAqkS/ HINT: you can edit your post and add code tags. Some formatting & indentation would not hurt either |
E0098 an array may not have elements of this type (line 20) |
void skaitymas(int& n, stac s[], int piesinys[][])
int piesinys[100][100]
at line 43 in main your function declaration should bevoid skaitymas(int& n, stac s[], int piesinys[][100])
.void skaitymas(int& n, stac s[], int piesinys[100][100])
.