python-plus-plus/examples/person.ppp

11 lines
161 B
Plaintext
Raw Normal View History

2024-11-21 10:10:36 +11:00
struct Person {
age: int,
name: str
}
my_person: Person = Person.{
age=50,
name="Hello, World"
};
print(int_to_str(my_person.age)+" "+my_person.name+"\n");