How do i run/execute a ruby script inside a c or c++ program? instead of typing irb
in the Terminal and then ruby rubyfile.rb
to run it.
Normally when i want to run/execute a makefile with command "flash" i would do:
#include <stdlib.h>
system("make flash");
I'm using mac by the way