Hello everyone,
I am a C++ teacher and I need a website or source for class assignments. Right now I need some assignments for Copy and Move constructors. Thank you for your help in advance
> Right now I need some assignments for Copy and Move constructors.
Chapter 13 Copy Control in 'C++ Primer (Fifth Edition)' by Lippman, Lajoie and Moo has material and several accompanying student exercises; you would be able to develop suitable class assignments based on these examples.
Chapter 17. Construction, Cleanup, Copy, and Move in 'The C++ Programming Language (Fourth Edition)' by Stroustrup has an example of a simple two-dimensional Matrix class.