Abstract functions could have body! | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
0

Abstract functions could have body!

31st Dec 2017, 8:34 PM
đöđ╝đŞĐéĐÇđŞđ╣ đžđÁđ┐đÁđ╗Đî
đöđ╝đŞĐéĐÇđŞđ╣ đžđÁđ┐đÁđ╗Đî - avatar
2 Antworten
+ 1
What do you want to say with this?
31st Dec 2017, 10:22 PM
Jonas Schr├Âter
Jonas Schr├Âter - avatar
0
it is related to c++ question. there are sad statement that abstract functions does not have body. but it could have virtual void f() { printf("xxx");} =0;
1st Jan 2018, 1:01 PM
đöđ╝đŞĐéĐÇđŞđ╣ đžđÁđ┐đÁđ╗Đî
đöđ╝đŞĐéĐÇđŞđ╣ đžđÁđ┐đÁđ╗Đî - avatar