Oct 31, 2004 #1 Errornix Programmer Oct 29, 2004 3 US What is slicing? I know it has something to do with polymorphism, but that's all I know.
Oct 31, 2004 #2 xwb Programmer Jul 11, 2002 6,828 GB Just look it up on the internet. http://www.ssw.uni-linz.ac.at/General/Staff/CS/Research/Publications/Ste99a.html gives quite a good explanation. However, there is more than one meaning of slicing in computing terminology. Some languages (Algol68, Fortran) have syntax similar to x[10..20] = y[20..30]; In C/C++ it would be coded as memcpy (&x[10], &y[20], 10); This too is called slicing. Upvote 0 Downvote
Just look it up on the internet. http://www.ssw.uni-linz.ac.at/General/Staff/CS/Research/Publications/Ste99a.html gives quite a good explanation. However, there is more than one meaning of slicing in computing terminology. Some languages (Algol68, Fortran) have syntax similar to x[10..20] = y[20..30]; In C/C++ it would be coded as memcpy (&x[10], &y[20], 10); This too is called slicing.