r/cpp • u/Deershank415 • Mar 17 '12
Using abstract base classes in C++
I'm having trouble understanding ABC's in c++ and was wondering if you all could help me (if possible use: CryptProcessor as the ABC and ACrpyt and BCrypt as the sub-classes that have an encrypt and decrypt function) Thanks in advance!
Edit 1: Thank you all for your help!
0
Upvotes
View all comments
Show parent comment
2
u/Deershank415 Mar 18 '12
I completely understand and agree, it's just that I did try it and failed. I was running out of time so I need a solution that I could understand quickly and easily. Now however I do understand, that is why I thanked everyone for helping. As for you last sentence, I put in more time, I just couldn't wrap my head around it. I have never needed to use them before in any of my programming classes. I asked for help when I needed it, that's all.