Library Application in C++