add structs
This commit is contained in:
parent
45ae160b76
commit
19fd9daebf
4 changed files with 86 additions and 13 deletions
|
@ -42,7 +42,7 @@ fn main(a int) int {
|
|||
//println(p.x)
|
||||
}
|
||||
|
||||
//struct Point {
|
||||
// x int
|
||||
// y int
|
||||
//}
|
||||
struct Point {
|
||||
x int
|
||||
y int
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue