Skip to content

Instantly share code, notes, and snippets.

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#define S 31
int main() {
int row = 0, col= 0, i, j, k, l, mat[row][col], len, flag, max;
char nome_file[S];
printf("inserire il nome del file contenente la matrice: ");
#include <iostream>
#include <string>
#include <vector>
#include <fstream>
using namespace std;
int main() {
string caratteri;
#include <iostream>
#include <string>
#include <fstream>
#include <vector>
using namespace std;
char divisioneArray(string contenutoDelloZaino) {
char carattereUguale;
#include <iostream>
using namespace std;
//checks if the array is empty
bool isEmpty(int arr[], int length) {
return(arr[length - 1] == 0);
}
//adds an element into the array