Category : import

I’m trying to rebuild a project of mine in C++ 20 using modules to reduce dependencies and compilation times. I tried importing some modules, and I’m able to do so, yet Visual Studio marks the importation statements as undefined: "Could not find module file for…". Although it marks it as wrong, I’m still able to ..

Read more

I’m trying to use cython to speed up my code. Since I’m working with an array of strings, I want to use string and vector from c++. But I have problems compiling if I import c libraries. For an example, I tried to implement an example from here: https://cython.readthedocs.io/en/latest/src/tutorial/cython_tutorial.html. So, my code is def primes(unsigned ..

Read more