Using libraries
Adding libraries to your project
If you haven't created a project yet, please follow this tutorial.
Installing libraries
The library installation process is very simple. Open a terminal in the project's root directory and run this command:
You will see a banner similair to this one:
This is the package details for the CaffeineCnec standard library.
You can install it and add it to your project by running this command:
Using installed library
Congrats on installing the CaffeineC standard library! But for it to be useful, we have to use it in our program. Open the main.cffc
file from the example project, and make these changes:
With this line you have imported the io.cffc
file from the vyPal/cffc-std
library. This file includes many other functions besides the printf
function
Last updated