No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
4 Posted Topics
Re: Try this: int main (void){ int test = 0; while (test < 10){ cout<<"Hello \n"; test++; }//end of while return 0; } This code will only do 9 times. If you want to do 10 just replace while (test < 10) with while (test <= 10). | |
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 … |
The End.