mercredi 1 novembre 2017

How can we load a board from TXT file into a two dimensional array(without rowSize and columnSize)

I have a txt file and there is a board like this =>

******** *
* * * *** *
** ** **** 
****** 
** **** *
**
*****

I want to use dynamic array( with using new keyword).But all the example in the internet with row and column size.But I don't know row and columSize.So I must do that without columnSize and rowSize.

Aucun commentaire:

Enregistrer un commentaire