This example show that it is possible to create an X86 program in an environment devoid of all other programming languages. That means the X86 cannot call any function belonging to a library belonging to C++ or to C or to any other programming language.
The conclusion is that this is not the way to learn assembly programming. Assembly does not exist in isolation except in the strange case of the Opus Magnus.
This posted example is for casual viewing -- not for serious learnning. Have fun with it.