r/cpp • • 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

40 comments sorted by

View all comments

3

u/growingconcern Mar 18 '12

Why do a lot of these questions on this subreddit seem like "answer my homework question for me"?

3

u/Fabien4 Mar 18 '12

Because "homework cheaters" were kicked out of Stack Overflow?