library: cpp/std; cpp/inih demo: inihreader
This commit is contained in:
12
cpp/std/_demo/cpphello/cppstr.go
Normal file
12
cpp/std/_demo/cpphello/cppstr.go
Normal file
@@ -0,0 +1,12 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"github.com/goplus/llgo/c"
|
||||
"github.com/goplus/llgo/cpp/std"
|
||||
)
|
||||
|
||||
func main() {
|
||||
s := std.Str("Hello world\n")
|
||||
c.Printf(s.CStr())
|
||||
print(s.Str(), s.Size(), "\n")
|
||||
}
|
||||
Reference in New Issue
Block a user