Sololearn: Learn to Code
New course! Every coder should learn Generative AI!
Try a free lesson
0
Hello I read your code. I see that your two structures billietype and patiencietype depends each for the other. you need to create one base and then use it for the another one, but no use the next one on the first one. You got it? I read some where for to do the dependence relation that your code shows using an file .h, and some things else. On that way I dont know how you would have to do the implementation but you can define your class patiencietype before the billietype and if is necesary repeat some data members and funtion members. Have a good day. Sory for bad english.
24th Nov 2020, 10:50 PM
MICAEL MIRANDA
MICAEL MIRANDA - avatar