What is the equivalent of GEMS of RUBY in C++? [closed] - c++

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 4 years ago.
Improve this question
I feel that header files which i include in c++ acts as equivalents of GEMS in ruby but i am not sure.A brief description of gems along the lines of c++ will be helpful

In languages such as Ruby and Java you merely 'require' or similar a package (which is called a gem in Ruby). In C++, you generally need both to #include one or more header files, and also to link with a (dynamic or static) library.

Related

Can I call a C++ function from python and python function from C++ without library file like .so ...? [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 days ago.
Improve this question
I search the Python/C api and I write the my code. But this code shouldn't have .so like library files. İs it possible? If possible please show me to way.
I use CFFI,cython,pybind11 this is have the same way.

Multiple files programming practices in C++? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I am a newbie programmer in C++, I already know that I can use extern keyword to access functions and global variables on the other files in my project but the problem that I faced to, is that how can I use structs, enums placed (available in other files of my project) in my current .cpp file?
T.I.A
You should declare them in a header file, then #include them when you need them. You can still define them in a cpp file.

Scripting languages and interfacing to C APIs [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
What scripting languages can only interface to libraries that implement a C API? Assume we won't be using SWIG or other third-party tool. One example of such a scripting language is Lua.
Pretty much all the major languages have a runtime based in C and require you to directly or indirectly through FFI interface through a C API/ABI, these include but are not limited to the following.
Squirrel
Lua
Ruby
Python
JavaScript

C++ in powershell [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 9 years ago.
Improve this question
I am in an environment which has no C++ compiler software installed, and I was wondering if it was possible for me to compile C++ code without having to install anything.
From within PS run help add-type -full and look for the F# example (example 7 on my system). Assuming you have a C++ compiler that follows the "CodeDom" model, you can mirror the F# example.
Of the two alternatives you gave, I'm going to go with "blindly obvious"

Creating a python library in C or C++ [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
Can C or C++ be used to program a library in python? I know that python can be used to write a library but I am wondering if C or C++ can be used.
Definitely. There are lots of high performance libraries written in C (simplejson being a notable and fairly simple example.)
See http://wiki.python.org/moin/IntegratingPythonWithOtherLanguages