Could you post your non-working peice of code? it should help to understand what's the problem.
On Monday, 10 June 2019 07:19:02 UTC+2, shine sun wrote: > > Firstly, I try to input N and M from keyboard, creating a two-dimensional > string array (var nums [N][M]string). Then, for i := 0; i < N; i++ , how to > use fmt.Scanf to input M strings for each nums[i]? Finally, it can > successfully output the two-dimensional array nums. Thank you for helping! > -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/b68188a4-3be1-48a3-b8d3-45678dc55c43%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.