move out c/cpp/py

This commit is contained in:
Li Jie
2025-04-03 15:52:18 +08:00
parent 0a8a4eb6a6
commit ed366568b4
777 changed files with 4608 additions and 139122 deletions

View File

@@ -0,0 +1,16 @@
package main
import "github.com/goplus/lib/c"
func main() {
cstrs := c.AllocaCStrs([]string{"a", "b", "c"}, true)
n := 0
for {
cstr := *c.Advance(cstrs, n)
if cstr == nil {
break
}
c.Printf(c.Str("%s\n"), cstr)
n++
}
}