inline and member initializers
- by Alexander
When should I inline a member function and when should I use member initializers?
My code is below.. I would like to modify it so I could make use some inline when appropriate and member initializers:
#include "Books.h"
Book::Book(){
nm = (char*)"";
thck = 0;
wght = 0;
}
Book::Book(const char *name, int thickness, int weight){
nm = …