How to create string of strings in c++ -
i want have sometnig this:
- first second first second
- third first second first
- thirst asdfasd adfads asdfadf
- sdfsdf sdfasdf afdsdf dffsd
it has 4 rows , 4 columns. each row, column pair string.
a string of strings different table or matrix of strings.
string of strings
let string 1 or more sequential characters, such "first".
string may contain string or commonly known substring. string "theater" contains @ least strings "the", "eat", , "ate".
matrix of strings
matrix of strings contains rows , columns of strings:
"first" "second" "apple" "car" "garden" "table" "pear" "tire" "hero" "cat" "orange" "window" "soil" "food" "mango" "engine" a matrix of strings can declared as:
std::string string_matrix[4][4]; other data structures can used represent matrix of strings, such linked lists.
Comments
Post a Comment