Calling C++ function from Ruby

I have a Ruby on Rails project that needs to integrate C++ with it.

I know that to call a C++ program from Ruby, one can use the Ruby system command to call the C++ make file.

system("./make_filename #{parameter} #{parameter}")

Right now, I want to call one of the functions in the C++ program but I do not know the proper command.


Your task is simple. Describe to me what are the procedures that I need to do. If the procedures are simple, I will pay you "consultation fees" amounting to $30 to $50. If the procedures are complex,I will hire you to do this task for me.


I have had too many service providers pretending to know what to do but eventually failed at their task. Those interested in this, PLEASE MAKE SURE YOU CAN DELIVER THE SOLUTION WITHIN 3 DAYS MAXIMUM. I will not hesitate to cancel the project if you delay your work.

On the other hand, those who are able to deliver fast efficient work will be rewarded accordingly.

Квалификация: Программирование на С, Ruby on Rails

Показать больше calling ruby, call ruby rails, calling rails, ruby rails call, ruby call, what ruby on rails, hire ruby on rails, c with, call function rails, service fees, the c, ruby, cancel service, C==, c/, C++, c$, c#\, c#, c ++

О работодателе:
( 15 отзыв(-а, -ов) ) Singapore, Singapore

ID проекта: #524642

5 фрилансеров(-а) в среднем готовы выполнить эту работу за $156


There are two ways to do this 1- build a ruby extension in c++ 2- or use rubyinline the second solution is my preffered solution as it is simpler. Let me know if you need more info

$250 USD за 3 дней(-я)
(0 отзывов(-а))

please check the PMB

$100 USD за 1 день
(0 отзывов(-а))

It is possible to do with ruby inline gem.

$150 USD за 3 дней(-я)
(0 отзывов(-а))

Hi I can do this for you. Please check PMB.

$250 USD за 10 дней(-я)
(0 отзывов(-а))

I have experience on it.

$30 USD за 1 день
(1 отзыв)