That really helps a lot, thank you both for your help, i'll try it out now! :)
Type: Posts; User: Flyer
That really helps a lot, thank you both for your help, i'll try it out now! :)
I need to sort an array using quicksort, selection sort, and bubblesort or insertion sort.
Anyone know of some good sites to find the code I need? I've looked at some tutorials, but I'm not sure...
Actually, that's the way I'm supposed to do it, I'm afraid I don't have an option there. But anyway, it DOES compile and it DOES run, I just get some weird numbers along with the output, as I'm...
Hi. I'm trying to run a very simple program, using templates, which can do 2 things: sort an array, or reverse its elements. When I execute it, I get part of the answer, but also some weird numbers...
Yeah, actually I did send him an email, but still no answer and this is due tomorrow :(
We have seen character arrays and strings, but it didn't occur to me to do it that way. Why do you think that...
You mean the input stream itself is the class?
And would
ifstream infile("A:filelab.txt", ios::nocreate);
go in the source file, the main file, or the header?
Hello all. I have a very simple exercise to do. On notepad, I create a file called filelab.txt. The only thing in this file is the sentence "C++ is fun" (without the quotes, just the sentence). So...
Actually, I would recommend for you to avoid Deitel. I have 2 of his books. The examples and explanations there are long, and not clear at all.
I have "Teach yourself C++ in 21 days" from SAMS,...
Wow!! that did it!!! Thank you both , I appreciate it! I have no idea where it went, it was there Friday! :) Thnaks again!
I left this prog working just fine on Friday. Now I want to run it, and I get all kinds of weird errors. I really have no clue why, any suggestions? It's really a very simple program, all it has to...