I have created a class with few public and private functions to create an sqlite database and related operations.consists of 2 private member variables A & B.
Public functions: to check whether database exists ,if exists open and read data A & B else call the 3 functions from private. 2nd function is to generate a 26 char array and store in 25 digit no. Using srand() return it - getA(). 3rd function is to take sha256 **hash concating 2nd function + time-stamp - **getB().
Private functions: to create an sqlite database,to initialize a basic table structure (char A|char B|blob C).3rd function is to generate details to store to database and also to A & B. Both getA() and getB() is called from this function to generate details.
i need help in defining the public functions and also the private function to generate details.