Before going through this tutorial please make sure that you have gone through the Contributing markdown file.
- Inside the contributors.hpp file make a function of your name if your name is Naruto Uzumaki the function name should be "narutouzumaki". Paste the below code in contributors.hpp and replace narutouzumaki with your name.
void narutouzumaki(string arr[], int size)
{
string name = "narutouzumaki";
arr[size - 1] = name;
}
- Make the function call of the function you made above in the main function and increment the size. Copy and paste the code below in main function of file tries.cpp.
size++;
narutouzumaki(trie_names,size);