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/2cfe63cb-1f10-45de-81b6-a03041b6f18b%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.