(u_u)

Crystalでのいろいろな配列宣言

Categories: [blog]
Tags: [crystal], [array], [pointer]

a = Array.new(n) { |i| i = 0_i64 }
a = Pointer(Int64).malloc(MAX_SIZE)