2D array question

John SCHWABACHER johnsc at microsoft.UUCP
Wed Jul 4 10:36:26 AEST 1990


In article <6311 at wolfen.cc.uow.oz> bernt at wolfen.cc.uow.oz (Bernt Ribbum) writes:
| 
| However, (*(array+x+y*ydim)) is a structure, so 
| 
| 	(*(array+x+y*ydim)).a1 = value;
| 
| may be used, or better still:
| 
| 	(array+x+y*ydim)->a1 = value;
| 

Or even better, 

	(array+x+y*xdim)->a1 = value;
		   ^



More information about the Comp.lang.c mailing list