Thread zweidimensionale dynamische arrays: theorie + verständniss (12 answers)
Opened by Cooly at 2003-11-21 19:21

esskar
 2003-11-24 02:51
#11578 #11578
User since
2003-08-04
7321 Artikel
ModeratorIn

user image
@kabel: nein, kenn ich nicht!
habe % nach & geändert... war ein vertipper... kann schon passieren, wenn man es "on the fly" tippt...

noch zu c:

Code: (dl )
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
char 1darray0[16];
char 1darray1[16];
char 1darray2[16];
char 1darray3[16];

char* 2darrayptr[4];

2darrayptr[0] = 1darray0;
2darrayptr[1] = 1darray1;
2darrayptr[2] = 1darray2;
2darrayptr[3] = 1darray3;


void work(char** 2darrayptr)
{
// ...
}

work(2darrayptr);

View full thread zweidimensionale dynamische arrays: theorie + verständniss