-1

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
Teja
  • 1,279
  • 3
  • 13
  • 19

1 Answers1

2

You can try using listings package for proper source code formating, or you can just use \verbatim environment.