Attach weapon using C++

Im still not getting any mesh, in the scene. Here is the code:

http://pastebin.com/EgJ0JMRu