No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Re:
Here is the one that I've tried and it works. //It will terminate the loop but it's NOT an Auto Infinite Loop like the you had. //Description: //This program asks the user to terminate an infinite loop //with a sentinel value of any kind. # include <iostream> # include <cmath> … |
|
I am trying to create a list of nodes and then put numbers in them.. I can do that. But I need help trying to sort the nodes. Here is my program. Thank you, Brian [code]int null = -1; typedef struct Node { int val; Node next; Node(int v, Node … |
|
I have this pathfinder and I got it to work using c++... now i am trying to convert it to OpenGL and it is not working. I wrote code to use a mouse to plot the start and destination points. but it won't work properly. I have attatched the file … |
|
I have this code and I am trying to input numbers so I can sort them. Could someone help? Code: class ListSortExample { static class Node { int val; Node next; Node(int v, Node t) { val = v; next = t; } } static Node create() { Node a … |