-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.cpp
29 lines (25 loc) · 840 Bytes
/
main.cpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#include <stdio.h>
#include <limits.h>
#include <iostream>
using namespace std;
#include <math.h>
#include"tipe.h"
int main() {
unsigned int matrice_adjacence[50][50];
unsigned int * pointeur;
pointeur = new unsigned int;
pointeur = (unsigned int *)matrice_adjacence[50][50];
initialisation_matrice_0(matrice_adjacence);
///////////////////// DEMANDE CHOIX UTILISATEUR //////////////////////
unsigned int rang;
cout << "Pour commencer l'algorithme, merci de saisir la valeur du rang de votre matrice : ";
cin >> rang;
while (rang == 0 || rang > 50) {
cout << " ERREUR de saisie !\n Merci de saisir une valeur entre 1 et 50 : ";
cin >> rang;
}
cout << endl << endl;
choix(matrice_adjacence, rang);
delete[]pointeur;
return 0;
}