0

separate Files for classes 3/4 - invalid example

The Reader is asked to create a function test for a class demo without a return type. this is possible only for the constructor but not for demo:: test.

4th Oct 2016, 3:58 PM
Jan Christopher
Jan Christopher - avatar
2 ответов
0
If you declare a funtion prototype in the class, you don't have to declare the data type later on, for implemention.
5th Oct 2016, 2:19 PM
NJK
NJK - avatar
5th Oct 2016, 3:07 PM
Jan Christopher
Jan Christopher - avatar