How to make my own block in gnuradio

hi,i have a task of making my own block in gnuradio.i have done how to
create a module from gnurdio website ,but i do not understand how to
edit the code in .cc and .h file.please help me
reply soon