This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <string> | |
#include <fstream> | |
#include <vector> | |
using namespace std; | |
char divisioneArray(string contenutoDelloZaino) { | |
char carattereUguale; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <string> | |
#include <vector> | |
#include <fstream> | |
using namespace std; | |
int main() { | |
string caratteri; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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: "); |