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
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.
|
|||
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
|
You can try using |
|||||||||||||
|
listingsfor example. You know this package? If not, please trytexdoc listingsin your command line. – Kurt Sep 16 '12 at 20:16listingspackage to do this. (I'd recommend thelstlistingspackage.) – Marc van Dongen Sep 16 '12 at 20:20