• Cursos
  • Compilador de Código
  • Debatir
  • Precios
  • Teams
Menu
+ 1

Clone object class c++?

I have a class with two private elements, how can i create a method function clone() to clone the objects?

c++methodsfunctionsclassesobjects
2nd Dec 2019, 8:16 PM
Antonio
1 Respuesta
0
https://stackoverflow.com/questions/12902751/how-to-clone-object-in-c-or-is-there-another-solution
3rd Dec 2019, 4:27 AM
minirkk
minirkk - avatar

¿Tienes a menudo preguntas como esta?

Aprende gratis de forma más eficaz

  • Introducción a Python

    7,1M de estudiantes

  • Introducción a Java

    4,7M de estudiantes

  • Introducción a C

    1,5M de estudiantes

  • Introducción a HTML

    7,5M de estudiantes

Ver todos los cursos
En tendencia hoy
debate which is better
5 Votes
Cource
1 Votes
Im confused was that seriously it
0 Votes
why is my AI in spanish
0 Votes
Which one should I start with to learn python. The developer path or both seperate beginner and intermediate python?
0 Votes
Is anyone else having this issue?
2 Votes
Arduino
2 Votes
Debugging issue?
0 Votes
Text editor
0 Votes
how to view only application
0 Votes