Advertisement
Mlack

Untitled

May 5th, 2014
240
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.23 KB | None | 0 0
  1. int main() {
  2. int n, k;
  3. cin >> n; // кол-во строк
  4. cin >> k; // размер каждой строки
  5. char **mstring = new *int[n];
  6. for (int i = 0; i < n; ++i)
  7.     *(mstring+i) = new int[k];
  8. ///....бла-бла-бла
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement