C++

Miscellaneous Forums/General Discussion/C++

bmx file...
Import "string.cpp"

Extern "C"
	Function test$(In$)
EndExtern

Print test("hello")
End


cpp file...
#include <string>
using namespace std;

extern "C" {

	string test(string input) {
		return input;
	}

}