Skip to content

Commit

Permalink
Add example on how to compile c/c++
Browse files Browse the repository at this point in the history
  • Loading branch information
Arthur Melton committed Aug 1, 2023
1 parent 5abdee9 commit 0384875
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/docs.html.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,12 @@
At the top of your code you can add
<code>#include "./Foxes-C/foxes.h"</code> (this
could be different depending on where your
<code>.h</code> file is).
<code>.h</code> file is). To compile your program
you will need to add the
<code>./Foxes-C/foxes.c"</code> to your compling
and add <code>-lcurl</code> to the end of your
compile arguments. Example:
<code>gcc -o my_program main.c ./Foxes-C/foxes.c -lcurl</code>.
</p>
<p>
To use <code>foxes</code> anywhere in your code you
Expand Down

0 comments on commit 0384875

Please sign in to comment.