I tried to add a structure into t but there is error. I also try to declare <vector>int tidptr in sttucttid, but there is error too..Code:
int tid; //transaction id list
int *tidptr; // pointer to the transaction
int transnum; //size of each transaction
temp.tid = 1;
temp.transnum = 10;
Can anyone help me? Thanks!