skip to Main Content

Using Go in C++ – Debian

linux Debian Buster go version go1.11.6 linux/amd64 gcc version 8.3.0 (Debian 8.3.0-6) libmylib.go package main import "C" import ( "fmt" ) func say(text string) { fmt.Println(text) } func main(){} mylib.h #ifndef MY_LIB_H #define MY_LIB_H #include <string> void say(std::string text); #endif…

VIEW QUESTION
Back To Top
Search