library: cpp/std; cpp/inih demo: inihreader

This commit is contained in:
xushiwei
2024-07-13 17:51:06 +08:00
parent dbecf33924
commit 80d80ad8aa
14 changed files with 363 additions and 129 deletions

View 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")
}