You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

209 lines
16 KiB

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.5"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>My Project: /Users/alloux/SAE102_2022_GOIGOUX_JEUDI/src/main.c File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr id="projectrow">
<td id="projectalign">
<div id="projectname">My Project
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.5 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#func-members">Functions</a> </div>
<div class="headertitle"><div class="title">main.c File Reference</div></div>
</div><!--header-->
<div class="contents">
<p>Exécutable principal du programme.
<a href="#details">More...</a></p>
<div class="textblock"><code>#include &quot;<a class="el" href="structures_8h_source.html">structures.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="un_8c_source.html">I/un.c</a>&quot;</code><br />
</div><div class="textblock"><div class="dynheader">
Include dependency graph for main.c:</div>
<div class="dyncontent">
<div class="center"><img src="main_8c__incl.png" border="0" usemap="#a_2_users_2alloux_2_s_a_e102__2022___g_o_i_g_o_u_x___j_e_u_d_i_2src_2main_8c" alt=""/></div>
<map name="a_2_users_2alloux_2_s_a_e102__2022___g_o_i_g_o_u_x___j_e_u_d_i_2src_2main_8c" id="a_2_users_2alloux_2_s_a_e102__2022___g_o_i_g_o_u_x___j_e_u_d_i_2src_2main_8c">
<area shape="rect" title="Exécutable principal du programme." alt="" coords="491,5,687,60"/>
<area shape="rect" href="structures_8h.html" title=" " alt="" coords="496,108,587,133"/>
<area shape="rect" href="un_8c.html" title="Partie 1 de la SAE 1.02." alt="" coords="611,108,666,133"/>
<area shape="rect" title=" " alt="" coords="316,401,377,427"/>
<area shape="rect" title=" " alt="" coords="5,401,69,427"/>
<area shape="rect" title=" " alt="" coords="125,401,190,427"/>
<area shape="rect" title=" " alt="" coords="685,401,747,427"/>
<area shape="rect" title=" " alt="" coords="793,401,861,427"/>
<area shape="rect" title=" " alt="" coords="559,401,631,427"/>
<area shape="rect" href="un_8h.html" title="Partie 1 de la SAE 1.02." alt="" coords="882,181,929,207"/>
<area shape="rect" href="deux_8c.html" title="Partie 2 de la SAE 1.02." alt="" coords="259,181,344,207"/>
<area shape="rect" href="deux_8h.html" title="Partie 2 de la SAE 1.02." alt="" coords="271,255,332,280"/>
<area shape="rect" href="trois_8c.html" title=" " alt="" coords="357,255,443,280"/>
<area shape="rect" href="trois_8h.html" title=" " alt="" coords="321,328,380,353"/>
<area shape="rect" href="quatre_8c.html" title="Partie 4 de la SAE 1.02." alt="" coords="455,328,553,353"/>
<area shape="rect" href="quatre_8h.html" title="Partie 4 de la SAE 1.02." alt="" coords="465,401,535,427"/>
</map>
</div>
</div>
<p><a href="main_8c_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="func-members" name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:a840291bc02cba5474a4cb46a9b9566fe"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="main_8c.html#a840291bc02cba5474a4cb46a9b9566fe">main</a> (void)</td></tr>
<tr class="separator:a840291bc02cba5474a4cb46a9b9566fe"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p >Exécutable principal du programme. </p>
<dl class="section author"><dt>Author</dt><dd>GOIGOUX Lucie &amp; JEUDI&ndash;LEMOINE Alix </dd></dl>
<dl class="section date"><dt>Date</dt><dd>15/12/22 </dd></dl>
<p>Application de gestion des candidature dans les IUT de France </p>
<p class="definition">Definition in file <a class="el" href="main_8c_source.html">main.c</a>.</p>
</div><h2 class="groupheader">Function Documentation</h2>
<a id="a840291bc02cba5474a4cb46a9b9566fe" name="a840291bc02cba5474a4cb46a9b9566fe"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a840291bc02cba5474a4cb46a9b9566fe">&#9670;&#160;</a></span>main()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int main </td>
<td>(</td>
<td class="paramtype">void&#160;</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="main_8c_source.html#l00013">13</a> of file <a class="el" href="main_8c_source.html">main.c</a>.</p>
<div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="main_8c_a840291bc02cba5474a4cb46a9b9566fe_cgraph.png" border="0" usemap="#amain_8c_a840291bc02cba5474a4cb46a9b9566fe_cgraph" alt=""/></div>
<map name="amain_8c_a840291bc02cba5474a4cb46a9b9566fe_cgraph" id="amain_8c_a840291bc02cba5474a4cb46a9b9566fe_cgraph">
<area shape="rect" title=" " alt="" coords="5,895,56,920"/>
<area shape="rect" href="un_8c.html#adfbaa271f44d828c6a42ce7e9affee88" title="Affiche le menu principal et permet l&#39;appel des menus candidats/administrateurs/responsables suivant ..." alt="" coords="104,895,208,920"/>
<area shape="rect" href="un_8c.html#a7e91197935e5f2f6df2a2f2b6b05fd98" title="Affiche le menu des administrateurs et permet l&#39;appel des fonctions suivant le choix de l&#39;utilisateur..." alt="" coords="274,353,365,379"/>
<area shape="rect" href="deux_8c.html#ab69176142c7bc496d57694e11e7deb16" title="Lis le status actuel de la phase de candidature (0 si la phase est arrêtée et 1 si elle est lancée)" alt="" coords="790,553,875,579"/>
<area shape="rect" href="un_8c.html#afbbe421616435be6078263aaa641a2d0" title="Affiche le menu des candidats et permet l&#39;appel des fonctions suivant le choix de l&#39;utilisateur." alt="" coords="266,781,373,807"/>
<area shape="rect" href="un_8c.html#a5ae624d9f4129de2756601355b4a9ecb" title="Affiche le menu des responsables et permet l&#39;appel des fonctions suivant le choix de l&#39;utilisateur." alt="" coords="481,1223,611,1248"/>
<area shape="rect" href="deux_8c.html#ab23f833bdb8e7e5f6705a427b803940c" title="Lit la liste des candidats dans le fichier texte candidats.don puis les met dans la structure ListeCa..." alt="" coords="266,844,373,869"/>
<area shape="rect" href="un_8c.html#ae8caf29eaa654f7be3db1ccfcd6fe756" title="Lit le fichier binaire ville.bin et retourne le tableau tiut avec les structures de données et les do..." alt="" coords="280,945,359,971"/>
<area shape="rect" href="deux_8c.html#a144c1ecbcf346d4181e31a558ba84ac5" title="Enregistre la liste des candidats dans le fichier texte candidats.don." alt="" coords="265,995,374,1020"/>
<area shape="rect" href="un_8c.html#a8d67ce9f6c4a989685fed049047d29e9" title="Enregistre les modifications apportées aux structures de données dans le fichier binaire ville...." alt="" coords="278,1044,361,1069"/>
<area shape="rect" href="un_8c.html#aad23b63a1e3292f1ab46068e8804cff9" title="Affiche le titre &quot;RECRUTEMENT IUT&quot;." alt="" coords="256,1093,383,1119"/>
<area shape="rect" href="deux_8c.html#af5b94a22bd855987ee7db353ce1cc00a" title="Affiche tous les candidats triés par nom." alt="" coords="757,5,909,31"/>
<area shape="rect" href="un_8c.html#ae06ffb44849a7df738bb8268135c7227" title="Fonction permettant à l&#39;utilisateur administrateur de créer un nouveau département." alt="" coords="445,131,647,156"/>
<area shape="rect" href="un_8c.html#a219d45734867807383d880f34217ea1e" title="BONUS: Fonction permettant à l&#39;utilisateur administrateur de créer un nouvel IUT." alt="" coords="471,255,621,280"/>
<area shape="rect" href="un_8c.html#a5c913074025411b7b8e3abb68ee344b5" title="Fonction permettant à l&#39;administrateur de changer le nombre de places disponibles dans une formation." alt="" coords="454,304,638,329"/>
<area shape="rect" href="un_8c.html#af546658951e9ecc192aba7e019902318" title="Fonction permettant à l&#39;utilisateur administrateur de modifier le nom d&#39;un responsable d&#39;un départeme..." alt="" coords="436,353,656,379"/>
<area shape="rect" href="un_8c.html#adc8300a25cc0383b24c755c4bbfd91ec" title="Fonction permettant à l&#39;utilisateur administrateur de supprimer un département existant." alt="" coords="431,403,661,428"/>
<area shape="rect" href="deux_8c.html#a3bba1ba5f848dde11fbc93cab5278878" title="Enregistre sur le fichier texte status.don le status actuel de la phase de candidature (0 si la phase..." alt="" coords="502,504,590,529"/>
<area shape="rect" href="deux_8c.html#a7fe4daeb12de384a0a66b98f0b4cdf30" title="Affiche un candidat précis." alt="" coords="1023,5,1140,31"/>
<area shape="rect" href="deux_8c.html#aa29d659a5a7e104d16453fb638aa7879" title="Compare deux candidats suivant l&#39;ordre alphabetique." alt="" coords="1016,204,1147,229"/>
<area shape="rect" href="un_8c.html#ad51c905f9647bea520bae3251406e7a7" title="Ajoute un département dans la liste chaînée des départements d&#39;une ville." alt="" coords="765,55,901,80"/>
<area shape="rect" href="un_8c.html#a66e1da26145388147d82d4af162554b9" title="Alloue de la memoire de la taille d&#39;une structure MaillonDept avec un malloc." alt="" coords="769,104,896,129"/>
<area shape="rect" href="un_8c.html#a2a08d27051520d60755e7efa40492106" title="Fonction de recherche pour trouver la position de la ville recherchée dans le tableau tiut." alt="" coords="1027,403,1135,428"/>
<area shape="rect" href="un_8c.html#ab72a94e0e428e8780f52ad9f0961309d" title="BONUS: ajoute l&#39;adresse d&#39;une ville dans le tableau tiut contenue à l&#39;adresse tiutPointer...." alt="" coords="789,205,876,231"/>
<area shape="rect" href="un_8c.html#ad11139b8f8322e31ccf4bb815be15959" title="BONUS: Alloue de la memoire de la taille d&#39;une structure VilleIUT avec un malloc." alt="" coords="795,255,871,280"/>
<area shape="rect" href="un_8c.html#a0f99e823db20dabb26769999a1642571" title="Créer une liste vide." alt="" coords="1004,936,1159,961"/>
<area shape="rect" href="un_8c.html#ae3aa1879ca5ebdf3bcd1fc86293f6e80" title="Affiche la liste des différents départements disponible dans une ville recherchée et le nombre de pla..." alt="" coords="749,403,917,428"/>
<area shape="rect" href="un_8c.html#a8e323787fe17db1848073aeb18270d2b" title="Modifie le nombre de place d&#39;une formation." alt="" coords="770,304,895,329"/>
<area shape="rect" href="un_8c.html#a0b1192f7fbbcaf1510e5c0746cbd6f95" title="Modifie le nom du responsable d&#39;une formation." alt="" coords="747,353,919,379"/>
<area shape="rect" href="un_8c.html#a28d5da430784efeb0ba2a4fea3a506bc" title="Supprime le département dans une ville choisie par l&#39;utilisateur." alt="" coords="755,504,910,529"/>
<area shape="rect" href="un_8c.html#ada1c489775a3b28028ba68bcd8d21adc" title="Affiche la liste des IUT comprenant un département recherché par l&#39;utilisateur." alt="" coords="476,707,616,732"/>
<area shape="rect" href="un_8c.html#afd7ff18cc367c2398bcc6652efca0c16" title="Affiche la liste des villes ayant un IUT." alt="" coords="483,756,609,781"/>
<area shape="rect" href="un_8c.html#a56a001ef4c52c974a624fa17c000f927" title="Propose à l&#39;utilisateur de se connecter avec son id ou de créer son compte étudiant...." alt="" coords="473,805,619,831"/>
<area shape="rect" href="deux_8c.html#a346ec11b7cfecb53142039ba1125e31e" title="Permet au candidat de déposer une candidature." alt="" coords="459,907,633,932"/>
<area shape="rect" href="quatre_8c.html#a2a562fa04bb68f6a95562a03689e587d" title="Permet de voir les candidatures et les décisions prises." alt="" coords="437,1027,655,1052"/>
<area shape="rect" href="deux_8c.html#a54eb9bc5dbdbdb457257dbd4727ec59f" title="Ajoute l&#39;adresse du candidat dans le tableau de pointeur &quot;liste&quot;." alt="" coords="776,629,889,655"/>
<area shape="rect" href="deux_8c.html#a9fd89bafa880d71f757f84466bd9141d" title="Alloue de la mémoire de la taille d&#39;une structure Candidat avec un malloc." alt="" coords="781,679,884,704"/>
<area shape="rect" href="deux_8c.html#a581b991f3ee0dc610d684f27dce120ae" title="Ajoute une candidature dans la liste des candidatures associées au candidat correspondant dans les pa..." alt="" coords="767,780,898,805"/>
<area shape="rect" href="deux_8c.html#a6b5755efb0bb15c7ee98372c76763fa1" title="Verifie si la candidature à ajouter n&#39;existe pas déjà" alt="" coords="769,829,896,855"/>
<area shape="rect" href="deux_8c.html#a8a7f12cc6517d640aea8a0d80797737a" title="Alloue de la mémoire de la taille d&#39;une structure Candidature avec un malloc avec les valeurs par déf..." alt="" coords="772,879,893,904"/>
<area shape="rect" href="deux_8c.html#a3f92b836fa2cfadc62f0ad9c11a449c5" title="Affiche récursivement toutes les candidatures d&#39;un seul candidat." alt="" coords="761,952,904,977"/>
<area shape="rect" href="quatre_8c.html#a82fdc98bc2b25a880f47d2eb5cf14c25" title=" " alt="" coords="757,1001,908,1027"/>
<area shape="rect" href="quatre_8c.html#a410abd648b8acce13d90384b564c3074" title=" " alt="" coords="804,1051,861,1076"/>
<area shape="rect" href="quatre_8c.html#aa8d5d6069e2362a84abbace54b35306d" title=" " alt="" coords="755,1100,910,1125"/>
<area shape="rect" href="quatre_8c.html#a21eb0da0f4012fb2fe33c8caa418c0a3" title=" " alt="" coords="763,1149,903,1175"/>
<area shape="rect" href="quatre_8c.html#a86c5a23566cd1ad0d66eea1471bdc0b7" title=" " alt="" coords="752,1199,913,1224"/>
<area shape="rect" href="quatre_8c.html#a7c08379d69f0aa3e71a9c25ad650799c" title=" " alt="" coords="749,1248,916,1273"/>
<area shape="rect" href="trois_8c.html#a79f0be18b92bd7bf1422858e922cbc52" title="Affiche les candidatures pour un seul département dans un IUT." alt="" coords="739,1297,926,1323"/>
<area shape="rect" href="trois_8c.html#ae4bea70190fa69b35219fc219bdaebc8" title="Calcul la note globale en fonction des coéfficients prédéfinis." alt="" coords="763,1347,902,1372"/>
<area shape="rect" href="quatre_8c.html#a5e1417e735249ea53276f464c58ed61d" title="Permet d&#39;accepter un certain nombre de candidat ayant une note minimale." alt="" coords="709,1396,956,1421"/>
</map>
</div>
</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.5
</small></address>
</body>
</html>