Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Slicing

Status
Not open for further replies.

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.
 
Just look it up on the internet. 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.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top