What do you want to save?
Add Code snippet
New code examples
-
Other 2022-01-22 22:06:11
go gin unit test
// main.go package main import ( "net/http" "github.com/gin-gonic/gin" ) func HelloWorld(c *gin.Context) { c.JSON(http.StatusOK, gin.H{ "hello": "world", }) } func main() { router := gin.Default() router... Add solution -
-
-
C++ 2021-11-13 21:42:16
how to interface c++ in haxe
Im not exactly sure how this works but it do.... Haxe file: @:include("helloWorld.cpp") @:native("cppClass") extern class CppClass { @:native("cppClass::helloFromCpp") static public function helloFromCpp():Void; }... Add solution -
C 2021-10-27 23:42:05
how to compile c code to a .so
gcc -shared -o libhello.so -fPIC hello.c Add solution -
Other 2021-10-05 23:50:06
compile c program code
gcc -shared -o libhello.so -fPIC hello.c Add solution -
Java 2021-10-03 05:06:02
how to run java program in linux server
javac HelloWorld.java java HelloWorld Add solution