I am a engineering student, but I only used MATLAB before. Now I need to learn C++ language. Actually, I am trying to read C++ guide books and make a program by myself. Still, I feel difficult and the most difficult part was debugging.
If there is someone, please put me out of my misery..?
Yeah, all of my CS friends hate debugging. What IDE are you using? If you are a student, you can get a free DreamSpark Microsoft account and get Visual Studio 2013 Professional for free. Visual Studio is great for debugging. If you don't want to go through all that trouble, you could just write a bunch of print lines which print out all the variables' values at different points in the program.
Anyways, cplusplus.com is always here for you if you have specific errors in your programs.
Just write perfect code and you will not have to worry about debugging :P
Start small and write simple programs. This way you should be able to desk check and figure out what is going on. usandfriends is right about assert, but you can also output 'stuff' where you think the bug may be so you can see the values.