Rehti MMORPG  1.0.0
Rehti MMORPG is a free and open source MMORPG game.
rehtiLib/assets/reader/src/Utils.hpp File Reference
#include <vector>
Include dependency graph for rehtiLib/assets/reader/src/Utils.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void readMatrixFromFile (std::vector< std::vector< std::string >> &matrix, std::string filepath)
 Reads a matrix from a text file. Values should be separated by commas and rows by newlines. More...
 

Function Documentation

◆ readMatrixFromFile()

void readMatrixFromFile ( std::vector< std::vector< std::string >> &  matrix,
std::string  filepath 
)

Reads a matrix from a text file. Values should be separated by commas and rows by newlines.

Parameters
matrixEmpty matrix of strings that will be filled with the matrix information.
filepathPath to the file.
Returns
Nothing, but fills the matrix.
Here is the caller graph for this function: