diff --git a/Algo/Cpp/1_tp/1_tp.cpp b/Algo/Cpp/1_tp/1_tp.cpp new file mode 100644 index 0000000..66047d4 --- /dev/null +++ b/Algo/Cpp/1_tp/1_tp.cpp @@ -0,0 +1 @@ +#include "1_tp.hpp" diff --git a/Algo/Cpp/1_tp/1_tp.hpp b/Algo/Cpp/1_tp/1_tp.hpp new file mode 100644 index 0000000..0c9cc47 --- /dev/null +++ b/Algo/Cpp/1_tp/1_tp.hpp @@ -0,0 +1,5 @@ +class { + +public: + +}; diff --git a/Algo/Cpp/1_tp/testtp1.cpp b/Algo/Cpp/1_tp/testtp1.cpp new file mode 100644 index 0000000..ff6f841 --- /dev/null +++ b/Algo/Cpp/1_tp/testtp1.cpp @@ -0,0 +1,7 @@ +#include "1_tp.hpp" + +int main(void) +{ + + return 0; +} \ No newline at end of file diff --git a/Algo/tp/tp1/Doxyfile b/Algo/tp/C/tp1/Doxyfile similarity index 100% rename from Algo/tp/tp1/Doxyfile rename to Algo/tp/C/tp1/Doxyfile diff --git a/Algo/tp/tp1/exe b/Algo/tp/C/tp1/exe similarity index 100% rename from Algo/tp/tp1/exe rename to Algo/tp/C/tp1/exe diff --git a/Algo/tp/tp1/html/bc_s.png b/Algo/tp/C/tp1/html/bc_s.png similarity index 100% rename from Algo/tp/tp1/html/bc_s.png rename to Algo/tp/C/tp1/html/bc_s.png diff --git a/Algo/tp/tp1/html/bdwn.png b/Algo/tp/C/tp1/html/bdwn.png similarity index 100% rename from Algo/tp/tp1/html/bdwn.png rename to Algo/tp/C/tp1/html/bdwn.png diff --git a/Algo/tp/tp1/html/closed.png b/Algo/tp/C/tp1/html/closed.png similarity index 100% rename from Algo/tp/tp1/html/closed.png rename to Algo/tp/C/tp1/html/closed.png diff --git a/Algo/tp/tp1/html/doc.png b/Algo/tp/C/tp1/html/doc.png similarity index 100% rename from Algo/tp/tp1/html/doc.png rename to Algo/tp/C/tp1/html/doc.png diff --git a/Algo/tp/tp1/html/doxygen.css b/Algo/tp/C/tp1/html/doxygen.css similarity index 100% rename from Algo/tp/tp1/html/doxygen.css rename to Algo/tp/C/tp1/html/doxygen.css diff --git a/Algo/tp/tp1/html/doxygen.svg b/Algo/tp/C/tp1/html/doxygen.svg similarity index 100% rename from Algo/tp/tp1/html/doxygen.svg rename to Algo/tp/C/tp1/html/doxygen.svg diff --git a/Algo/tp/tp1/html/dynsections.js b/Algo/tp/C/tp1/html/dynsections.js similarity index 100% rename from Algo/tp/tp1/html/dynsections.js rename to Algo/tp/C/tp1/html/dynsections.js diff --git a/Algo/tp/tp1/html/files.html b/Algo/tp/C/tp1/html/files.html similarity index 100% rename from Algo/tp/tp1/html/files.html rename to Algo/tp/C/tp1/html/files.html diff --git a/Algo/tp/tp1/html/folderclosed.png b/Algo/tp/C/tp1/html/folderclosed.png similarity index 100% rename from Algo/tp/tp1/html/folderclosed.png rename to Algo/tp/C/tp1/html/folderclosed.png diff --git a/Algo/tp/tp1/html/folderopen.png b/Algo/tp/C/tp1/html/folderopen.png similarity index 100% rename from Algo/tp/tp1/html/folderopen.png rename to Algo/tp/C/tp1/html/folderopen.png diff --git a/Algo/tp/tp1/html/graph_legend.html b/Algo/tp/C/tp1/html/graph_legend.html similarity index 100% rename from Algo/tp/tp1/html/graph_legend.html rename to Algo/tp/C/tp1/html/graph_legend.html diff --git a/Algo/tp/tp1/html/graph_legend.md5 b/Algo/tp/C/tp1/html/graph_legend.md5 similarity index 100% rename from Algo/tp/tp1/html/graph_legend.md5 rename to Algo/tp/C/tp1/html/graph_legend.md5 diff --git a/Algo/tp/tp1/html/graph_legend.png b/Algo/tp/C/tp1/html/graph_legend.png similarity index 100% rename from Algo/tp/tp1/html/graph_legend.png rename to Algo/tp/C/tp1/html/graph_legend.png diff --git a/Algo/tp/tp1/html/index.html b/Algo/tp/C/tp1/html/index.html similarity index 100% rename from Algo/tp/tp1/html/index.html rename to Algo/tp/C/tp1/html/index.html diff --git a/Algo/tp/tp1/html/jquery.js b/Algo/tp/C/tp1/html/jquery.js similarity index 100% rename from Algo/tp/tp1/html/jquery.js rename to Algo/tp/C/tp1/html/jquery.js diff --git a/Algo/tp/tp1/html/menu.js b/Algo/tp/C/tp1/html/menu.js similarity index 100% rename from Algo/tp/tp1/html/menu.js rename to Algo/tp/C/tp1/html/menu.js diff --git a/Algo/tp/tp1/html/menudata.js b/Algo/tp/C/tp1/html/menudata.js similarity index 100% rename from Algo/tp/tp1/html/menudata.js rename to Algo/tp/C/tp1/html/menudata.js diff --git a/Algo/tp/tp1/html/nav_f.png b/Algo/tp/C/tp1/html/nav_f.png similarity index 100% rename from Algo/tp/tp1/html/nav_f.png rename to Algo/tp/C/tp1/html/nav_f.png diff --git a/Algo/tp/tp1/html/nav_g.png b/Algo/tp/C/tp1/html/nav_g.png similarity index 100% rename from Algo/tp/tp1/html/nav_g.png rename to Algo/tp/C/tp1/html/nav_g.png diff --git a/Algo/tp/tp1/html/nav_h.png b/Algo/tp/C/tp1/html/nav_h.png similarity index 100% rename from Algo/tp/tp1/html/nav_h.png rename to Algo/tp/C/tp1/html/nav_h.png diff --git a/Algo/tp/tp1/html/open.png b/Algo/tp/C/tp1/html/open.png similarity index 100% rename from Algo/tp/tp1/html/open.png rename to Algo/tp/C/tp1/html/open.png diff --git a/Algo/tp/tp1/html/search/close.svg b/Algo/tp/C/tp1/html/search/close.svg similarity index 100% rename from Algo/tp/tp1/html/search/close.svg rename to Algo/tp/C/tp1/html/search/close.svg diff --git a/Algo/tp/tp1/html/search/mag_sel.svg b/Algo/tp/C/tp1/html/search/mag_sel.svg similarity index 100% rename from Algo/tp/tp1/html/search/mag_sel.svg rename to Algo/tp/C/tp1/html/search/mag_sel.svg diff --git a/Algo/tp/tp1/html/search/nomatches.html b/Algo/tp/C/tp1/html/search/nomatches.html similarity index 100% rename from Algo/tp/tp1/html/search/nomatches.html rename to Algo/tp/C/tp1/html/search/nomatches.html diff --git a/Algo/tp/tp1/html/search/search.css b/Algo/tp/C/tp1/html/search/search.css similarity index 100% rename from Algo/tp/tp1/html/search/search.css rename to Algo/tp/C/tp1/html/search/search.css diff --git a/Algo/tp/tp1/html/search/search.js b/Algo/tp/C/tp1/html/search/search.js similarity index 100% rename from Algo/tp/tp1/html/search/search.js rename to Algo/tp/C/tp1/html/search/search.js diff --git a/Algo/tp/tp1/html/search/search_l.png b/Algo/tp/C/tp1/html/search/search_l.png similarity index 100% rename from Algo/tp/tp1/html/search/search_l.png rename to Algo/tp/C/tp1/html/search/search_l.png diff --git a/Algo/tp/tp1/html/search/search_m.png b/Algo/tp/C/tp1/html/search/search_m.png similarity index 100% rename from Algo/tp/tp1/html/search/search_m.png rename to Algo/tp/C/tp1/html/search/search_m.png diff --git a/Algo/tp/tp1/html/search/search_r.png b/Algo/tp/C/tp1/html/search/search_r.png similarity index 100% rename from Algo/tp/tp1/html/search/search_r.png rename to Algo/tp/C/tp1/html/search/search_r.png diff --git a/Algo/tp/tp1/html/search/searchdata.js b/Algo/tp/C/tp1/html/search/searchdata.js similarity index 100% rename from Algo/tp/tp1/html/search/searchdata.js rename to Algo/tp/C/tp1/html/search/searchdata.js diff --git a/Algo/tp/tp1/html/splitbar.png b/Algo/tp/C/tp1/html/splitbar.png similarity index 100% rename from Algo/tp/tp1/html/splitbar.png rename to Algo/tp/C/tp1/html/splitbar.png diff --git a/Algo/tp/tp1/html/sync_off.png b/Algo/tp/C/tp1/html/sync_off.png similarity index 100% rename from Algo/tp/tp1/html/sync_off.png rename to Algo/tp/C/tp1/html/sync_off.png diff --git a/Algo/tp/tp1/html/sync_on.png b/Algo/tp/C/tp1/html/sync_on.png similarity index 100% rename from Algo/tp/tp1/html/sync_on.png rename to Algo/tp/C/tp1/html/sync_on.png diff --git a/Algo/tp/tp1/html/tab_a.png b/Algo/tp/C/tp1/html/tab_a.png similarity index 100% rename from Algo/tp/tp1/html/tab_a.png rename to Algo/tp/C/tp1/html/tab_a.png diff --git a/Algo/tp/tp1/html/tab_b.png b/Algo/tp/C/tp1/html/tab_b.png similarity index 100% rename from Algo/tp/tp1/html/tab_b.png rename to Algo/tp/C/tp1/html/tab_b.png diff --git a/Algo/tp/tp1/html/tab_h.png b/Algo/tp/C/tp1/html/tab_h.png similarity index 100% rename from Algo/tp/tp1/html/tab_h.png rename to Algo/tp/C/tp1/html/tab_h.png diff --git a/Algo/tp/tp1/html/tab_s.png b/Algo/tp/C/tp1/html/tab_s.png similarity index 100% rename from Algo/tp/tp1/html/tab_s.png rename to Algo/tp/C/tp1/html/tab_s.png diff --git a/Algo/tp/tp1/html/tabs.css b/Algo/tp/C/tp1/html/tabs.css similarity index 100% rename from Algo/tp/tp1/html/tabs.css rename to Algo/tp/C/tp1/html/tabs.css diff --git a/Algo/tp/tp1/html/tp1_8h_source.html b/Algo/tp/C/tp1/html/tp1_8h_source.html similarity index 100% rename from Algo/tp/tp1/html/tp1_8h_source.html rename to Algo/tp/C/tp1/html/tp1_8h_source.html diff --git a/Algo/tp/tp1/testtp1.c b/Algo/tp/C/tp1/testtp1.c similarity index 100% rename from Algo/tp/tp1/testtp1.c rename to Algo/tp/C/tp1/testtp1.c diff --git a/Algo/tp/tp1/tp1.c b/Algo/tp/C/tp1/tp1.c similarity index 100% rename from Algo/tp/tp1/tp1.c rename to Algo/tp/C/tp1/tp1.c diff --git a/Algo/tp/tp1/tp1.h b/Algo/tp/C/tp1/tp1.h similarity index 100% rename from Algo/tp/tp1/tp1.h rename to Algo/tp/C/tp1/tp1.h diff --git a/Algo/tp/tp10/exe b/Algo/tp/C/tp10/exe similarity index 100% rename from Algo/tp/tp10/exe rename to Algo/tp/C/tp10/exe diff --git a/Algo/tp/tp10/resultat.bin b/Algo/tp/C/tp10/resultat.bin similarity index 100% rename from Algo/tp/tp10/resultat.bin rename to Algo/tp/C/tp10/resultat.bin diff --git a/Algo/tp/tp10/resultat.don b/Algo/tp/C/tp10/resultat.don similarity index 100% rename from Algo/tp/tp10/resultat.don rename to Algo/tp/C/tp10/resultat.don diff --git a/Algo/tp/tp10/testtp10.c b/Algo/tp/C/tp10/testtp10.c similarity index 100% rename from Algo/tp/tp10/testtp10.c rename to Algo/tp/C/tp10/testtp10.c diff --git a/Algo/tp/tp10/tp10.c b/Algo/tp/C/tp10/tp10.c similarity index 100% rename from Algo/tp/tp10/tp10.c rename to Algo/tp/C/tp10/tp10.c diff --git a/Algo/tp/tp10/tp10.h b/Algo/tp/C/tp10/tp10.h similarity index 100% rename from Algo/tp/tp10/tp10.h rename to Algo/tp/C/tp10/tp10.h diff --git a/Algo/tp/tp11/exe b/Algo/tp/C/tp11/exe similarity index 100% rename from Algo/tp/tp11/exe rename to Algo/tp/C/tp11/exe diff --git a/Algo/tp/tp11/testtp11.c b/Algo/tp/C/tp11/testtp11.c similarity index 100% rename from Algo/tp/tp11/testtp11.c rename to Algo/tp/C/tp11/testtp11.c diff --git a/Algo/tp/tp11/tp11.c b/Algo/tp/C/tp11/tp11.c similarity index 100% rename from Algo/tp/tp11/tp11.c rename to Algo/tp/C/tp11/tp11.c diff --git a/Algo/tp/tp11/tp11.h b/Algo/tp/C/tp11/tp11.h similarity index 100% rename from Algo/tp/tp11/tp11.h rename to Algo/tp/C/tp11/tp11.h diff --git a/Algo/tp/tp12/exe b/Algo/tp/C/tp12/exe similarity index 100% rename from Algo/tp/tp12/exe rename to Algo/tp/C/tp12/exe diff --git a/Algo/tp/tp12/matieres.bin b/Algo/tp/C/tp12/matieres.bin similarity index 100% rename from Algo/tp/tp12/matieres.bin rename to Algo/tp/C/tp12/matieres.bin diff --git a/Algo/tp/tp12/matieres.txt b/Algo/tp/C/tp12/matieres.txt similarity index 100% rename from Algo/tp/tp12/matieres.txt rename to Algo/tp/C/tp12/matieres.txt diff --git a/Algo/tp/tp12/testtp12.c b/Algo/tp/C/tp12/testtp12.c similarity index 100% rename from Algo/tp/tp12/testtp12.c rename to Algo/tp/C/tp12/testtp12.c diff --git a/Algo/tp/tp12/tp12.c b/Algo/tp/C/tp12/tp12.c similarity index 100% rename from Algo/tp/tp12/tp12.c rename to Algo/tp/C/tp12/tp12.c diff --git a/Algo/tp/tp12/tp12.h b/Algo/tp/C/tp12/tp12.h similarity index 100% rename from Algo/tp/tp12/tp12.h rename to Algo/tp/C/tp12/tp12.h diff --git a/Algo/tp/tp13/exe b/Algo/tp/C/tp13/exe similarity index 100% rename from Algo/tp/tp13/exe rename to Algo/tp/C/tp13/exe diff --git a/Algo/tp/tp13/joresult.don b/Algo/tp/C/tp13/joresult.don similarity index 100% rename from Algo/tp/tp13/joresult.don rename to Algo/tp/C/tp13/joresult.don diff --git a/Algo/tp/tp13/joresult1.don b/Algo/tp/C/tp13/joresult1.don similarity index 100% rename from Algo/tp/tp13/joresult1.don rename to Algo/tp/C/tp13/joresult1.don diff --git a/Algo/tp/tp13/paysalpha.don b/Algo/tp/C/tp13/paysalpha.don similarity index 100% rename from Algo/tp/tp13/paysalpha.don rename to Algo/tp/C/tp13/paysalpha.don diff --git a/Algo/tp/tp13/resdujour.don b/Algo/tp/C/tp13/resdujour.don similarity index 100% rename from Algo/tp/tp13/resdujour.don rename to Algo/tp/C/tp13/resdujour.don diff --git a/Algo/tp/tp13/testtp13.c b/Algo/tp/C/tp13/testtp13.c similarity index 100% rename from Algo/tp/tp13/testtp13.c rename to Algo/tp/C/tp13/testtp13.c diff --git a/Algo/tp/tp13/tp13.c b/Algo/tp/C/tp13/tp13.c similarity index 100% rename from Algo/tp/tp13/tp13.c rename to Algo/tp/C/tp13/tp13.c diff --git a/Algo/tp/tp13/tp13.h b/Algo/tp/C/tp13/tp13.h similarity index 100% rename from Algo/tp/tp13/tp13.h rename to Algo/tp/C/tp13/tp13.h diff --git a/Algo/tp/tp14/exe b/Algo/tp/C/tp14/exe similarity index 100% rename from Algo/tp/tp14/exe rename to Algo/tp/C/tp14/exe diff --git a/Algo/tp/tp14/matieres.don b/Algo/tp/C/tp14/matieres.don similarity index 100% rename from Algo/tp/tp14/matieres.don rename to Algo/tp/C/tp14/matieres.don diff --git a/Algo/tp/tp14/matieres.txt b/Algo/tp/C/tp14/matieres.txt similarity index 100% rename from Algo/tp/tp14/matieres.txt rename to Algo/tp/C/tp14/matieres.txt diff --git a/Algo/tp/tp14/testtp14.c b/Algo/tp/C/tp14/testtp14.c similarity index 100% rename from Algo/tp/tp14/testtp14.c rename to Algo/tp/C/tp14/testtp14.c diff --git a/Algo/tp/tp14/tp14.c b/Algo/tp/C/tp14/tp14.c similarity index 100% rename from Algo/tp/tp14/tp14.c rename to Algo/tp/C/tp14/tp14.c diff --git a/Algo/tp/tp14/tp14.h b/Algo/tp/C/tp14/tp14.h similarity index 100% rename from Algo/tp/tp14/tp14.h rename to Algo/tp/C/tp14/tp14.h diff --git a/Algo/tp/tp15/exe b/Algo/tp/C/tp15/exe similarity index 100% rename from Algo/tp/tp15/exe rename to Algo/tp/C/tp15/exe diff --git a/Algo/tp/tp15/testtp15.c b/Algo/tp/C/tp15/testtp15.c similarity index 100% rename from Algo/tp/tp15/testtp15.c rename to Algo/tp/C/tp15/testtp15.c diff --git a/Algo/tp/tp15/tp15.c b/Algo/tp/C/tp15/tp15.c similarity index 100% rename from Algo/tp/tp15/tp15.c rename to Algo/tp/C/tp15/tp15.c diff --git a/Algo/tp/tp15/tp15.h b/Algo/tp/C/tp15/tp15.h similarity index 100% rename from Algo/tp/tp15/tp15.h rename to Algo/tp/C/tp15/tp15.h diff --git a/Algo/tp/tp16/exe b/Algo/tp/C/tp16/exe similarity index 100% rename from Algo/tp/tp16/exe rename to Algo/tp/C/tp16/exe diff --git a/Algo/tp/tp16/testtp16.c b/Algo/tp/C/tp16/testtp16.c similarity index 100% rename from Algo/tp/tp16/testtp16.c rename to Algo/tp/C/tp16/testtp16.c diff --git a/Algo/tp/tp16/tp16.c b/Algo/tp/C/tp16/tp16.c similarity index 100% rename from Algo/tp/tp16/tp16.c rename to Algo/tp/C/tp16/tp16.c diff --git a/Algo/tp/tp16/tp16.h b/Algo/tp/C/tp16/tp16.h similarity index 100% rename from Algo/tp/tp16/tp16.h rename to Algo/tp/C/tp16/tp16.h diff --git a/Algo/tp/tp2/exe b/Algo/tp/C/tp2/exe similarity index 100% rename from Algo/tp/tp2/exe rename to Algo/tp/C/tp2/exe diff --git a/Algo/tp/tp2/testtp2.c b/Algo/tp/C/tp2/testtp2.c similarity index 100% rename from Algo/tp/tp2/testtp2.c rename to Algo/tp/C/tp2/testtp2.c diff --git a/Algo/tp/tp2/tp2.c b/Algo/tp/C/tp2/tp2.c similarity index 100% rename from Algo/tp/tp2/tp2.c rename to Algo/tp/C/tp2/tp2.c diff --git a/Algo/tp/tp2/tp2.h b/Algo/tp/C/tp2/tp2.h similarity index 100% rename from Algo/tp/tp2/tp2.h rename to Algo/tp/C/tp2/tp2.h diff --git a/Algo/tp/tp3/exe b/Algo/tp/C/tp3/exe similarity index 100% rename from Algo/tp/tp3/exe rename to Algo/tp/C/tp3/exe diff --git a/Algo/tp/tp3/testtp3.c b/Algo/tp/C/tp3/testtp3.c similarity index 100% rename from Algo/tp/tp3/testtp3.c rename to Algo/tp/C/tp3/testtp3.c diff --git a/Algo/tp/tp3/tp3.c b/Algo/tp/C/tp3/tp3.c similarity index 100% rename from Algo/tp/tp3/tp3.c rename to Algo/tp/C/tp3/tp3.c diff --git a/Algo/tp/tp3/tp3.h b/Algo/tp/C/tp3/tp3.h similarity index 100% rename from Algo/tp/tp3/tp3.h rename to Algo/tp/C/tp3/tp3.h diff --git a/Algo/tp/tp4/dlksjd.txt b/Algo/tp/C/tp4/dlksjd.txt similarity index 100% rename from Algo/tp/tp4/dlksjd.txt rename to Algo/tp/C/tp4/dlksjd.txt diff --git a/Algo/tp/tp4/exe b/Algo/tp/C/tp4/exe similarity index 100% rename from Algo/tp/tp4/exe rename to Algo/tp/C/tp4/exe diff --git a/Algo/tp/tp4/testtp4.c b/Algo/tp/C/tp4/testtp4.c similarity index 100% rename from Algo/tp/tp4/testtp4.c rename to Algo/tp/C/tp4/testtp4.c diff --git a/Algo/tp/tp4/tp4.c b/Algo/tp/C/tp4/tp4.c similarity index 100% rename from Algo/tp/tp4/tp4.c rename to Algo/tp/C/tp4/tp4.c diff --git a/Algo/tp/tp4/tp4.h b/Algo/tp/C/tp4/tp4.h similarity index 100% rename from Algo/tp/tp4/tp4.h rename to Algo/tp/C/tp4/tp4.h diff --git a/Algo/tp/tp4/tp4f.c b/Algo/tp/C/tp4/tp4f.c similarity index 100% rename from Algo/tp/tp4/tp4f.c rename to Algo/tp/C/tp4/tp4f.c diff --git a/Algo/tp/tp5/donneesEmployes.txt b/Algo/tp/C/tp5/donneesEmployes.txt similarity index 100% rename from Algo/tp/tp5/donneesEmployes.txt rename to Algo/tp/C/tp5/donneesEmployes.txt diff --git a/Algo/tp/tp5/exe b/Algo/tp/C/tp5/exe similarity index 100% rename from Algo/tp/tp5/exe rename to Algo/tp/C/tp5/exe diff --git a/Algo/tp/tp5/testtp5.c b/Algo/tp/C/tp5/testtp5.c similarity index 100% rename from Algo/tp/tp5/testtp5.c rename to Algo/tp/C/tp5/testtp5.c diff --git a/Algo/tp/tp5/texte.txt b/Algo/tp/C/tp5/texte.txt similarity index 100% rename from Algo/tp/tp5/texte.txt rename to Algo/tp/C/tp5/texte.txt diff --git a/Algo/tp/tp5/tp5.c b/Algo/tp/C/tp5/tp5.c similarity index 100% rename from Algo/tp/tp5/tp5.c rename to Algo/tp/C/tp5/tp5.c diff --git a/Algo/tp/tp5/tp5.h b/Algo/tp/C/tp5/tp5.h similarity index 100% rename from Algo/tp/tp5/tp5.h rename to Algo/tp/C/tp5/tp5.h diff --git a/Algo/tp/tp5/tp5f.c b/Algo/tp/C/tp5/tp5f.c similarity index 100% rename from Algo/tp/tp5/tp5f.c rename to Algo/tp/C/tp5/tp5f.c diff --git a/Algo/tp/tp6/exe b/Algo/tp/C/tp6/exe similarity index 100% rename from Algo/tp/tp6/exe rename to Algo/tp/C/tp6/exe diff --git a/Algo/tp/tp6/matieres.txt b/Algo/tp/C/tp6/matieres.txt similarity index 100% rename from Algo/tp/tp6/matieres.txt rename to Algo/tp/C/tp6/matieres.txt diff --git a/Algo/tp/tp6/matieres2.txt b/Algo/tp/C/tp6/matieres2.txt similarity index 100% rename from Algo/tp/tp6/matieres2.txt rename to Algo/tp/C/tp6/matieres2.txt diff --git a/Algo/tp/tp6/testtp6.c b/Algo/tp/C/tp6/testtp6.c similarity index 100% rename from Algo/tp/tp6/testtp6.c rename to Algo/tp/C/tp6/testtp6.c diff --git a/Algo/tp/tp6/tp6.c b/Algo/tp/C/tp6/tp6.c similarity index 100% rename from Algo/tp/tp6/tp6.c rename to Algo/tp/C/tp6/tp6.c diff --git a/Algo/tp/tp6/tp6.h b/Algo/tp/C/tp6/tp6.h similarity index 100% rename from Algo/tp/tp6/tp6.h rename to Algo/tp/C/tp6/tp6.h diff --git a/Algo/tp/tp7/exe b/Algo/tp/C/tp7/exe similarity index 100% rename from Algo/tp/tp7/exe rename to Algo/tp/C/tp7/exe diff --git a/Algo/tp/tp7/matieres.txt b/Algo/tp/C/tp7/matieres.txt similarity index 100% rename from Algo/tp/tp7/matieres.txt rename to Algo/tp/C/tp7/matieres.txt diff --git a/Algo/tp/tp7/matieres2.txt b/Algo/tp/C/tp7/matieres2.txt similarity index 100% rename from Algo/tp/tp7/matieres2.txt rename to Algo/tp/C/tp7/matieres2.txt diff --git a/Algo/tp/tp7/testtp7.c b/Algo/tp/C/tp7/testtp7.c similarity index 100% rename from Algo/tp/tp7/testtp7.c rename to Algo/tp/C/tp7/testtp7.c diff --git a/Algo/tp/tp7/tp7.c b/Algo/tp/C/tp7/tp7.c similarity index 100% rename from Algo/tp/tp7/tp7.c rename to Algo/tp/C/tp7/tp7.c diff --git a/Algo/tp/tp7/tp7.h b/Algo/tp/C/tp7/tp7.h similarity index 100% rename from Algo/tp/tp7/tp7.h rename to Algo/tp/C/tp7/tp7.h diff --git a/Algo/tp/tp8/Final/exe b/Algo/tp/C/tp8/Final/exe similarity index 100% rename from Algo/tp/tp8/Final/exe rename to Algo/tp/C/tp8/Final/exe diff --git a/Algo/tp/tp8/Final/fichierMots.txt b/Algo/tp/C/tp8/Final/fichierMots.txt similarity index 100% rename from Algo/tp/tp8/Final/fichierMots.txt rename to Algo/tp/C/tp8/Final/fichierMots.txt diff --git a/Algo/tp/tp8/Final/fichierMotsLong.txt b/Algo/tp/C/tp8/Final/fichierMotsLong.txt similarity index 100% rename from Algo/tp/tp8/Final/fichierMotsLong.txt rename to Algo/tp/C/tp8/Final/fichierMotsLong.txt diff --git a/Algo/tp/tp8/Final/fichierNotes.txt b/Algo/tp/C/tp8/Final/fichierNotes.txt similarity index 100% rename from Algo/tp/tp8/Final/fichierNotes.txt rename to Algo/tp/C/tp8/Final/fichierNotes.txt diff --git a/Algo/tp/tp8/Final/testtp8.c b/Algo/tp/C/tp8/Final/testtp8.c similarity index 100% rename from Algo/tp/tp8/Final/testtp8.c rename to Algo/tp/C/tp8/Final/testtp8.c diff --git a/Algo/tp/tp8/Final/tp8.c b/Algo/tp/C/tp8/Final/tp8.c similarity index 100% rename from Algo/tp/tp8/Final/tp8.c rename to Algo/tp/C/tp8/Final/tp8.c diff --git a/Algo/tp/tp8/Final/tp8.h b/Algo/tp/C/tp8/Final/tp8.h similarity index 100% rename from Algo/tp/tp8/Final/tp8.h rename to Algo/tp/C/tp8/Final/tp8.h diff --git a/Algo/tp/tp8/Notes.don b/Algo/tp/C/tp8/Notes.don similarity index 100% rename from Algo/tp/tp8/Notes.don rename to Algo/tp/C/tp8/Notes.don diff --git a/Algo/tp/tp8/mots.don b/Algo/tp/C/tp8/mots.don similarity index 100% rename from Algo/tp/tp8/mots.don rename to Algo/tp/C/tp8/mots.don diff --git a/Algo/tp/tp8/testtp8.c b/Algo/tp/C/tp8/testtp8.c similarity index 100% rename from Algo/tp/tp8/testtp8.c rename to Algo/tp/C/tp8/testtp8.c diff --git a/Algo/tp/tp8/tp8.c b/Algo/tp/C/tp8/tp8.c similarity index 100% rename from Algo/tp/tp8/tp8.c rename to Algo/tp/C/tp8/tp8.c diff --git a/Algo/tp/tp8/tp8.h b/Algo/tp/C/tp8/tp8.h similarity index 100% rename from Algo/tp/tp8/tp8.h rename to Algo/tp/C/tp8/tp8.h diff --git a/Algo/tp/tp9/exe b/Algo/tp/C/tp9/exe similarity index 100% rename from Algo/tp/tp9/exe rename to Algo/tp/C/tp9/exe diff --git a/Algo/tp/tp9/matieres.txt b/Algo/tp/C/tp9/matieres.txt similarity index 100% rename from Algo/tp/tp9/matieres.txt rename to Algo/tp/C/tp9/matieres.txt diff --git a/Algo/tp/tp9/testtp9.c b/Algo/tp/C/tp9/testtp9.c similarity index 100% rename from Algo/tp/tp9/testtp9.c rename to Algo/tp/C/tp9/testtp9.c diff --git a/Algo/tp/tp9/tp9.c b/Algo/tp/C/tp9/tp9.c similarity index 100% rename from Algo/tp/tp9/tp9.c rename to Algo/tp/C/tp9/tp9.c diff --git a/Algo/tp/tp9/tp9/tp9.h b/Algo/tp/C/tp9/tp9/tp9.h similarity index 100% rename from Algo/tp/tp9/tp9/tp9.h rename to Algo/tp/C/tp9/tp9/tp9.h diff --git a/Algo/tp/Cpp/1_tp/.vscode/settings.json b/Algo/tp/Cpp/1_tp/.vscode/settings.json new file mode 100644 index 0000000..f6a1726 --- /dev/null +++ b/Algo/tp/Cpp/1_tp/.vscode/settings.json @@ -0,0 +1,7 @@ +{ + "files.associations": { + "iostream": "cpp", + "string": "cpp", + "ostream": "cpp" + } +} \ No newline at end of file diff --git a/Algo/tp/Cpp/1_tp/Makefile b/Algo/tp/Cpp/1_tp/Makefile new file mode 100644 index 0000000..2f3a9fe --- /dev/null +++ b/Algo/tp/Cpp/1_tp/Makefile @@ -0,0 +1,14 @@ +exe : monstre.o chevalier.o test.o + g++ monstre.o chevalier.o test.o -o exe + +monstre.o : monstre.cpp monstre.hpp + g++ -c monstre.cpp + +chevalier.o : chevalier.cpp chevalier.hpp + g++ -c chevalier.cpp + +test.o : test.cpp + g++ -c test.cpp + +clean : + rm *.o exe \ No newline at end of file diff --git a/Algo/tp/Cpp/1_tp/chevalier.cpp b/Algo/tp/Cpp/1_tp/chevalier.cpp new file mode 100644 index 0000000..d5ebabd --- /dev/null +++ b/Algo/tp/Cpp/1_tp/chevalier.cpp @@ -0,0 +1,24 @@ +#include "chevalier.hpp" +#include + +using namespace std; + +Chevalier::Chevalier(string titre, int bouclier, int arme) + : titre{titre}, ptsDeVie{10}, puissArme{arme}, puissBouclier{bouclier} +{ + cout << "Naissance de " << titre << endl; +} + +void Chevalier::parler(string message) { + cout << "**" << titre << "(" << ptsDeVie << "," << puissArme << "," << puissBouclier << ")** : " << message << endl; +} + +Chevalier::~Chevalier() { + cout << "disparition de " << titre << endl; +} + +Chevalier::Chevalier(int bouclier, int arme) + : titre{"Mr Incoonu"}, ptsDeVie{10}, puissArme{arme}, puissBouclier{bouclier} +{ + cout << "Naissance de " << titre << endl; +} \ No newline at end of file diff --git a/Algo/tp/Cpp/1_tp/chevalier.hpp b/Algo/tp/Cpp/1_tp/chevalier.hpp new file mode 100644 index 0000000..4c0f6ed --- /dev/null +++ b/Algo/tp/Cpp/1_tp/chevalier.hpp @@ -0,0 +1,19 @@ +#ifndef CHEVALIER_HPP +#define CHEVALIER_HPP + +#include + +class Chevalier { +public: + std::string titre; + int ptsDeVie; + int puissArme; + int puissBouclier; + + Chevalier(std::string titre, int bouclier, int arme); + Chevalier(int bouclier, int arme); + void parler(std::string message); + ~Chevalier(); +}; + +#endif // CHEVALIER_HPP \ No newline at end of file diff --git a/Algo/tp/Cpp/1_tp/chevalier.o b/Algo/tp/Cpp/1_tp/chevalier.o new file mode 100644 index 0000000..fe357be Binary files /dev/null and b/Algo/tp/Cpp/1_tp/chevalier.o differ diff --git a/Algo/tp/Cpp/1_tp/exe b/Algo/tp/Cpp/1_tp/exe new file mode 100755 index 0000000..84bc752 Binary files /dev/null and b/Algo/tp/Cpp/1_tp/exe differ diff --git a/Algo/tp/Cpp/1_tp/monstre.cpp b/Algo/tp/Cpp/1_tp/monstre.cpp new file mode 100644 index 0000000..6b32437 --- /dev/null +++ b/Algo/tp/Cpp/1_tp/monstre.cpp @@ -0,0 +1,18 @@ +#include "monstre.hpp" +#include // cout, endl + +using namespace std; + +Monstre::Monstre(string nom, int nbPtsVie, int force) + : nom{nom}, nbPtsVie{nbPtsVie}, force{force} +{ + cout << "Monstre " << nom << " créé" << endl; +} + +void Monstre::rugir(string message) { + cout << "--" << nom << "(" << nbPtsVie << ")" << "-- : " << message << endl; +} + +Monstre::~Monstre() { + cout << "destruction du Monstre" << nom << endl; +} \ No newline at end of file diff --git a/Algo/tp/Cpp/1_tp/monstre.hpp b/Algo/tp/Cpp/1_tp/monstre.hpp new file mode 100644 index 0000000..4dcb7e5 --- /dev/null +++ b/Algo/tp/Cpp/1_tp/monstre.hpp @@ -0,0 +1,17 @@ +#ifndef MONSTRE_HPP +#define MONSTRE_HPP + +#include // string + +class Monstre { +public: + std::string nom; + int nbPtsVie; + int force; + + Monstre(std::string nom, int nbPtsVie=10, int force=1); + void rugir(std::string message); + ~Monstre(); +}; + +#endif // MONSTRE_HPP \ No newline at end of file diff --git a/Algo/tp/Cpp/1_tp/monstre.o b/Algo/tp/Cpp/1_tp/monstre.o new file mode 100644 index 0000000..2816650 Binary files /dev/null and b/Algo/tp/Cpp/1_tp/monstre.o differ diff --git a/Algo/tp/Cpp/1_tp/sujet_TP1_monstre_chevalier.pdf b/Algo/tp/Cpp/1_tp/sujet_TP1_monstre_chevalier.pdf new file mode 100644 index 0000000..7f2401c Binary files /dev/null and b/Algo/tp/Cpp/1_tp/sujet_TP1_monstre_chevalier.pdf differ diff --git a/Algo/tp/Cpp/1_tp/test.cpp b/Algo/tp/Cpp/1_tp/test.cpp new file mode 100644 index 0000000..8550bb9 --- /dev/null +++ b/Algo/tp/Cpp/1_tp/test.cpp @@ -0,0 +1,22 @@ +#include "monstre.hpp" +#include "chevalier.hpp" + +void testMonstre(void) { + Monstre globulus{"Globulus", 15, 5}; + Monstre nemo{"Nemo"}; + globulus.rugir("Tremblez!"); + nemo.rugir("Vous allez trépasser!"); +} + +void testChevalier(void) { + Chevalier arthur{"Sir Arthur", 160, 90}; + Chevalier inconnu{16,50}; + arthur.parler("Hors de ma vu !!!"); + inconnu.parler("Je suis un inconnu !!!"); +} + +int main(void){ + // test(); + testChevalier(); + return 0; +} diff --git a/Algo/tp/Cpp/1_tp/test.o b/Algo/tp/Cpp/1_tp/test.o new file mode 100644 index 0000000..68fa9cc Binary files /dev/null and b/Algo/tp/Cpp/1_tp/test.o differ diff --git a/BDD/tp/BDDs2/tp1/IMG_20230125_183853.jpg b/BDD/tp/BDDs2/tp1/IMG_20230125_183853.jpg new file mode 100644 index 0000000..e8a8e43 Binary files /dev/null and b/BDD/tp/BDDs2/tp1/IMG_20230125_183853.jpg differ diff --git a/BDD/tp/BDDs2/tp1/TP1_PEREDERII-Antoine.zip b/BDD/tp/BDDs2/tp1/TP1_PEREDERII-Antoine.zip new file mode 100644 index 0000000..5d1174a Binary files /dev/null and b/BDD/tp/BDDs2/tp1/TP1_PEREDERII-Antoine.zip differ diff --git a/BDD/tp/BDDs2/tp1/TP1_PEREDERII-Antoine/IMG_20230125_183853.jpg b/BDD/tp/BDDs2/tp1/TP1_PEREDERII-Antoine/IMG_20230125_183853.jpg new file mode 100644 index 0000000..e8a8e43 Binary files /dev/null and b/BDD/tp/BDDs2/tp1/TP1_PEREDERII-Antoine/IMG_20230125_183853.jpg differ diff --git a/BDD/tp/BDDs2/tp1/TP1_PEREDERII-Antoine/requetes.sql b/BDD/tp/BDDs2/tp1/TP1_PEREDERII-Antoine/requetes.sql new file mode 100644 index 0000000..edc2978 --- /dev/null +++ b/BDD/tp/BDDs2/tp1/TP1_PEREDERII-Antoine/requetes.sql @@ -0,0 +1,130 @@ +-- Question 3 +SELECT COUNT(code) +FROM Athlete; + +-- count +-- ------- +-- 11647 +-- (1 ligne) + + +-- Question 4 +SELECT * +FROM Epreuve +WHERE dateE = '2021-07-29'; + +-- code | discipl | nom | datee +-- ------+---------+-----------------------------------+------------ +-- E096 | GAR | Women's All-Around | 2021-07-29 +-- E097 | CSL | Women's Canoe | 2021-07-29 +-- E098 | FEN | Women's Foil Team | 2021-07-29 +-- E099 | JUD | Men -100 kg | 2021-07-29 +-- E100 | JUD | Women -78 kg | 2021-07-29 +-- E101 | ROW | Lightweight Men's Double Sculls | 2021-07-29 +-- E102 | ROW | Lightweight Women's Double Sculls | 2021-07-29 +-- E103 | ROW | Men's Pair | 2021-07-29 +-- E104 | ROW | Women's Pair | 2021-07-29 +-- E105 | SHO | Trap Men | 2021-07-29 +-- E106 | SHO | Trap Women | 2021-07-29 +-- E107 | SWM | Men's 100m Freestyle | 2021-07-29 +-- E108 | SWM | Men's 200m Breaststroke | 2021-07-29 +-- E109 | SWM | Men's 800m Freestyle | 2021-07-29 +-- E110 | SWM | Women's 200m Butterfly | 2021-07-29 +-- E111 | SWM | Women's 4 x 200m Freestyle Relay | 2021-07-29 +-- E112 | TTE | Women's Singles | 2021-07-29 +-- (17 lignes) + +-- Question 5 +SELECT d.nom +FROM Discipline d, Epreuve e +WHERE e.discipl = d.code AND e.dateE = '2021-07-29'; + +-- nom +-- --------------------- +-- Artistic Gymnastics +-- Canoe Slalom +-- Fencing +-- Judo +-- Judo +-- Rowing +-- Rowing +-- Rowing +-- Rowing +-- Shooting +-- Shooting +-- Swimming +-- Swimming +-- Swimming +-- Swimming +-- Swimming +-- Table Tennis +-- (17 lignes) + +-- Question 6 +SELECT a.nom, a.prenom, a.dateNaiss +FROM Athlete a, Pays p +WHERE a.pays = p.code AND p.nom = 'France' +ORDER BY a.nom, a.prenom; + +-- nom | prenom | datenaiss +-- ---------------------+--------------------+------------ +-- ABALO | Luc | 1984-09-06 +-- ADO | Pauline | 1991-02-14 +-- AERNOUDTS | Violaine | 1999-10-23 +-- AGBEGNENOU | Clarisse | 1992-10-25 +-- AIT SAID | Samir | 1989-11-01 +-- ALBICY | Andrew | 1990-03-21 +-- ALIEV | Mourad | 1995-07-31 + +-- Question 7 +SELECT COUNT(m.place) +FROM Medaille m, Athlete a, Resultat r +WHERE m.place = r.medaille AND r.athlete = a.code AND a.nom = 'LEDECKY' AND a.prenom = 'Kathleen'; + +-- count +-- ------- +-- 4 +-- (1 ligne) + +-- Question 8 +SELECT a.nom, a.prenom, a.pays, e.nom, d.nom +FROM Athlete a, Resultat r, Epreuve e, Discipline d, Medaille m +WHERE a.code = r.athlete AND r.epreuve = e.code AND e.discipl = d.code AND r.medaille = m.place AND e.code = 'E059' AND m.couleur = 'Or'; + +-- nom | prenom | pays | nom | nom +-- ------------+----------+------+--------------+------ +-- AGBEGNENOU | Clarisse | FRA | Women -63 kg | Judo + +-- Question 9 +SELECT * +FROM Athlete +WHERE dateNaiss IN(SELECT MAX(dateNaiss) FROM Athlete); + +-- code | nom | prenom | sexe | datenaiss | paysnaiss | pays | taille +-- --------+------+--------+------+------------+-----------+------+-------- +-- A11515 | ZAZA | Hend | F | 2009-01-01 | SYR | SYR | + +-- Question 10 +SELECT Athlete, ROUND(('2021-07-23'-dateNaiss)/365.25 -0.5) AS age +FROM Athlete +WHERE dateNaiss IN(SELECT MIN(dateNaiss) FROM Athlete); + +-- athlete | ?column? +-- -------------------------------------------+---------- +-- (A03900,HANNA,Mary,F,1954-12-01,AUS,AUS,) | 66 + +-- Question 11 +SELECT p.nom +FROM Pays p +WHERE p.code NOT IN(SELECT Pays FROM Athlete WHERE code IN(SELECT Athlete FROM Resultat)) AND nom LIKE 'A%'; + +-- nom +-- --------------------- +-- Angola +-- Algeria +-- Afghanistan +-- Albania +-- American Samoa +-- Andorra +-- Aruba +-- Antigua and Barbuda \ No newline at end of file