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
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.