An open API service indexing awesome lists of open source software.

https://github.com/opensourcedoc/go-c-cpp-mix

Using C++ Class in Golang
https://github.com/opensourcedoc/go-c-cpp-mix

cgo cpp golang-examples

Last synced: 12 months ago
JSON representation

Using C++ Class in Golang

Awesome Lists containing this project

README

          

# Using C++ Class in Golang

Golang programs can utilize C functions through cgo. Nevertheless, cgo cannot access C++ code base. To utilize C++ code base in Golang, we have to wrap C++ code with C.

Here is a small sample to show such usage.

## Copyright

Copyright (c) 2019-2020, Michelle Chen. Licensed under Apache 2.0.