Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- bool AddElement(std::string(&tablica)[rows][columns], int & rowCount)
- {
- if (rowCount < rows)
- {
- for (int i = 0; i < columns; i++)
- {
- ShowInputData(i);
- getline(std::cin, tablica[rowCount][i]);
- //std::cin.clear();
- std::cin.ignore(1, '\n');
- }
- rowCount++;
- return true;
- }
- return false;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement