Hello again!
I make a little Segfault while taking acces to to a
pointer array ... . This is my declaration:
If I read data from stdin, like this:Code:struct data { char *pointerarray[10][10][10]; }mystruct; char *tmpchar;
and try to put it into the pointerarray, like this:Code:scanf("%s[^\n]",&tmpchar);
I get a Segmentation Fault! Why ?Code:strcpy(mystruct.pointerarray[0][0][0], tmpchar);
demonus