Skip to Main Content
It looks like you're using Internet Explorer 11 or older. This website works best with modern browsers such as the latest versions of Chrome, Firefox, Safari, and Edge. If you continue with this browser, you may see unexpected results.
UC Logo
Libraries | Ask the Libraries

Citing Your Sources

Citing Computer Code in a Report or Paper

To cite either a computer program or piece of source code you will need the following information:

  • Author(s) name (Individual or corporation)
  • Date
  • Title of program/source code
  • Code version
  • Type (e.g. computer program, source code)
  • Web address or publisher (e.g. program publisher, URL)

When writing a report and citing within the text, the following method (based on common IEEE and ACM citiation rules for other types of references) can be used:

<author(s) names> (<date>) <title of program/source code> (<code version>) [<type>]. Web address or publisher.

Smith, J (2011) GraphicsDrawer source code (Version 2.0) [Source code].

Reproduced from "Citing Programming Code", Computer Science & Computer Engineering Resources (Universiry of Arkansas) . See  the same source to learn how to cite computer code in the sources code.

University of Cincinnati Libraries

PO Box 210033 Cincinnati, Ohio 45221-0033

Phone: 513-556-1424

Contact Us | Staff Directory

University of Cincinnati

Alerts | Clery and HEOA Notice | Notice of Non-Discrimination | eAccessibility Concern | Privacy Statement | Copyright Information

© 2021 University of Cincinnati