lundi 29 octobre 2018

Inputting string into array in C++11

How do you convert a string into a 2d array? For example, I want an array with row named a to d and column named 1 to 4 and I ask the user for an input of let's say b3 and so on. How do I do this? What function should I use? Getline?

Aucun commentaire:

Enregistrer un commentaire