I don't know what Joe editor is, I would assume any basic text editor on Windows can copy into the OS's global clipboard.
To make it look right on a word document, I would change the font to a monospaced one, such as Courier.
There's also this fancy website: tohtml.com/cpp
You can select C++ as the style type for syntax highlighting. I remember using it for some labs. Hope that link can solve your problem.
Thank you. Joe is a Linux editor. I know I am going to smack myself on the head once reminded, but I cannot remember how to copy code from the Joe Linux editor and paste into a Word doc. I'm only a second semester programming student...