Всем привет😀 . Хотел спросить В чем ошибка? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 1

Всем привет😀 . Хотел спросить В чем ошибка?

#include <iostream> using namespace std; int ** Create( size_t n, size_t m ) { int ** M = new int * [n]; for ( size_t i = 0; i < n; ++i ) { M[i] = new int [m]; } void Process( int ** M, size_t n ) { if(n<5) return; int *p=M[3]; M[3]=M[4]; M[4]=p; } int main() { size_t n, m; cout « "Введите количество строк матрицы: "; cin » n; cout « "Введите количество столбцов матрицы: "; cin » m; for(size_t i=0;i<n;i++) cout« S[i] «' '; cout«endl; Print(A,n,m); return 0; }

2nd Jun 2020, 2:09 PM
Дадаж
2 Answers
+ 3
I can't understand that language. :( but program is reverse no
2nd Jun 2020, 3:13 PM
Pritee
0
Пожалуйста, запиши этот код в песочнице и дай сюда ссылку
2nd Jun 2020, 3:00 PM
Kuba Siekierzyński
Kuba Siekierzyński - avatar