Forum: C++ Mar 30th, 2008 |
| Replies: 3 Views: 711 Thank you so much! It doesn't freeze anymore! However, it just displays the first...
A B C D E F
and then...
A
and then stops. I am not sure what to do about that. Also, can you recommend... |
Forum: C++ Mar 30th, 2008 |
| Replies: 3 Views: 711 I have a major problem. I need to write a program using linked lists that will display...
A B C D E F
and then...
F E D C B A
without using a tail pointer. When I run the program, it displays... |
Forum: C++ Aug 1st, 2007 |
| Replies: 3 Views: 688 I made some changes but it is still not working...
void sort(int *x, int l)
{
int length = l, old = 0, big;
stack s;
for (int i = 0; i <l; i++)
{
big = x[i];
for (int j = i; j <l;... |
Forum: C++ Aug 1st, 2007 |
| Replies: 3 Views: 688 Interestingly I didn't mention the problem in the main post. The problem is that it does not sort the code. |
Forum: C++ Aug 1st, 2007 |
| Replies: 3 Views: 688 I have this lab from a C++ class that I can't get to work...
Write a function containing a simple sort program that will sort an array of integers by using the stack class (as used in Ex_10). The... |
Forum: C++ Aug 1st, 2007 |
| Replies: 5 Views: 2,736 No, but I would like to limit it to the minimum possible.
Thanks so much again! |
Forum: C++ Aug 1st, 2007 |
| Replies: 5 Views: 2,736 I am sorry, but I am a newbie regarding C++, is there a more simple method to solving this dilemma?
Thanks |
Forum: C++ Aug 1st, 2007 |
| Replies: 5 Views: 2,736 I am trying to figure out how to sort an array with a stack class. The array (pointer) and its length should be passed to the function as parameters so that the original will be sorted. The array... |
Forum: C++ Aug 16th, 2005 |
| Replies: 4 Views: 1,444 Hey, I am taking Java next year. Which is harder, c++ or java? |