Skip to content

junhuanchen/cgo_cplusplus

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

cgo_cplusplus

Including two examples, which explain how to wrap c++ in c function, and golang call c function with detail impleted in c++. Note, the code under temp are from other source.

Run the program with command: go run main.go , under example* fold.

About

Examples of how to call c++ program in golang

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 58.1%
  • Go 26.4%
  • C 15.5%