Posts by Igor Alvim • 5 points
3 posts
-
0
votes1
answer60
viewsQ: Ordered List Logic Error (C++)
In the discipline of data structure, the teacher gave us a cpp code with an ordered list and asked us to implement the methods of binary search, sequential search and insertion, but I’m not able to…
c++asked Igor Alvim 5 -
0
votes1
answer159
viewsQ: How to use template to specialize a function with char *?
I am doing C++ exercises and created a template for the function of returning the highest value. template<class Type> Type maximo (const Type a, const Type b) { if (a > b) { return a; }…
-
0
votes1
answer573
viewsQ: Problem calling base constructor in inherited constructor in C++
I’m taking data structures in college at C++ and this language is really crazy. I am trying to call the parent constructor in the constructor of the heirs classes, but the following error appears:…