Hi everyone, I am still having a few issues with my program. It definitely runs but it just seems to run poorly. I think my problem lies within the following 3 sections
Quicksort, Partition, and...
Type: Posts; User: silicon
Hi everyone, I am still having a few issues with my program. It definitely runs but it just seems to run poorly. I think my problem lies within the following 3 sections
Quicksort, Partition, and...
Hi everyone I am having a little problem with a heap sort code that I am writing. I have found a few templates that all looked the same but am having problems writing it on my own because I do not...
Hello everyone, my code is finally complete thanks to all of your help. One questions I have is regarding the reslts. I thought that Merge was faster than a heap sort. In my results however (when...
Hi, someone has explained the previous question to me but I still cannot figure out this section of my partners code. I am trying to draw out a picture of this but it does not make any sense.
...
Hello everyone, I just wanted to thank you in advance for all of your help.
My code is now working properly except for one thing. The insertion part feels like it takes about 5 minutes to...
Hello, I've rewritten the code and now see times that look correct. I know understand that the 0's were because the sorting happened under 1 second.
It still doesn't give me the times for...
Hello again everyone. We have completed a project after a few months and a lot of help but for some reason we are still having problems. The project compiles properly without errors but the results...
Thanks for all of your help everyone
Hello, I was hoping that someone could help me with this question. We received an extra credit queston which completely bombed on. That wasnt the problem, the problem was that I still cannot...
Hi everyone, my team and I are trying to write a program together which will generate random numbers and display the time taken for each sorting method. We are trying to combine our 3 programs into...
Hi, I gave deleteLL a return type and tried removing LinkedList from 2 functions but that still did not work. I am still getting the same 3 errors. Im just confused as to why its telling me that...
Hello all, I have almost completed a program that will take 8 numbers from a user and store it in a linked list. Once that is done It will ask for another entry and determine the location of this...
Hi , I had a question (forgive me I'm new). I was able to get my code working properly thanks to all of your help but had a question regarding your code (RobC). How is it that you did not have to...
I got it
Thanks everyone
Hi RobC thanks for all of your help. I understand that part now but how can I take the output and place it into my output file (palindromeoutput.txt) . I thought I had it correctly in my setup but...
Hi, I wanted the program to look at the input file (palindromeinput.txt) and read the data inside (DAD). It is then supposed to compare (stack/queue) and check to see if it is a palindrome. Once...
Hi everyone, I've gotten up to this point but am still having problems. I now have it so that the program is reading from the text file successfully but I cannot get it to successfully write to the...
Hi this is my completed code which was working. I placed the ifstream line in my code which successfully reads my (palindromeinput.txt) but it gives me a strange output so I stopped at that point. ...
Hi everyone, thanks...I've gotten the program to work properly. Once question I have now is...I now am trying to import the words from a text file and have the program read them and then export the...
This is the header file
# include <iostream.h>
# include <stdlib.h>
const int MaxStackSize=50;
Class Stack
Hello everyone, I've recently learned about queues and fully understand that they follow a fifo order as opposed to stacks that follow a filo order. I am now trying to write a program that will...
Sorry about that
--------------------Configuration: Prime12 - Win32 Debug--------------------
Compiling...
Prime12.cpp
C:\Documents and Settings\Steve\Desktop\Mat 373 Class\Prime12.cpp(81) :...
Hello all, thanks for being patient and for all of the tips. I've rewritten most of my code and came up with what's below. I am receiving 3 errors so I am unable to troubleshoot or see if there...
Hello all, I am praying that I am now on the right track. I've read all of your postings (which have been extremely helpful) and read more into stacks over the past few days and modified my code. I...
Hello all, I wanted to say thank you so much for all the help. I've written the code and tried to use other functions that I've learned in past programming. Unfortunately I am still having...