I'm Planning to buy a good book as i'm still beginner to C++.
I've been searching and asking my doctors and i found Walter Savitch is the best one for me. However, he has two books and i am really confused which one should i buy and what's the difference between them
You should go for a c++ book that covers the most recent versions of c++ (c++{11, 14, 17}) which is most likely what everyone is getting familiar with now.
Aside from that, my opinion is very biased towards the problem solving book because I think the best way to get to know a language is to not only read about the program, but to program in it as well. And what better way to program in a new language than to solve some interesting problems. The more you solve problems using c++, the more you are able to think in c++ and the easier learning c++ gets