Skip to content

Instantly share code, notes, and snippets.

Created May 2, 2013 13:06
Show Gist options
  • Save anonymous/5502044 to your computer and use it in GitHub Desktop.
Save anonymous/5502044 to your computer and use it in GitHub Desktop.
Code to add references/bibliography in LaTeX
\addcontentsline{toc}{section}{References}
\bibliographystyle{plain}
\begin{thebibliography}{1}
\bibitem{notes} {\em ``How to lock files in C/C++ using fopen"} - http://stackoverflow.com/questions/7573282/ 2011: StackOverf low, StackExchange.
\bibitem{notes} P. Prinz, T. Crawford {\em ``C in a Nutshell"} 2008: O'Reilly Media Inc.
\bibitem{notes} R. Lischner {\em ``C++ in a Nutshell"} 2009: O'Reilly Media Inc.
\end{thebibliography}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment