ok, thanks; ill keep trying to make allegro work, and then if i cant get it to work, i will fall back to the sdl
ok, thanks; ill keep trying to make allegro work, and then if i cant get it to work, i will fall back to the sdl
"Build a man a fire, and he'll be warm for a day. Set a man on fire, and he'll be warm for the rest of his life."
"They say a little knowledge is a dangerous thing, but it's not one half so bad as a lot of ignorance."
"Light thinks it travels faster than anything but it is wrong. No matter how fast light travels, it finds the darkness has always got there first, and is waiting for it."
[all]- Terry Pratchett
Threading is not difficult per-se, it requires thought and planning however, resources most newbies are unwilling to provide, they want a quick fix.
I have a very basic Windows threading tutorial on my site, starting here. It is written in C++ but if you change the headers and the cout's to printf's it will work. There is nothing language specific about the API's used.
If you are using a *nix system, search for pThreads - most of the ideas are the same.
Wave upon wave of demented avengers march cheerfully out of obscurity unto the dream.
ok, cool, will read, thanks
"Build a man a fire, and he'll be warm for a day. Set a man on fire, and he'll be warm for the rest of his life."
"They say a little knowledge is a dangerous thing, but it's not one half so bad as a lot of ignorance."
"Light thinks it travels faster than anything but it is wrong. No matter how fast light travels, it finds the darkness has always got there first, and is waiting for it."
[all]- Terry Pratchett