nevermind after I try to compile it doesn't work. looks like can't mixed between c++ array with c++ managed array.