I've got to write an essay about famous algorithms (mostly sorting and searching) in various programming languages (in my case C++ and Pascal, and maybe but very unlikely Java). Can somebody please recommend me some book that's good for this matter.
Thanks in advance :)
Also, completely off topic :D, I've got question regarding scanf() function in C++. Can somebody explain me how to read multiple items from each line (for example a string and an integer or two space-separated strings) using this function.