I feel like SUCH a n00b for asking this, I have been strolling the webs. But I can't find a way to convert some simple c++ (or C) to convert to nim.
Do I need to include c2nim in a nim file? I did not find an executable which could convert my code, it is a nimble package. But from using the manual (https://github.com/nim-lang/c2nim/blob/master/doc/c2nim.rst) it also was not clear how to invoke c2nim.
How do people figure this in when encountering such libraries?
It is a terminal command line executable that you run from terminal, passing the C/C++ file as argument.
You can compile it from source using Nim compiler, if you do not have it already.
It is NOT a fully automated translation, so it may need manual tweaking.