The result is that nothing happens to the list.
Type: Posts; User: Tynnhammar
The result is that nothing happens to the list.
void CContainer::Sort()
{
// Sorts all the items by title name within the vector, with the help of the bubblesort algorithm
for(iter = Container.begin(); iter < Container.end(); ++iter)
{...
I see, but it doesn't seem to sort at all :/
Thanks, PJYelton, that -> mistake was a silly one :P, however I don't understand what you mean by that iter2 should start on 1? :confused:
I know their is a sort algorithm, but I'd like to implement one of my own, mostly for learning purposes.
Hi guys, I'm trying to learn more about the power of using vectors as containers, however I've run into some problems when trying to create a bubble sort algorithm.
I think I'm on the right track,...
Umm.. Slightly offTopic, but aren't you suppose to use typename instead of class?
Look up FMOD?
Don't take that so hard! I think it's awesome what you did, I've never done anything cool with Opengl :).
Well, it was just an example, but I think I had my question answered anyway, thanks! :)
Thanks alot! Very interesting and long post indeed!
However, I was thinking more like if I was doing right when my programs goes about like this:
int main()
{
intro();
...
Greetings!
I have done some basic PHP and C++ programming, like a guestbook and a small text adventure.
However, I felt when I did the text adventure that I programmed wrong and old. The...
Hello!
Yesterday I downloaded and installed Blackbox, and everything works smooth except that everything isn't transformed.
Take a look at this picture:
...
It's not against any rules that you can't play at schooltime so stop drabbling about that, because you don't anything about my schools rules. But I can see your point , so :).
Thanks for the...
Yes, thanks for some nice replys, and before you start whine about the computers is the schools and etc, it's my very own laptop.
I think I'll look further into this tunneling thing :).
Oh and...
I have a problem, at my school during some hours they are closing all ports except 80 and some more. And this makes when we have free time etc I can't play my dear game World Of Warcraft.
So my...
Well how do you do your own screensavers, without using some awful software that you just load images into. I have a couple of exe's I want create screensavers from.
Is this possible? If so, how?
Well when I was like 14 I was dumb as *something*, because I really tried learn something and didn't go especially well. Now however I'm learning at the speed of a lightning! (Almost.)
By the way,...
I had the ability to see it, but I had to sleep :(.
#pragma comment (lib, "filename.lib")
:) That's how I do it!
I'll suggest that you firstly learn C++, because there is so much too it I don't think a double course would be enough.
2D programming eh? I heard a lot about Allegro, you better check that out...
Vicious: Right on the spot! When I first looked at the OpenGL tutorials on Nehe I was like, Holy *badword*! 400 lines of code! I mean the biggest program I ever made has been like 200 lines max :P.
Thank you all for being so helpful :).
And do not forget that we have more section than this, and they tend to get more advanced there :).
I'll keep that in mind, thanks Vicious.:)