No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Hello, I saved a project, but I couldn't open it in the design window.[Design] When I try to open it , it just shows me codes... |
|
Hello, I want to write a function which takes two linked list and check smaller The function CheckSmaller should return 1 if num1 points to a linked list which represents a smaller number than the number pointed to by num2 linked list. Otherwise, it returns -1. If both linked list … |
|
Hello, Can anyone make sure the two functions are correct? First, this is function should return true if all of the nodes are positive.otherwise, false. [ICODE]bool AllPositive(Node * h); { node* current= head; while (current !=NULL) { if (current < 0) { return false; } else { return true; } … |