Posts by Fábio Silva • 13 points
3 posts
-
0
votes0
answers56
viewsQ: Method inheritance Generic class comparet
I’m implementing a Node class where I wanted the equals and compareTo method to be inherited from type T, but I’m not getting it. If you make a statement like this public class Node<T extends…
-
0
votes1
answer166
viewsQ: Use of Enum within a Struct
Good evening. I have to do a program where I have to create several elements using the following: typedef enum {ATRIB, ADD, SUB, MUL, IF_I, PRINT, READ, GOTO_I, LABEL} OpKind; typedef enum {EMPTY,…
-
0
votes1
answer36
viewsQ: Add initial value to a linked list
Good night. I am implementing a linked list and wanted to do a function to add to the bottom of the list an element, in that function I wanted to check if the list is empty and if so add the first…
casked Fábio Silva 13