Possible Duplicate:
Adding C++ code in Latex
I am trying to upload the code into my latex document.Please let me know how can I do that.My code is as below.
\appendix
%My C code goes here
Possible Duplicate:
Adding C++ code in Latex
I am trying to upload the code into my latex document.Please let me know how can I do that.My code is as below.
\appendix
%My C code goes here
You can try using listings package for proper source code formating, or you can just use \verbatim environment.