Answer the question
In order to leave comments, you need to log in
How to use c or c++ code in golang?
Please tell me a simple example of using a function from c \ c++ in a golang program.
For example, in c \ c ++ there will be a function sayHello returning the value - "Hi, Roman, this is the value from the function." This is the text I want to get in a golang program.
How to do it? I read - you still need to install the gcc compiler. Can you please give examples.
Thanks
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question