how to resue functions in c++

hi all
i have function created in
a.cc
and a smilar function created in
b.cc

how do i make this as a single function, something like function resue,
do i need to create libraries

Your question is not clear. Can you give an example ?
i think just copy and paste the function to one file..
Topic archived. No new replies allowed.