1
0
forked from alex-eg/sex

update example and Readme.org

This commit is contained in:
2025-07-31 17:49:21 +03:00
parent bc54ae6a05
commit 3e535c9517
2 changed files with 20 additions and 45 deletions

View File

@@ -1,5 +1,9 @@
(include stdio.h)
(pub fn int main ()
(pub fn int main ((int argc) (char **argv))
(puts "Hello from Sex!")
(var (array char 512) name)
(puts "What is your name?")
(scanf "%s" (cast char* &name))
(printf "Hello, %s!\n" name)
0)