Instantly share code, notes, and snippets.

View 15.cpp
#include "pch.h"
#include <stdio.h>
#include <conio.h>
#include <windows.h>
#include <math.h>
int main() {
SetConsoleOutputCP(1251);
SetConsoleCP(1251);
View DoubleArr2_14.cpp
#include "pch.h"
#include <stdio.h>
#include <conio.h>
int** createArr(int n, int m) {
int i, j;
int** arr = new int*[n];
for (i = 0; i < n; i++) {
arr[i] = new int[m];
View cop.cpp
int* manageArr(int n, int m) {
int i, j;
int** arr = new int*[n];
for (i = 0; i < n; i++) {
arr[i] = new int[m];
}
for (i = 0; i < n; i++) {
for (j = 0; j < m; j++) {
printf("Enter arr[%i][%i] = ", i + 1, j + 1);
scanf_s("%i", *(arr + i) + j);
View text.cpp
int max, tmp;
int mi, mj;
for (j = 0; j < m; j++) {
max = arr[0][j];
for (i = 0; i < n; i++) {
if (max < arr[i][j]) {
max = arr[i][j];
mi = i;
mj = j;
}
View DoubleArr10.cpp
#include "pch.h"
#include <iostream>
#include <stdlib.h>
#include <conio.h>
#include <windows.h>
int main()
{
SetConsoleOutputCP(1251);
SetConsoleCP(1251);
View DoubleArr.cpp
#include "pch.h"
#include <iostream>
#include <stdlib.h>
#include <conio.h>
#include <windows.h>
int main()
{
SetConsoleOutputCP(1251);
SetConsoleCP(1251);
View number14.cpp
#include "pch.h"
#include <stdio.h>
#include <windows.h>
#include <conio.h>
#include <iostream>
int main() {
SetConsoleOutputCP(1251);
SetConsoleCP(1251);
View number13.cpp
#include "pch.h"
#include <windows.h>
#include <conio.h>
#include <stdio.h>
#include <math.h>
#include <iostream>
int getArrSize(int* arr);
int main() {
View number9.cpp
#include "pch.h"
#include <stdio.h>
#include <conio.h>
#include <windows.h>
#include <math.h>
void mySort(int* arr, int size);
int main() {
SetConsoleOutputCP(1251);
View InfSum15.cpp
#include "pch.h"
#include <iostream>
#include <stdio.h>
#include <windows.h>
#include <math.h>
double myFact(int n);
int main()
{