@ -0,0 +1,92 @@
|
|||||||
|
<!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: Class List</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&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&dn=expat.txt MIT */
|
||||||
|
$(function() {
|
||||||
|
initMenu('',true,false,'search.php','Search');
|
||||||
|
$(document).ready(function() { init_search(); });
|
||||||
|
});
|
||||||
|
/* @license-end */
|
||||||
|
</script>
|
||||||
|
<div id="main-nav"></div>
|
||||||
|
</div><!-- top -->
|
||||||
|
<!-- 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 class="header">
|
||||||
|
<div class="headertitle"><div class="title">Class List</div></div>
|
||||||
|
</div><!--header-->
|
||||||
|
<div class="contents">
|
||||||
|
<div class="textblock">Here are the classes, structs, unions and interfaces with brief descriptions:</div><div class="directory">
|
||||||
|
<table class="directory">
|
||||||
|
<tr id="row_0_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="struct_candidat.html" target="_self">Candidat</a></td><td class="desc"></td></tr>
|
||||||
|
<tr id="row_1_" class="odd"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="struct_candidat_traite.html" target="_self">CandidatTraite</a></td><td class="desc"></td></tr>
|
||||||
|
<tr id="row_2_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="struct_candidature.html" target="_self">Candidature</a></td><td class="desc"></td></tr>
|
||||||
|
<tr id="row_3_" class="odd"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="struct_file_attente.html" target="_self">FileAttente</a></td><td class="desc"></td></tr>
|
||||||
|
<tr id="row_4_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="struct_maillon.html" target="_self">Maillon</a></td><td class="desc"></td></tr>
|
||||||
|
<tr id="row_5_" class="odd"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="struct_maillon_dept.html" target="_self">MaillonDept</a></td><td class="desc"></td></tr>
|
||||||
|
<tr id="row_6_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="struct_ville_i_u_t.html" target="_self">VilleIUT</a></td><td class="desc"></td></tr>
|
||||||
|
</table>
|
||||||
|
</div><!-- directory -->
|
||||||
|
</div><!-- contents -->
|
||||||
|
<!-- start footer part -->
|
||||||
|
<hr class="footer"/><address class="footer"><small>
|
||||||
|
Generated by <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>
|
After Width: | Height: | Size: 676 B |
After Width: | Height: | Size: 635 B |
After Width: | Height: | Size: 147 B |
@ -0,0 +1,96 @@
|
|||||||
|
<!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: Class Index</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&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&dn=expat.txt MIT */
|
||||||
|
$(function() {
|
||||||
|
initMenu('',true,false,'search.php','Search');
|
||||||
|
$(document).ready(function() { init_search(); });
|
||||||
|
});
|
||||||
|
/* @license-end */
|
||||||
|
</script>
|
||||||
|
<div id="main-nav"></div>
|
||||||
|
</div><!-- top -->
|
||||||
|
<!-- 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 class="header">
|
||||||
|
<div class="headertitle"><div class="title">Class Index</div></div>
|
||||||
|
</div><!--header-->
|
||||||
|
<div class="contents">
|
||||||
|
<div class="qindex"><a class="qindex" href="#letter_C">C</a> | <a class="qindex" href="#letter_F">F</a> | <a class="qindex" href="#letter_M">M</a> | <a class="qindex" href="#letter_V">V</a></div>
|
||||||
|
<div class="classindex">
|
||||||
|
<dl class="classindex even">
|
||||||
|
<dt class="alphachar"><a id="letter_C" name="letter_C">C</a></dt>
|
||||||
|
<dd><a class="el" href="struct_candidat.html">Candidat</a></dd><dd><a class="el" href="struct_candidat_traite.html">CandidatTraite</a></dd><dd><a class="el" href="struct_candidature.html">Candidature</a></dd></dl>
|
||||||
|
<dl class="classindex odd">
|
||||||
|
<dt class="alphachar"><a id="letter_F" name="letter_F">F</a></dt>
|
||||||
|
<dd><a class="el" href="struct_file_attente.html">FileAttente</a></dd></dl>
|
||||||
|
<dl class="classindex even">
|
||||||
|
<dt class="alphachar"><a id="letter_M" name="letter_M">M</a></dt>
|
||||||
|
<dd><a class="el" href="struct_maillon.html">Maillon</a></dd><dd><a class="el" href="struct_maillon_dept.html">MaillonDept</a></dd></dl>
|
||||||
|
<dl class="classindex odd">
|
||||||
|
<dt class="alphachar"><a id="letter_V" name="letter_V">V</a></dt>
|
||||||
|
<dd><a class="el" href="struct_ville_i_u_t.html">VilleIUT</a></dd></dl>
|
||||||
|
</div>
|
||||||
|
</div><!-- contents -->
|
||||||
|
<!-- start footer part -->
|
||||||
|
<hr class="footer"/><address class="footer"><small>
|
||||||
|
Generated by <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>
|
After Width: | Height: | Size: 132 B |
@ -0,0 +1,868 @@
|
|||||||
|
<!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/II/deux.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&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&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><li class="navelem"><a class="el" href="dir_9170cd96d41fdbdbf8a9ef7aa4556cb5.html">II</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">deux.c File Reference</div></div>
|
||||||
|
</div><!--header-->
|
||||||
|
<div class="contents">
|
||||||
|
|
||||||
|
<p>Partie 2 de la SAE 1.02.
|
||||||
|
<a href="#details">More...</a></p>
|
||||||
|
<div class="textblock"><code>#include <stdio.h></code><br />
|
||||||
|
<code>#include <stdlib.h></code><br />
|
||||||
|
<code>#include <string.h></code><br />
|
||||||
|
<code>#include <errno.h></code><br />
|
||||||
|
<code>#include "<a class="el" href="deux_8h_source.html">deux.h</a>"</code><br />
|
||||||
|
<code>#include "<a class="el" href="trois_8c_source.html">../III/trois.c</a>"</code><br />
|
||||||
|
</div><div class="textblock"><div class="dynheader">
|
||||||
|
Include dependency graph for deux.c:</div>
|
||||||
|
<div class="dyncontent">
|
||||||
|
<div class="center"><img src="deux_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_2_i_i_2deux_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_2_i_i_2deux_8c" id="a_2_users_2alloux_2_s_a_e102__2022___g_o_i_g_o_u_x___j_e_u_d_i_2src_2_i_i_2deux_8c">
|
||||||
|
<area shape="rect" title="Partie 2 de la SAE 1.02." alt="" coords="337,5,533,60"/>
|
||||||
|
<area shape="rect" title=" " alt="" coords="555,255,616,280"/>
|
||||||
|
<area shape="rect" title=" " alt="" coords="5,255,69,280"/>
|
||||||
|
<area shape="rect" title=" " alt="" coords="94,255,159,280"/>
|
||||||
|
<area shape="rect" title=" " alt="" coords="467,255,530,280"/>
|
||||||
|
<area shape="rect" href="deux_8h.html" title="Partie 2 de la SAE 1.02." alt="" coords="549,108,611,133"/>
|
||||||
|
<area shape="rect" href="trois_8c.html" title=" " alt="" coords="315,108,402,133"/>
|
||||||
|
<area shape="rect" title=" " alt="" coords="371,255,443,280"/>
|
||||||
|
<area shape="rect" href="trois_8h.html" title=" " alt="" coords="133,181,192,207"/>
|
||||||
|
<area shape="rect" href="quatre_8c.html" title="Partie 4 de la SAE 1.02." alt="" coords="267,181,365,207"/>
|
||||||
|
<area shape="rect" title=" " alt="" coords="278,255,346,280"/>
|
||||||
|
<area shape="rect" href="quatre_8h.html" title="Partie 4 de la SAE 1.02." alt="" coords="184,255,253,280"/>
|
||||||
|
</map>
|
||||||
|
</div>
|
||||||
|
</div><div class="textblock"><div class="dynheader">
|
||||||
|
This graph shows which files directly or indirectly include this file:</div>
|
||||||
|
<div class="dyncontent">
|
||||||
|
<div class="center"><img src="deux_8c__dep__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_2_i_i_2deux_8cdep" 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_2_i_i_2deux_8cdep" id="a_2_users_2alloux_2_s_a_e102__2022___g_o_i_g_o_u_x___j_e_u_d_i_2src_2_i_i_2deux_8cdep">
|
||||||
|
<area shape="rect" title="Partie 2 de la SAE 1.02." alt="" coords="5,5,201,60"/>
|
||||||
|
<area shape="rect" href="un_8c.html" title="Partie 1 de la SAE 1.02." alt="" coords="5,108,201,163"/>
|
||||||
|
<area shape="rect" href="main_8c.html" title="Exécutable principal du programme." alt="" coords="5,211,201,265"/>
|
||||||
|
</map>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<p><a href="deux_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:a9fd89bafa880d71f757f84466bd9141d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_candidat.html">Candidat</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="deux_8c.html#a9fd89bafa880d71f757f84466bd9141d">creerCandidat</a> (void)</td></tr>
|
||||||
|
<tr class="memdesc:a9fd89bafa880d71f757f84466bd9141d"><td class="mdescLeft"> </td><td class="mdescRight">Alloue de la mémoire de la taille d'une structure <a class="el" href="struct_candidat.html">Candidat</a> avec un malloc. <a href="deux_8c.html#a9fd89bafa880d71f757f84466bd9141d">More...</a><br /></td></tr>
|
||||||
|
<tr class="separator:a9fd89bafa880d71f757f84466bd9141d"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:a8a7f12cc6517d640aea8a0d80797737a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_candidature.html">Candidature</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="deux_8c.html#a8a7f12cc6517d640aea8a0d80797737a">creerCandidature</a> (void)</td></tr>
|
||||||
|
<tr class="memdesc:a8a7f12cc6517d640aea8a0d80797737a"><td class="mdescLeft"> </td><td class="mdescRight">Alloue de la mémoire de la taille d'une structure <a class="el" href="struct_candidature.html">Candidature</a> avec un malloc avec les valeurs par défaut à 0 pour les variables décision & validation. <a href="deux_8c.html#a8a7f12cc6517d640aea8a0d80797737a">More...</a><br /></td></tr>
|
||||||
|
<tr class="separator:a8a7f12cc6517d640aea8a0d80797737a"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:a54eb9bc5dbdbdb457257dbd4727ec59f"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="deux_8c.html#a54eb9bc5dbdbdb457257dbd4727ec59f">ajouterCandidat</a> (<a class="el" href="structures_8h.html#add449d43ae5a45a35a5a0d355b17d74e">ListeCandidats</a> *listePointer, int *nbCandidats, <a class="el" href="struct_candidat.html">Candidat</a> *candidat)</td></tr>
|
||||||
|
<tr class="memdesc:a54eb9bc5dbdbdb457257dbd4727ec59f"><td class="mdescLeft"> </td><td class="mdescRight">Ajoute l'adresse du candidat dans le tableau de pointeur "liste". <a href="deux_8c.html#a54eb9bc5dbdbdb457257dbd4727ec59f">More...</a><br /></td></tr>
|
||||||
|
<tr class="separator:a54eb9bc5dbdbdb457257dbd4727ec59f"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:a581b991f3ee0dc610d684f27dce120ae"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="deux_8c.html#a581b991f3ee0dc610d684f27dce120ae">ajouterCandidature</a> (<a class="el" href="struct_candidat.html">Candidat</a> *candidat, <a class="el" href="struct_candidature.html">Candidature</a> *candidature)</td></tr>
|
||||||
|
<tr class="memdesc:a581b991f3ee0dc610d684f27dce120ae"><td class="mdescLeft"> </td><td class="mdescRight">Ajoute une candidature dans la liste des candidatures associées au candidat correspondant dans les paramètres de la fonction. <a href="deux_8c.html#a581b991f3ee0dc610d684f27dce120ae">More...</a><br /></td></tr>
|
||||||
|
<tr class="separator:a581b991f3ee0dc610d684f27dce120ae"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:a346ec11b7cfecb53142039ba1125e31e"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="deux_8c.html#a346ec11b7cfecb53142039ba1125e31e">menuCandidat_candidater</a> (<a class="el" href="struct_ville_i_u_t.html">VilleIUT</a> **tiut, int nbVilles, <a class="el" href="struct_candidat.html">Candidat</a> *candidat)</td></tr>
|
||||||
|
<tr class="memdesc:a346ec11b7cfecb53142039ba1125e31e"><td class="mdescLeft"> </td><td class="mdescRight">Permet au candidat de déposer une candidature. <a href="deux_8c.html#a346ec11b7cfecb53142039ba1125e31e">More...</a><br /></td></tr>
|
||||||
|
<tr class="separator:a346ec11b7cfecb53142039ba1125e31e"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:a6b5755efb0bb15c7ee98372c76763fa1"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="deux_8c.html#a6b5755efb0bb15c7ee98372c76763fa1">checkCandidature</a> (<a class="el" href="struct_candidat.html">Candidat</a> *candidat, <a class="el" href="struct_candidature.html">Candidature</a> candid)</td></tr>
|
||||||
|
<tr class="memdesc:a6b5755efb0bb15c7ee98372c76763fa1"><td class="mdescLeft"> </td><td class="mdescRight">Verifie si la candidature à ajouter n'existe pas déjà <a href="deux_8c.html#a6b5755efb0bb15c7ee98372c76763fa1">More...</a><br /></td></tr>
|
||||||
|
<tr class="separator:a6b5755efb0bb15c7ee98372c76763fa1"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:af5b94a22bd855987ee7db353ce1cc00a"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="deux_8c.html#af5b94a22bd855987ee7db353ce1cc00a">afficherListeCandidats</a> (<a class="el" href="structures_8h.html#add449d43ae5a45a35a5a0d355b17d74e">ListeCandidats</a> liste, int nbCandidats)</td></tr>
|
||||||
|
<tr class="memdesc:af5b94a22bd855987ee7db353ce1cc00a"><td class="mdescLeft"> </td><td class="mdescRight">Affiche tous les candidats triés par nom. <a href="deux_8c.html#af5b94a22bd855987ee7db353ce1cc00a">More...</a><br /></td></tr>
|
||||||
|
<tr class="separator:af5b94a22bd855987ee7db353ce1cc00a"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:a7fe4daeb12de384a0a66b98f0b4cdf30"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="deux_8c.html#a7fe4daeb12de384a0a66b98f0b4cdf30">afficherCandidat</a> (<a class="el" href="struct_candidat.html">Candidat</a> *candidat)</td></tr>
|
||||||
|
<tr class="memdesc:a7fe4daeb12de384a0a66b98f0b4cdf30"><td class="mdescLeft"> </td><td class="mdescRight">Affiche un candidat précis. <a href="deux_8c.html#a7fe4daeb12de384a0a66b98f0b4cdf30">More...</a><br /></td></tr>
|
||||||
|
<tr class="separator:a7fe4daeb12de384a0a66b98f0b4cdf30"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:a3f92b836fa2cfadc62f0ad9c11a449c5"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="deux_8c.html#a3f92b836fa2cfadc62f0ad9c11a449c5">afficherCandidatures</a> (<a class="el" href="structures_8h.html#a8b8b7c8cbc48c1b29c990f0e3f68eef7">ListeCandidatures</a> candidatures, int nbCandidatures)</td></tr>
|
||||||
|
<tr class="memdesc:a3f92b836fa2cfadc62f0ad9c11a449c5"><td class="mdescLeft"> </td><td class="mdescRight">Affiche récursivement toutes les candidatures d'un seul candidat. <a href="deux_8c.html#a3f92b836fa2cfadc62f0ad9c11a449c5">More...</a><br /></td></tr>
|
||||||
|
<tr class="separator:a3f92b836fa2cfadc62f0ad9c11a449c5"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:ab23f833bdb8e7e5f6705a427b803940c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structures_8h.html#add449d43ae5a45a35a5a0d355b17d74e">ListeCandidats</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="deux_8c.html#ab23f833bdb8e7e5f6705a427b803940c">readCandidats</a> (int *nbCandidats)</td></tr>
|
||||||
|
<tr class="memdesc:ab23f833bdb8e7e5f6705a427b803940c"><td class="mdescLeft"> </td><td class="mdescRight">Lit la liste des candidats dans le fichier texte candidats.don puis les met dans la structure ListeCandidats. <a href="deux_8c.html#ab23f833bdb8e7e5f6705a427b803940c">More...</a><br /></td></tr>
|
||||||
|
<tr class="separator:ab23f833bdb8e7e5f6705a427b803940c"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:aa29d659a5a7e104d16453fb638aa7879"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="deux_8c.html#aa29d659a5a7e104d16453fb638aa7879">compareCandidats</a> (const void *p1, const void *p2)</td></tr>
|
||||||
|
<tr class="memdesc:aa29d659a5a7e104d16453fb638aa7879"><td class="mdescLeft"> </td><td class="mdescRight">Compare deux candidats suivant l'ordre alphabetique. <a href="deux_8c.html#aa29d659a5a7e104d16453fb638aa7879">More...</a><br /></td></tr>
|
||||||
|
<tr class="separator:aa29d659a5a7e104d16453fb638aa7879"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:a144c1ecbcf346d4181e31a558ba84ac5"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="deux_8c.html#a144c1ecbcf346d4181e31a558ba84ac5">saveCandidats</a> (<a class="el" href="structures_8h.html#add449d43ae5a45a35a5a0d355b17d74e">ListeCandidats</a> liste, int nbCandidats)</td></tr>
|
||||||
|
<tr class="memdesc:a144c1ecbcf346d4181e31a558ba84ac5"><td class="mdescLeft"> </td><td class="mdescRight">Enregistre la liste des candidats dans le fichier texte candidats.don. <a href="deux_8c.html#a144c1ecbcf346d4181e31a558ba84ac5">More...</a><br /></td></tr>
|
||||||
|
<tr class="separator:a144c1ecbcf346d4181e31a558ba84ac5"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:ab69176142c7bc496d57694e11e7deb16"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="deux_8c.html#ab69176142c7bc496d57694e11e7deb16">readStatus</a> (void)</td></tr>
|
||||||
|
<tr class="memdesc:ab69176142c7bc496d57694e11e7deb16"><td class="mdescLeft"> </td><td class="mdescRight">Lis le status actuel de la phase de candidature (0 si la phase est arrêtée et 1 si elle est lancée) <a href="deux_8c.html#ab69176142c7bc496d57694e11e7deb16">More...</a><br /></td></tr>
|
||||||
|
<tr class="separator:ab69176142c7bc496d57694e11e7deb16"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:a3bba1ba5f848dde11fbc93cab5278878"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="deux_8c.html#a3bba1ba5f848dde11fbc93cab5278878">saveStatus</a> (int status)</td></tr>
|
||||||
|
<tr class="memdesc:a3bba1ba5f848dde11fbc93cab5278878"><td class="mdescLeft"> </td><td class="mdescRight">Enregistre sur le fichier texte status.don le status actuel de la phase de candidature (0 si la phase est arrêtée et 1 si elle est lancée) <a href="deux_8c.html#a3bba1ba5f848dde11fbc93cab5278878">More...</a><br /></td></tr>
|
||||||
|
<tr class="separator:a3bba1ba5f848dde11fbc93cab5278878"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
</table>
|
||||||
|
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
||||||
|
<div class="textblock"><p >Partie 2 de la SAE 1.02. </p>
|
||||||
|
<dl class="section author"><dt>Author</dt><dd>GOIGOUX Lucie & JEUDI–LEMOINE Alix </dd></dl>
|
||||||
|
<dl class="section date"><dt>Date</dt><dd>23/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="deux_8c_source.html">deux.c</a>.</p>
|
||||||
|
</div><h2 class="groupheader">Function Documentation</h2>
|
||||||
|
<a id="a7fe4daeb12de384a0a66b98f0b4cdf30" name="a7fe4daeb12de384a0a66b98f0b4cdf30"></a>
|
||||||
|
<h2 class="memtitle"><span class="permalink"><a href="#a7fe4daeb12de384a0a66b98f0b4cdf30">◆ </a></span>afficherCandidat()</h2>
|
||||||
|
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">void afficherCandidat </td>
|
||||||
|
<td>(</td>
|
||||||
|
<td class="paramtype"><a class="el" href="struct_candidat.html">Candidat</a> * </td>
|
||||||
|
<td class="paramname"><em>candidat</em></td><td>)</td>
|
||||||
|
<td></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
|
||||||
|
<p>Affiche un candidat précis. </p>
|
||||||
|
<dl class="params"><dt>Parameters</dt><dd>
|
||||||
|
<table class="params">
|
||||||
|
<tr><td class="paramname">candidat</td><td>Adresse du candidat que l'utilisateur choisi d'afficher </td></tr>
|
||||||
|
</table>
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
|
||||||
|
<p class="definition">Definition at line <a class="el" href="deux_8c_source.html#l00149">149</a> of file <a class="el" href="deux_8c_source.html">deux.c</a>.</p>
|
||||||
|
<div class="dynheader">
|
||||||
|
Here is the caller graph for this function:</div>
|
||||||
|
<div class="dyncontent">
|
||||||
|
<div class="center"><img src="deux_8c_a7fe4daeb12de384a0a66b98f0b4cdf30_icgraph.png" border="0" usemap="#adeux_8c_a7fe4daeb12de384a0a66b98f0b4cdf30_icgraph" alt=""/></div>
|
||||||
|
<map name="adeux_8c_a7fe4daeb12de384a0a66b98f0b4cdf30_icgraph" id="adeux_8c_a7fe4daeb12de384a0a66b98f0b4cdf30_icgraph">
|
||||||
|
<area shape="rect" title="Affiche un candidat précis." alt="" coords="595,5,712,31"/>
|
||||||
|
<area shape="rect" href="deux_8c.html#af5b94a22bd855987ee7db353ce1cc00a" title="Affiche tous les candidats triés par nom." alt="" coords="395,5,547,31"/>
|
||||||
|
<area shape="rect" href="un_8c.html#a7e91197935e5f2f6df2a2f2b6b05fd98" title="Affiche le menu des administrateurs et permet l'appel des fonctions suivant le choix de l'utilisateur..." alt="" coords="256,5,347,31"/>
|
||||||
|
<area shape="rect" href="un_8c.html#adfbaa271f44d828c6a42ce7e9affee88" title="Affiche le menu principal et permet l'appel des menus candidats/administrateurs/responsables suivant ..." alt="" coords="104,5,208,31"/>
|
||||||
|
<area shape="rect" href="main_8c.html#a840291bc02cba5474a4cb46a9b9566fe" title=" " alt="" coords="5,5,56,31"/>
|
||||||
|
</map>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a id="a3f92b836fa2cfadc62f0ad9c11a449c5" name="a3f92b836fa2cfadc62f0ad9c11a449c5"></a>
|
||||||
|
<h2 class="memtitle"><span class="permalink"><a href="#a3f92b836fa2cfadc62f0ad9c11a449c5">◆ </a></span>afficherCandidatures()</h2>
|
||||||
|
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">void afficherCandidatures </td>
|
||||||
|
<td>(</td>
|
||||||
|
<td class="paramtype"><a class="el" href="structures_8h.html#a8b8b7c8cbc48c1b29c990f0e3f68eef7">ListeCandidatures</a> </td>
|
||||||
|
<td class="paramname"><em>candidatures</em>, </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="paramkey"></td>
|
||||||
|
<td></td>
|
||||||
|
<td class="paramtype">int </td>
|
||||||
|
<td class="paramname"><em>nbCandidatures</em> </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td></td>
|
||||||
|
<td>)</td>
|
||||||
|
<td></td><td></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
|
||||||
|
<p>Affiche récursivement toutes les candidatures d'un seul candidat. </p>
|
||||||
|
<dl class="params"><dt>Parameters</dt><dd>
|
||||||
|
<table class="params">
|
||||||
|
<tr><td class="paramname">candidatures</td><td>Tableau de pointeur sur les candidatures d'un candidat </td></tr>
|
||||||
|
<tr><td class="paramname">nbCandidatures</td><td>Nombre de candidatures du candidat </td></tr>
|
||||||
|
</table>
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
|
||||||
|
<p class="definition">Definition at line <a class="el" href="deux_8c_source.html#l00160">160</a> of file <a class="el" href="deux_8c_source.html">deux.c</a>.</p>
|
||||||
|
<div class="dynheader">
|
||||||
|
Here is the call graph for this function:</div>
|
||||||
|
<div class="dyncontent">
|
||||||
|
<div class="center"><img src="deux_8c_a3f92b836fa2cfadc62f0ad9c11a449c5_cgraph.png" border="0" usemap="#adeux_8c_a3f92b836fa2cfadc62f0ad9c11a449c5_cgraph" alt=""/></div>
|
||||||
|
<map name="adeux_8c_a3f92b836fa2cfadc62f0ad9c11a449c5_cgraph" id="adeux_8c_a3f92b836fa2cfadc62f0ad9c11a449c5_cgraph">
|
||||||
|
<area shape="rect" title="Affiche récursivement toutes les candidatures d'un seul candidat." alt="" coords="5,29,148,55"/>
|
||||||
|
</map>
|
||||||
|
</div>
|
||||||
|
<div class="dynheader">
|
||||||
|
Here is the caller graph for this function:</div>
|
||||||
|
<div class="dyncontent">
|
||||||
|
<div class="center"><img src="deux_8c_a3f92b836fa2cfadc62f0ad9c11a449c5_icgraph.png" border="0" usemap="#adeux_8c_a3f92b836fa2cfadc62f0ad9c11a449c5_icgraph" alt=""/></div>
|
||||||
|
<map name="adeux_8c_a3f92b836fa2cfadc62f0ad9c11a449c5_icgraph" id="adeux_8c_a3f92b836fa2cfadc62f0ad9c11a449c5_icgraph">
|
||||||
|
<area shape="rect" title="Affiche récursivement toutes les candidatures d'un seul candidat." alt="" coords="677,29,820,55"/>
|
||||||
|
<area shape="rect" href="quatre_8c.html#a2a562fa04bb68f6a95562a03689e587d" title="Permet de voir les candidatures et les décisions prises." alt="" coords="411,29,629,55"/>
|
||||||
|
<area shape="rect" href="un_8c.html#afbbe421616435be6078263aaa641a2d0" title="Affiche le menu des candidats et permet l'appel des fonctions suivant le choix de l'utilisateur." alt="" coords="256,29,363,55"/>
|
||||||
|
<area shape="rect" href="un_8c.html#adfbaa271f44d828c6a42ce7e9affee88" title="Affiche le menu principal et permet l'appel des menus candidats/administrateurs/responsables suivant ..." alt="" coords="104,29,208,55"/>
|
||||||
|
<area shape="rect" href="main_8c.html#a840291bc02cba5474a4cb46a9b9566fe" title=" " alt="" coords="5,29,56,55"/>
|
||||||
|
</map>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a id="af5b94a22bd855987ee7db353ce1cc00a" name="af5b94a22bd855987ee7db353ce1cc00a"></a>
|
||||||
|
<h2 class="memtitle"><span class="permalink"><a href="#af5b94a22bd855987ee7db353ce1cc00a">◆ </a></span>afficherListeCandidats()</h2>
|
||||||
|
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">void afficherListeCandidats </td>
|
||||||
|
<td>(</td>
|
||||||
|
<td class="paramtype"><a class="el" href="structures_8h.html#add449d43ae5a45a35a5a0d355b17d74e">ListeCandidats</a> </td>
|
||||||
|
<td class="paramname"><em>liste</em>, </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="paramkey"></td>
|
||||||
|
<td></td>
|
||||||
|
<td class="paramtype">int </td>
|
||||||
|
<td class="paramname"><em>nbCandidats</em> </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td></td>
|
||||||
|
<td>)</td>
|
||||||
|
<td></td><td></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
|
||||||
|
<p>Affiche tous les candidats triés par nom. </p>
|
||||||
|
<dl class="params"><dt>Parameters</dt><dd>
|
||||||
|
<table class="params">
|
||||||
|
<tr><td class="paramname">liste</td><td>Tableau de pointeur sur la structure <a class="el" href="struct_candidat.html">Candidat</a> </td></tr>
|
||||||
|
<tr><td class="paramname">nbCandidats</td><td>Nombre de candidats dans la liste des candidats </td></tr>
|
||||||
|
</table>
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
|
||||||
|
<p class="definition">Definition at line <a class="el" href="deux_8c_source.html#l00125">125</a> of file <a class="el" href="deux_8c_source.html">deux.c</a>.</p>
|
||||||
|
<div class="dynheader">
|
||||||
|
Here is the call graph for this function:</div>
|
||||||
|
<div class="dyncontent">
|
||||||
|
<div class="center"><img src="deux_8c_af5b94a22bd855987ee7db353ce1cc00a_cgraph.png" border="0" usemap="#adeux_8c_af5b94a22bd855987ee7db353ce1cc00a_cgraph" alt=""/></div>
|
||||||
|
<map name="adeux_8c_af5b94a22bd855987ee7db353ce1cc00a_cgraph" id="adeux_8c_af5b94a22bd855987ee7db353ce1cc00a_cgraph">
|
||||||
|
<area shape="rect" title="Affiche tous les candidats triés par nom." alt="" coords="5,31,157,56"/>
|
||||||
|
<area shape="rect" href="deux_8c.html#a7fe4daeb12de384a0a66b98f0b4cdf30" title="Affiche un candidat précis." alt="" coords="212,5,329,31"/>
|
||||||
|
<area shape="rect" href="deux_8c.html#aa29d659a5a7e104d16453fb638aa7879" title="Compare deux candidats suivant l'ordre alphabetique." alt="" coords="205,55,336,80"/>
|
||||||
|
</map>
|
||||||
|
</div>
|
||||||
|
<div class="dynheader">
|
||||||
|
Here is the caller graph for this function:</div>
|
||||||
|
<div class="dyncontent">
|
||||||
|
<div class="center"><img src="deux_8c_af5b94a22bd855987ee7db353ce1cc00a_icgraph.png" border="0" usemap="#adeux_8c_af5b94a22bd855987ee7db353ce1cc00a_icgraph" alt=""/></div>
|
||||||
|
<map name="adeux_8c_af5b94a22bd855987ee7db353ce1cc00a_icgraph" id="adeux_8c_af5b94a22bd855987ee7db353ce1cc00a_icgraph">
|
||||||
|
<area shape="rect" title="Affiche tous les candidats triés par nom." alt="" coords="395,5,547,31"/>
|
||||||
|
<area shape="rect" href="un_8c.html#a7e91197935e5f2f6df2a2f2b6b05fd98" title="Affiche le menu des administrateurs et permet l'appel des fonctions suivant le choix de l'utilisateur..." alt="" coords="256,5,347,31"/>
|
||||||
|
<area shape="rect" href="un_8c.html#adfbaa271f44d828c6a42ce7e9affee88" title="Affiche le menu principal et permet l'appel des menus candidats/administrateurs/responsables suivant ..." alt="" coords="104,5,208,31"/>
|
||||||
|
<area shape="rect" href="main_8c.html#a840291bc02cba5474a4cb46a9b9566fe" title=" " alt="" coords="5,5,56,31"/>
|
||||||
|
</map>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a id="a54eb9bc5dbdbdb457257dbd4727ec59f" name="a54eb9bc5dbdbdb457257dbd4727ec59f"></a>
|
||||||
|
<h2 class="memtitle"><span class="permalink"><a href="#a54eb9bc5dbdbdb457257dbd4727ec59f">◆ </a></span>ajouterCandidat()</h2>
|
||||||
|
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">void ajouterCandidat </td>
|
||||||
|
<td>(</td>
|
||||||
|
<td class="paramtype"><a class="el" href="structures_8h.html#add449d43ae5a45a35a5a0d355b17d74e">ListeCandidats</a> * </td>
|
||||||
|
<td class="paramname"><em>listePointer</em>, </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="paramkey"></td>
|
||||||
|
<td></td>
|
||||||
|
<td class="paramtype">int * </td>
|
||||||
|
<td class="paramname"><em>nbCandidats</em>, </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="paramkey"></td>
|
||||||
|
<td></td>
|
||||||
|
<td class="paramtype"><a class="el" href="struct_candidat.html">Candidat</a> * </td>
|
||||||
|
<td class="paramname"><em>candidat</em> </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td></td>
|
||||||
|
<td>)</td>
|
||||||
|
<td></td><td></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
|
||||||
|
<p>Ajoute l'adresse du candidat dans le tableau de pointeur "liste". </p>
|
||||||
|
<dl class="params"><dt>Parameters</dt><dd>
|
||||||
|
<table class="params">
|
||||||
|
<tr><td class="paramname">listePointer</td><td>Adresse du tableau de pointeur sur la structure <a class="el" href="struct_candidat.html">Candidat</a> </td></tr>
|
||||||
|
<tr><td class="paramname">nbCandidats</td><td>Adresse de la variable contenant le nombre de candidats </td></tr>
|
||||||
|
<tr><td class="paramname">candidat</td><td>Adresse du <a class="el" href="struct_candidat.html">Candidat</a> à ajouter </td></tr>
|
||||||
|
</table>
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
|
||||||
|
<p class="definition">Definition at line <a class="el" href="deux_8c_source.html#l00042">42</a> of file <a class="el" href="deux_8c_source.html">deux.c</a>.</p>
|
||||||
|
<div class="dynheader">
|
||||||
|
Here is the caller graph for this function:</div>
|
||||||
|
<div class="dyncontent">
|
||||||
|
<div class="center"><img src="deux_8c_a54eb9bc5dbdbdb457257dbd4727ec59f_icgraph.png" border="0" usemap="#adeux_8c_a54eb9bc5dbdbdb457257dbd4727ec59f_icgraph" alt=""/></div>
|
||||||
|
<map name="adeux_8c_a54eb9bc5dbdbdb457257dbd4727ec59f_icgraph" id="adeux_8c_a54eb9bc5dbdbdb457257dbd4727ec59f_icgraph">
|
||||||
|
<area shape="rect" title="Ajoute l'adresse du candidat dans le tableau de pointeur "liste"." alt="" coords="605,5,719,31"/>
|
||||||
|
<area shape="rect" href="un_8c.html#a56a001ef4c52c974a624fa17c000f927" title="Propose à l'utilisateur de se connecter avec son id ou de créer son compte étudiant...." alt="" coords="411,5,557,31"/>
|
||||||
|
<area shape="rect" href="un_8c.html#afbbe421616435be6078263aaa641a2d0" title="Affiche le menu des candidats et permet l'appel des fonctions suivant le choix de l'utilisateur." alt="" coords="256,5,363,31"/>
|
||||||
|
<area shape="rect" href="un_8c.html#adfbaa271f44d828c6a42ce7e9affee88" title="Affiche le menu principal et permet l'appel des menus candidats/administrateurs/responsables suivant ..." alt="" coords="104,5,208,31"/>
|
||||||
|
<area shape="rect" href="main_8c.html#a840291bc02cba5474a4cb46a9b9566fe" title=" " alt="" coords="5,5,56,31"/>
|
||||||
|
</map>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a id="a581b991f3ee0dc610d684f27dce120ae" name="a581b991f3ee0dc610d684f27dce120ae"></a>
|
||||||
|
<h2 class="memtitle"><span class="permalink"><a href="#a581b991f3ee0dc610d684f27dce120ae">◆ </a></span>ajouterCandidature()</h2>
|
||||||
|
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">void ajouterCandidature </td>
|
||||||
|
<td>(</td>
|
||||||
|
<td class="paramtype"><a class="el" href="struct_candidat.html">Candidat</a> * </td>
|
||||||
|
<td class="paramname"><em>candidat</em>, </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="paramkey"></td>
|
||||||
|
<td></td>
|
||||||
|
<td class="paramtype"><a class="el" href="struct_candidature.html">Candidature</a> * </td>
|
||||||
|
<td class="paramname"><em>candidature</em> </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td></td>
|
||||||
|
<td>)</td>
|
||||||
|
<td></td><td></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
|
||||||
|
<p>Ajoute une candidature dans la liste des candidatures associées au candidat correspondant dans les paramètres de la fonction. </p>
|
||||||
|
<dl class="params"><dt>Parameters</dt><dd>
|
||||||
|
<table class="params">
|
||||||
|
<tr><td class="paramname">candidat</td><td>Adresse du candidat dont on veut ajouter une candidature </td></tr>
|
||||||
|
<tr><td class="paramname">candidature</td><td>Adresse de la candidature à ajouter </td></tr>
|
||||||
|
</table>
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
|
||||||
|
<p class="definition">Definition at line <a class="el" href="deux_8c_source.html#l00057">57</a> of file <a class="el" href="deux_8c_source.html">deux.c</a>.</p>
|
||||||
|
<div class="dynheader">
|
||||||
|
Here is the caller graph for this function:</div>
|
||||||
|
<div class="dyncontent">
|
||||||
|
<div class="center"><img src="deux_8c_a581b991f3ee0dc610d684f27dce120ae_icgraph.png" border="0" usemap="#adeux_8c_a581b991f3ee0dc610d684f27dce120ae_icgraph" alt=""/></div>
|
||||||
|
<map name="adeux_8c_a581b991f3ee0dc610d684f27dce120ae_icgraph" id="adeux_8c_a581b991f3ee0dc610d684f27dce120ae_icgraph">
|
||||||
|
<area shape="rect" title="Ajoute une candidature dans la liste des candidatures associées au candidat correspondant dans les pa..." alt="" coords="632,5,763,31"/>
|
||||||
|
<area shape="rect" href="deux_8c.html#a346ec11b7cfecb53142039ba1125e31e" title="Permet au candidat de déposer une candidature." alt="" coords="411,5,584,31"/>
|
||||||
|
<area shape="rect" href="un_8c.html#afbbe421616435be6078263aaa641a2d0" title="Affiche le menu des candidats et permet l'appel des fonctions suivant le choix de l'utilisateur." alt="" coords="256,5,363,31"/>
|
||||||
|
<area shape="rect" href="un_8c.html#adfbaa271f44d828c6a42ce7e9affee88" title="Affiche le menu principal et permet l'appel des menus candidats/administrateurs/responsables suivant ..." alt="" coords="104,5,208,31"/>
|
||||||
|
<area shape="rect" href="main_8c.html#a840291bc02cba5474a4cb46a9b9566fe" title=" " alt="" coords="5,5,56,31"/>
|
||||||
|
</map>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a id="a6b5755efb0bb15c7ee98372c76763fa1" name="a6b5755efb0bb15c7ee98372c76763fa1"></a>
|
||||||
|
<h2 class="memtitle"><span class="permalink"><a href="#a6b5755efb0bb15c7ee98372c76763fa1">◆ </a></span>checkCandidature()</h2>
|
||||||
|
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">int checkCandidature </td>
|
||||||
|
<td>(</td>
|
||||||
|
<td class="paramtype"><a class="el" href="struct_candidat.html">Candidat</a> * </td>
|
||||||
|
<td class="paramname"><em>candidat</em>, </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="paramkey"></td>
|
||||||
|
<td></td>
|
||||||
|
<td class="paramtype"><a class="el" href="struct_candidature.html">Candidature</a> </td>
|
||||||
|
<td class="paramname"><em>candid</em> </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td></td>
|
||||||
|
<td>)</td>
|
||||||
|
<td></td><td></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
|
||||||
|
<p>Verifie si la candidature à ajouter n'existe pas déjà </p>
|
||||||
|
<dl class="params"><dt>Parameters</dt><dd>
|
||||||
|
<table class="params">
|
||||||
|
<tr><td class="paramname">candidat</td><td>Adresse du candidat auquel on veut ajouter une candidature </td></tr>
|
||||||
|
<tr><td class="paramname">candidature</td><td><a class="el" href="struct_candidature.html">Candidature</a> à vérifier </td></tr>
|
||||||
|
</table>
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
<dl class="section return"><dt>Returns</dt><dd>Retourne -1 si la candidature existe déjà et 0 sinon </dd></dl>
|
||||||
|
|
||||||
|
<p class="definition">Definition at line <a class="el" href="deux_8c_source.html#l00114">114</a> of file <a class="el" href="deux_8c_source.html">deux.c</a>.</p>
|
||||||
|
<div class="dynheader">
|
||||||
|
Here is the caller graph for this function:</div>
|
||||||
|
<div class="dyncontent">
|
||||||
|
<div class="center"><img src="deux_8c_a6b5755efb0bb15c7ee98372c76763fa1_icgraph.png" border="0" usemap="#adeux_8c_a6b5755efb0bb15c7ee98372c76763fa1_icgraph" alt=""/></div>
|
||||||
|
<map name="adeux_8c_a6b5755efb0bb15c7ee98372c76763fa1_icgraph" id="adeux_8c_a6b5755efb0bb15c7ee98372c76763fa1_icgraph">
|
||||||
|
<area shape="rect" title="Verifie si la candidature à ajouter n'existe pas déjà" alt="" coords="632,5,759,31"/>
|
||||||
|
<area shape="rect" href="deux_8c.html#a346ec11b7cfecb53142039ba1125e31e" title="Permet au candidat de déposer une candidature." alt="" coords="411,5,584,31"/>
|
||||||
|
<area shape="rect" href="un_8c.html#afbbe421616435be6078263aaa641a2d0" title="Affiche le menu des candidats et permet l'appel des fonctions suivant le choix de l'utilisateur." alt="" coords="256,5,363,31"/>
|
||||||
|
<area shape="rect" href="un_8c.html#adfbaa271f44d828c6a42ce7e9affee88" title="Affiche le menu principal et permet l'appel des menus candidats/administrateurs/responsables suivant ..." alt="" coords="104,5,208,31"/>
|
||||||
|
<area shape="rect" href="main_8c.html#a840291bc02cba5474a4cb46a9b9566fe" title=" " alt="" coords="5,5,56,31"/>
|
||||||
|
</map>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a id="aa29d659a5a7e104d16453fb638aa7879" name="aa29d659a5a7e104d16453fb638aa7879"></a>
|
||||||
|
<h2 class="memtitle"><span class="permalink"><a href="#aa29d659a5a7e104d16453fb638aa7879">◆ </a></span>compareCandidats()</h2>
|
||||||
|
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">int compareCandidats </td>
|
||||||
|
<td>(</td>
|
||||||
|
<td class="paramtype">const void * </td>
|
||||||
|
<td class="paramname"><em>c1</em>, </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="paramkey"></td>
|
||||||
|
<td></td>
|
||||||
|
<td class="paramtype">const void * </td>
|
||||||
|
<td class="paramname"><em>c2</em> </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td></td>
|
||||||
|
<td>)</td>
|
||||||
|
<td></td><td></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
|
||||||
|
<p>Compare deux candidats suivant l'ordre alphabetique. </p>
|
||||||
|
<dl class="params"><dt>Parameters</dt><dd>
|
||||||
|
<table class="params">
|
||||||
|
<tr><td class="paramname">c1</td><td><a class="el" href="struct_candidat.html">Candidat</a> 1 </td></tr>
|
||||||
|
<tr><td class="paramname">c2</td><td><a class="el" href="struct_candidat.html">Candidat</a> 2 </td></tr>
|
||||||
|
</table>
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
<dl class="section return"><dt>Returns</dt><dd><0 si le candidat 1 est avant le candidat 2 dans l'ordre alphabetique, >0 si le candidat 2 est avant le candidat 1 dans l'ordre alphabetique et 0 si ils sont homonymes </dd></dl>
|
||||||
|
|
||||||
|
<p class="definition">Definition at line <a class="el" href="deux_8c_source.html#l00323">323</a> of file <a class="el" href="deux_8c_source.html">deux.c</a>.</p>
|
||||||
|
<div class="dynheader">
|
||||||
|
Here is the caller graph for this function:</div>
|
||||||
|
<div class="dyncontent">
|
||||||
|
<div class="center"><img src="deux_8c_aa29d659a5a7e104d16453fb638aa7879_icgraph.png" border="0" usemap="#adeux_8c_aa29d659a5a7e104d16453fb638aa7879_icgraph" alt=""/></div>
|
||||||
|
<map name="adeux_8c_aa29d659a5a7e104d16453fb638aa7879_icgraph" id="adeux_8c_aa29d659a5a7e104d16453fb638aa7879_icgraph">
|
||||||
|
<area shape="rect" title="Compare deux candidats suivant l'ordre alphabetique." alt="" coords="669,31,800,56"/>
|
||||||
|
<area shape="rect" href="trois_8c.html#a79f0be18b92bd7bf1422858e922cbc52" title="Affiche les candidatures pour un seul département dans un IUT." alt="" coords="435,5,621,31"/>
|
||||||
|
<area shape="rect" href="deux_8c.html#af5b94a22bd855987ee7db353ce1cc00a" title="Affiche tous les candidats triés par nom." alt="" coords="452,55,604,80"/>
|
||||||
|
<area shape="rect" href="un_8c.html#a5ae624d9f4129de2756601355b4a9ecb" title="Affiche le menu des responsables et permet l'appel des fonctions suivant le choix de l'utilisateur." alt="" coords="256,5,387,31"/>
|
||||||
|
<area shape="rect" href="un_8c.html#adfbaa271f44d828c6a42ce7e9affee88" title="Affiche le menu principal et permet l'appel des menus candidats/administrateurs/responsables suivant ..." alt="" coords="104,31,208,56"/>
|
||||||
|
<area shape="rect" href="main_8c.html#a840291bc02cba5474a4cb46a9b9566fe" title=" " alt="" coords="5,31,56,56"/>
|
||||||
|
<area shape="rect" href="un_8c.html#a7e91197935e5f2f6df2a2f2b6b05fd98" title="Affiche le menu des administrateurs et permet l'appel des fonctions suivant le choix de l'utilisateur..." alt="" coords="276,55,367,80"/>
|
||||||
|
</map>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a id="a9fd89bafa880d71f757f84466bd9141d" name="a9fd89bafa880d71f757f84466bd9141d"></a>
|
||||||
|
<h2 class="memtitle"><span class="permalink"><a href="#a9fd89bafa880d71f757f84466bd9141d">◆ </a></span>creerCandidat()</h2>
|
||||||
|
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname"><a class="el" href="struct_candidat.html">Candidat</a> * creerCandidat </td>
|
||||||
|
<td>(</td>
|
||||||
|
<td class="paramtype">void </td>
|
||||||
|
<td class="paramname"></td><td>)</td>
|
||||||
|
<td></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
|
||||||
|
<p>Alloue de la mémoire de la taille d'une structure <a class="el" href="struct_candidat.html">Candidat</a> avec un malloc. </p>
|
||||||
|
<dl class="section return"><dt>Returns</dt><dd>Retourne l'adresse générée par le malloc </dd></dl>
|
||||||
|
|
||||||
|
<p class="definition">Definition at line <a class="el" href="deux_8c_source.html#l00018">18</a> of file <a class="el" href="deux_8c_source.html">deux.c</a>.</p>
|
||||||
|
<div class="dynheader">
|
||||||
|
Here is the caller graph for this function:</div>
|
||||||
|
<div class="dyncontent">
|
||||||
|
<div class="center"><img src="deux_8c_a9fd89bafa880d71f757f84466bd9141d_icgraph.png" border="0" usemap="#adeux_8c_a9fd89bafa880d71f757f84466bd9141d_icgraph" alt=""/></div>
|
||||||
|
<map name="adeux_8c_a9fd89bafa880d71f757f84466bd9141d_icgraph" id="adeux_8c_a9fd89bafa880d71f757f84466bd9141d_icgraph">
|
||||||
|
<area shape="rect" title="Alloue de la mémoire de la taille d'une structure Candidat avec un malloc." alt="" coords="605,31,708,56"/>
|
||||||
|
<area shape="rect" href="un_8c.html#a56a001ef4c52c974a624fa17c000f927" title="Propose à l'utilisateur de se connecter avec son id ou de créer son compte étudiant...." alt="" coords="411,5,557,31"/>
|
||||||
|
<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="256,56,363,81"/>
|
||||||
|
<area shape="rect" href="un_8c.html#afbbe421616435be6078263aaa641a2d0" title="Affiche le menu des candidats et permet l'appel des fonctions suivant le choix de l'utilisateur." alt="" coords="256,7,363,32"/>
|
||||||
|
<area shape="rect" href="un_8c.html#adfbaa271f44d828c6a42ce7e9affee88" title="Affiche le menu principal et permet l'appel des menus candidats/administrateurs/responsables suivant ..." alt="" coords="104,32,208,57"/>
|
||||||
|
<area shape="rect" href="main_8c.html#a840291bc02cba5474a4cb46a9b9566fe" title=" " alt="" coords="5,32,56,57"/>
|
||||||
|
</map>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a id="a8a7f12cc6517d640aea8a0d80797737a" name="a8a7f12cc6517d640aea8a0d80797737a"></a>
|
||||||
|
<h2 class="memtitle"><span class="permalink"><a href="#a8a7f12cc6517d640aea8a0d80797737a">◆ </a></span>creerCandidature()</h2>
|
||||||
|
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname"><a class="el" href="struct_candidature.html">Candidature</a> * creerCandidature </td>
|
||||||
|
<td>(</td>
|
||||||
|
<td class="paramtype">void </td>
|
||||||
|
<td class="paramname"></td><td>)</td>
|
||||||
|
<td></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
|
||||||
|
<p>Alloue de la mémoire de la taille d'une structure <a class="el" href="struct_candidature.html">Candidature</a> avec un malloc avec les valeurs par défaut à 0 pour les variables décision & validation. </p>
|
||||||
|
<dl class="section return"><dt>Returns</dt><dd>Retourne l'adresse générée par le malloc </dd></dl>
|
||||||
|
|
||||||
|
<p class="definition">Definition at line <a class="el" href="deux_8c_source.html#l00029">29</a> of file <a class="el" href="deux_8c_source.html">deux.c</a>.</p>
|
||||||
|
<div class="dynheader">
|
||||||
|
Here is the caller graph for this function:</div>
|
||||||
|
<div class="dyncontent">
|
||||||
|
<div class="center"><img src="deux_8c_a8a7f12cc6517d640aea8a0d80797737a_icgraph.png" border="0" usemap="#adeux_8c_a8a7f12cc6517d640aea8a0d80797737a_icgraph" alt=""/></div>
|
||||||
|
<map name="adeux_8c_a8a7f12cc6517d640aea8a0d80797737a_icgraph" id="adeux_8c_a8a7f12cc6517d640aea8a0d80797737a_icgraph">
|
||||||
|
<area shape="rect" title="Alloue de la mémoire de la taille d'une structure Candidature avec un malloc avec les valeurs par déf..." alt="" coords="632,5,753,31"/>
|
||||||
|
<area shape="rect" href="deux_8c.html#a346ec11b7cfecb53142039ba1125e31e" title="Permet au candidat de déposer une candidature." alt="" coords="411,5,584,31"/>
|
||||||
|
<area shape="rect" href="un_8c.html#afbbe421616435be6078263aaa641a2d0" title="Affiche le menu des candidats et permet l'appel des fonctions suivant le choix de l'utilisateur." alt="" coords="256,5,363,31"/>
|
||||||
|
<area shape="rect" href="un_8c.html#adfbaa271f44d828c6a42ce7e9affee88" title="Affiche le menu principal et permet l'appel des menus candidats/administrateurs/responsables suivant ..." alt="" coords="104,5,208,31"/>
|
||||||
|
<area shape="rect" href="main_8c.html#a840291bc02cba5474a4cb46a9b9566fe" title=" " alt="" coords="5,5,56,31"/>
|
||||||
|
</map>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a id="a346ec11b7cfecb53142039ba1125e31e" name="a346ec11b7cfecb53142039ba1125e31e"></a>
|
||||||
|
<h2 class="memtitle"><span class="permalink"><a href="#a346ec11b7cfecb53142039ba1125e31e">◆ </a></span>menuCandidat_candidater()</h2>
|
||||||
|
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">void menuCandidat_candidater </td>
|
||||||
|
<td>(</td>
|
||||||
|
<td class="paramtype"><a class="el" href="struct_ville_i_u_t.html">VilleIUT</a> ** </td>
|
||||||
|
<td class="paramname"><em>tiut</em>, </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="paramkey"></td>
|
||||||
|
<td></td>
|
||||||
|
<td class="paramtype">int </td>
|
||||||
|
<td class="paramname"><em>nbVilles</em>, </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="paramkey"></td>
|
||||||
|
<td></td>
|
||||||
|
<td class="paramtype"><a class="el" href="struct_candidat.html">Candidat</a> * </td>
|
||||||
|
<td class="paramname"><em>candidat</em> </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td></td>
|
||||||
|
<td>)</td>
|
||||||
|
<td></td><td></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
|
||||||
|
<p>Permet au candidat de déposer une candidature. </p>
|
||||||
|
<dl class="params"><dt>Parameters</dt><dd>
|
||||||
|
<table class="params">
|
||||||
|
<tr><td class="paramname">tiut</td><td>Tableau de pointeur sur la structure <a class="el" href="struct_ville_i_u_t.html">VilleIUT</a> </td></tr>
|
||||||
|
<tr><td class="paramname">nbVilles</td><td>Nombre de villes ayant un IUT </td></tr>
|
||||||
|
<tr><td class="paramname">candidat</td><td>Adresse du candidat qui veut déposer une candidature </td></tr>
|
||||||
|
</table>
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
|
||||||
|
<p class="definition">Definition at line <a class="el" href="deux_8c_source.html#l00063">63</a> of file <a class="el" href="deux_8c_source.html">deux.c</a>.</p>
|
||||||
|
<div class="dynheader">
|
||||||
|
Here is the call graph for this function:</div>
|
||||||
|
<div class="dyncontent">
|
||||||
|
<div class="center"><img src="deux_8c_a346ec11b7cfecb53142039ba1125e31e_cgraph.png" border="0" usemap="#adeux_8c_a346ec11b7cfecb53142039ba1125e31e_cgraph" alt=""/></div>
|
||||||
|
<map name="adeux_8c_a346ec11b7cfecb53142039ba1125e31e_cgraph" id="adeux_8c_a346ec11b7cfecb53142039ba1125e31e_cgraph">
|
||||||
|
<area shape="rect" title="Permet au candidat de déposer une candidature." alt="" coords="5,80,179,105"/>
|
||||||
|
<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="227,5,357,31"/>
|
||||||
|
<area shape="rect" href="deux_8c.html#a6b5755efb0bb15c7ee98372c76763fa1" title="Verifie si la candidature à ajouter n'existe pas déjà" alt="" coords="229,55,355,80"/>
|
||||||
|
<area shape="rect" href="deux_8c.html#a8a7f12cc6517d640aea8a0d80797737a" title="Alloue de la mémoire de la taille d'une structure Candidature avec un malloc avec les valeurs par déf..." alt="" coords="231,104,353,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="238,153,346,179"/>
|
||||||
|
</map>
|
||||||
|
</div>
|
||||||
|
<div class="dynheader">
|
||||||
|
Here is the caller graph for this function:</div>
|
||||||
|
<div class="dyncontent">
|
||||||
|
<div class="center"><img src="deux_8c_a346ec11b7cfecb53142039ba1125e31e_icgraph.png" border="0" usemap="#adeux_8c_a346ec11b7cfecb53142039ba1125e31e_icgraph" alt=""/></div>
|
||||||
|
<map name="adeux_8c_a346ec11b7cfecb53142039ba1125e31e_icgraph" id="adeux_8c_a346ec11b7cfecb53142039ba1125e31e_icgraph">
|
||||||
|
<area shape="rect" title="Permet au candidat de déposer une candidature." alt="" coords="411,5,584,31"/>
|
||||||
|
<area shape="rect" href="un_8c.html#afbbe421616435be6078263aaa641a2d0" title="Affiche le menu des candidats et permet l'appel des fonctions suivant le choix de l'utilisateur." alt="" coords="256,5,363,31"/>
|
||||||
|
<area shape="rect" href="un_8c.html#adfbaa271f44d828c6a42ce7e9affee88" title="Affiche le menu principal et permet l'appel des menus candidats/administrateurs/responsables suivant ..." alt="" coords="104,5,208,31"/>
|
||||||
|
<area shape="rect" href="main_8c.html#a840291bc02cba5474a4cb46a9b9566fe" title=" " alt="" coords="5,5,56,31"/>
|
||||||
|
</map>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a id="ab23f833bdb8e7e5f6705a427b803940c" name="ab23f833bdb8e7e5f6705a427b803940c"></a>
|
||||||
|
<h2 class="memtitle"><span class="permalink"><a href="#ab23f833bdb8e7e5f6705a427b803940c">◆ </a></span>readCandidats()</h2>
|
||||||
|
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname"><a class="el" href="structures_8h.html#add449d43ae5a45a35a5a0d355b17d74e">ListeCandidats</a> readCandidats </td>
|
||||||
|
<td>(</td>
|
||||||
|
<td class="paramtype">int * </td>
|
||||||
|
<td class="paramname"><em>nbCandidats</em></td><td>)</td>
|
||||||
|
<td></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
|
||||||
|
<p>Lit la liste des candidats dans le fichier texte candidats.don puis les met dans la structure ListeCandidats. </p>
|
||||||
|
<dl class="params"><dt>Parameters</dt><dd>
|
||||||
|
<table class="params">
|
||||||
|
<tr><td class="paramname">nbCandidats</td><td>Adresse de la variable qui va contenir le nombre de candidats dans le fichier candidats.don </td></tr>
|
||||||
|
</table>
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
<dl class="section return"><dt>Returns</dt><dd>Renvoie la liste des candidats </dd></dl>
|
||||||
|
|
||||||
|
<p class="definition">Definition at line <a class="el" href="deux_8c_source.html#l00263">263</a> of file <a class="el" href="deux_8c_source.html">deux.c</a>.</p>
|
||||||
|
<div class="dynheader">
|
||||||
|
Here is the call graph for this function:</div>
|
||||||
|
<div class="dyncontent">
|
||||||
|
<div class="center"><img src="deux_8c_ab23f833bdb8e7e5f6705a427b803940c_cgraph.png" border="0" usemap="#adeux_8c_ab23f833bdb8e7e5f6705a427b803940c_cgraph" alt=""/></div>
|
||||||
|
<map name="adeux_8c_ab23f833bdb8e7e5f6705a427b803940c_cgraph" id="adeux_8c_ab23f833bdb8e7e5f6705a427b803940c_cgraph">
|
||||||
|
<area shape="rect" title="Lit la liste des candidats dans le fichier texte candidats.don puis les met dans la structure ListeCa..." alt="" coords="5,5,112,31"/>
|
||||||
|
<area shape="rect" href="deux_8c.html#a9fd89bafa880d71f757f84466bd9141d" title="Alloue de la mémoire de la taille d'une structure Candidat avec un malloc." alt="" coords="160,5,263,31"/>
|
||||||
|
</map>
|
||||||
|
</div>
|
||||||
|
<div class="dynheader">
|
||||||
|
Here is the caller graph for this function:</div>
|
||||||
|
<div class="dyncontent">
|
||||||
|
<div class="center"><img src="deux_8c_ab23f833bdb8e7e5f6705a427b803940c_icgraph.png" border="0" usemap="#adeux_8c_ab23f833bdb8e7e5f6705a427b803940c_icgraph" alt=""/></div>
|
||||||
|
<map name="adeux_8c_ab23f833bdb8e7e5f6705a427b803940c_icgraph" id="adeux_8c_ab23f833bdb8e7e5f6705a427b803940c_icgraph">
|
||||||
|
<area shape="rect" title="Lit la liste des candidats dans le fichier texte candidats.don puis les met dans la structure ListeCa..." alt="" coords="256,5,363,31"/>
|
||||||
|
<area shape="rect" href="un_8c.html#adfbaa271f44d828c6a42ce7e9affee88" title="Affiche le menu principal et permet l'appel des menus candidats/administrateurs/responsables suivant ..." alt="" coords="104,5,208,31"/>
|
||||||
|
<area shape="rect" href="main_8c.html#a840291bc02cba5474a4cb46a9b9566fe" title=" " alt="" coords="5,5,56,31"/>
|
||||||
|
</map>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a id="ab69176142c7bc496d57694e11e7deb16" name="ab69176142c7bc496d57694e11e7deb16"></a>
|
||||||
|
<h2 class="memtitle"><span class="permalink"><a href="#ab69176142c7bc496d57694e11e7deb16">◆ </a></span>readStatus()</h2>
|
||||||
|
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">int readStatus </td>
|
||||||
|
<td>(</td>
|
||||||
|
<td class="paramtype">void </td>
|
||||||
|
<td class="paramname"></td><td>)</td>
|
||||||
|
<td></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
|
||||||
|
<p>Lis le status actuel de la phase de candidature (0 si la phase est arrêtée et 1 si elle est lancée) </p>
|
||||||
|
<dl class="section return"><dt>Returns</dt><dd>Retourne le status actuel de la phase de candidature </dd></dl>
|
||||||
|
|
||||||
|
<p class="definition">Definition at line <a class="el" href="deux_8c_source.html#l00376">376</a> of file <a class="el" href="deux_8c_source.html">deux.c</a>.</p>
|
||||||
|
<div class="dynheader">
|
||||||
|
Here is the caller graph for this function:</div>
|
||||||
|
<div class="dyncontent">
|
||||||
|
<div class="center"><img src="deux_8c_ab69176142c7bc496d57694e11e7deb16_icgraph.png" border="0" usemap="#adeux_8c_ab69176142c7bc496d57694e11e7deb16_icgraph" alt=""/></div>
|
||||||
|
<map name="adeux_8c_ab69176142c7bc496d57694e11e7deb16_icgraph" id="adeux_8c_ab69176142c7bc496d57694e11e7deb16_icgraph">
|
||||||
|
<area shape="rect" 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="689,59,775,84"/>
|
||||||
|
<area shape="rect" href="un_8c.html#a7e91197935e5f2f6df2a2f2b6b05fd98" title="Affiche le menu des administrateurs et permet l'appel des fonctions suivant le choix de l'utilisateur..." alt="" coords="264,33,355,59"/>
|
||||||
|
<area shape="rect" href="un_8c.html#adfbaa271f44d828c6a42ce7e9affee88" title="Affiche le menu principal et permet l'appel des menus candidats/administrateurs/responsables suivant ..." alt="" coords="104,84,208,109"/>
|
||||||
|
<area shape="rect" href="un_8c.html#adc8300a25cc0383b24c755c4bbfd91ec" title="Fonction permettant à l'utilisateur administrateur de supprimer un département existant." alt="" coords="411,33,641,59"/>
|
||||||
|
<area shape="rect" href="un_8c.html#afbbe421616435be6078263aaa641a2d0" title="Affiche le menu des candidats et permet l'appel des fonctions suivant le choix de l'utilisateur." alt="" coords="256,135,363,160"/>
|
||||||
|
<area shape="rect" href="main_8c.html#a840291bc02cba5474a4cb46a9b9566fe" title=" " alt="" coords="5,84,56,109"/>
|
||||||
|
</map>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a id="a144c1ecbcf346d4181e31a558ba84ac5" name="a144c1ecbcf346d4181e31a558ba84ac5"></a>
|
||||||
|
<h2 class="memtitle"><span class="permalink"><a href="#a144c1ecbcf346d4181e31a558ba84ac5">◆ </a></span>saveCandidats()</h2>
|
||||||
|
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">int saveCandidats </td>
|
||||||
|
<td>(</td>
|
||||||
|
<td class="paramtype"><a class="el" href="structures_8h.html#add449d43ae5a45a35a5a0d355b17d74e">ListeCandidats</a> </td>
|
||||||
|
<td class="paramname"><em>liste</em>, </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="paramkey"></td>
|
||||||
|
<td></td>
|
||||||
|
<td class="paramtype">int </td>
|
||||||
|
<td class="paramname"><em>nbCandidats</em> </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td></td>
|
||||||
|
<td>)</td>
|
||||||
|
<td></td><td></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
|
||||||
|
<p>Enregistre la liste des candidats dans le fichier texte candidats.don. </p>
|
||||||
|
<dl class="params"><dt>Parameters</dt><dd>
|
||||||
|
<table class="params">
|
||||||
|
<tr><td class="paramname">liste</td><td>Tableau de pointeur sur la structure <a class="el" href="struct_candidat.html">Candidat</a> </td></tr>
|
||||||
|
<tr><td class="paramname">nbCandidats</td><td>Nombre de candidats dans la liste des candidats </td></tr>
|
||||||
|
</table>
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
<dl class="section return"><dt>Returns</dt><dd>Renvoie -1 si il y a eu un problème de lecture du fichier et 0 si tout s'est bien passé </dd></dl>
|
||||||
|
|
||||||
|
<p class="definition">Definition at line <a class="el" href="deux_8c_source.html#l00337">337</a> of file <a class="el" href="deux_8c_source.html">deux.c</a>.</p>
|
||||||
|
<div class="dynheader">
|
||||||
|
Here is the caller graph for this function:</div>
|
||||||
|
<div class="dyncontent">
|
||||||
|
<div class="center"><img src="deux_8c_a144c1ecbcf346d4181e31a558ba84ac5_icgraph.png" border="0" usemap="#adeux_8c_a144c1ecbcf346d4181e31a558ba84ac5_icgraph" alt=""/></div>
|
||||||
|
<map name="adeux_8c_a144c1ecbcf346d4181e31a558ba84ac5_icgraph" id="adeux_8c_a144c1ecbcf346d4181e31a558ba84ac5_icgraph">
|
||||||
|
<area shape="rect" title="Enregistre la liste des candidats dans le fichier texte candidats.don." alt="" coords="256,5,365,31"/>
|
||||||
|
<area shape="rect" href="un_8c.html#adfbaa271f44d828c6a42ce7e9affee88" title="Affiche le menu principal et permet l'appel des menus candidats/administrateurs/responsables suivant ..." alt="" coords="104,5,208,31"/>
|
||||||
|
<area shape="rect" href="main_8c.html#a840291bc02cba5474a4cb46a9b9566fe" title=" " alt="" coords="5,5,56,31"/>
|
||||||
|
</map>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a id="a3bba1ba5f848dde11fbc93cab5278878" name="a3bba1ba5f848dde11fbc93cab5278878"></a>
|
||||||
|
<h2 class="memtitle"><span class="permalink"><a href="#a3bba1ba5f848dde11fbc93cab5278878">◆ </a></span>saveStatus()</h2>
|
||||||
|
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">void saveStatus </td>
|
||||||
|
<td>(</td>
|
||||||
|
<td class="paramtype">int </td>
|
||||||
|
<td class="paramname"><em>status</em></td><td>)</td>
|
||||||
|
<td></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
|
||||||
|
<p>Enregistre sur le fichier texte status.don le status actuel de la phase de candidature (0 si la phase est arrêtée et 1 si elle est lancée) </p>
|
||||||
|
<dl class="params"><dt>Parameters</dt><dd>
|
||||||
|
<table class="params">
|
||||||
|
<tr><td class="paramname">status</td><td>le status actuel de la phase de candidature </td></tr>
|
||||||
|
</table>
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
|
||||||
|
<p class="definition">Definition at line <a class="el" href="deux_8c_source.html#l00393">393</a> of file <a class="el" href="deux_8c_source.html">deux.c</a>.</p>
|
||||||
|
<div class="dynheader">
|
||||||
|
Here is the caller graph for this function:</div>
|
||||||
|
<div class="dyncontent">
|
||||||
|
<div class="center"><img src="deux_8c_a3bba1ba5f848dde11fbc93cab5278878_icgraph.png" border="0" usemap="#adeux_8c_a3bba1ba5f848dde11fbc93cab5278878_icgraph" alt=""/></div>
|
||||||
|
<map name="adeux_8c_a3bba1ba5f848dde11fbc93cab5278878_icgraph" id="adeux_8c_a3bba1ba5f848dde11fbc93cab5278878_icgraph">
|
||||||
|
<area shape="rect" title="Enregistre sur le fichier texte status.don le status actuel de la phase de candidature (0 si la phase..." alt="" coords="395,5,483,31"/>
|
||||||
|
<area shape="rect" href="un_8c.html#a7e91197935e5f2f6df2a2f2b6b05fd98" title="Affiche le menu des administrateurs et permet l'appel des fonctions suivant le choix de l'utilisateur..." alt="" coords="256,5,347,31"/>
|
||||||
|
<area shape="rect" href="un_8c.html#adfbaa271f44d828c6a42ce7e9affee88" title="Affiche le menu principal et permet l'appel des menus candidats/administrateurs/responsables suivant ..." alt="" coords="104,5,208,31"/>
|
||||||
|
<area shape="rect" href="main_8c.html#a840291bc02cba5474a4cb46a9b9566fe" title=" " alt="" coords="5,5,56,31"/>
|
||||||
|
</map>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div><!-- contents -->
|
||||||
|
<!-- start footer part -->
|
||||||
|
<hr class="footer"/><address class="footer"><small>
|
||||||
|
Generated by <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>
|
@ -0,0 +1,5 @@
|
|||||||
|
<map id="/Users/alloux/SAE102_2022_GOIGOUX_JEUDI/src/II/deux.c" name="/Users/alloux/SAE102_2022_GOIGOUX_JEUDI/src/II/deux.c">
|
||||||
|
<area shape="rect" id="node1" title="Partie 2 de la SAE 1.02." alt="" coords="5,5,201,60"/>
|
||||||
|
<area shape="rect" id="node2" href="$un_8c.html" title="Partie 1 de la SAE 1.02." alt="" coords="5,108,201,163"/>
|
||||||
|
<area shape="rect" id="node3" href="$main_8c.html" title="Exécutable principal du programme." alt="" coords="5,211,201,265"/>
|
||||||
|
</map>
|
@ -0,0 +1 @@
|
|||||||
|
c45698cad6582cc5f1680855bef7dda3
|
After Width: | Height: | Size: 16 KiB |
@ -0,0 +1,14 @@
|
|||||||
|
<map id="/Users/alloux/SAE102_2022_GOIGOUX_JEUDI/src/II/deux.c" name="/Users/alloux/SAE102_2022_GOIGOUX_JEUDI/src/II/deux.c">
|
||||||
|
<area shape="rect" id="node1" title="Partie 2 de la SAE 1.02." alt="" coords="337,5,533,60"/>
|
||||||
|
<area shape="rect" id="node2" title=" " alt="" coords="555,255,616,280"/>
|
||||||
|
<area shape="rect" id="node3" title=" " alt="" coords="5,255,69,280"/>
|
||||||
|
<area shape="rect" id="node4" title=" " alt="" coords="94,255,159,280"/>
|
||||||
|
<area shape="rect" id="node5" title=" " alt="" coords="467,255,530,280"/>
|
||||||
|
<area shape="rect" id="node6" href="$deux_8h.html" title="Partie 2 de la SAE 1.02." alt="" coords="549,108,611,133"/>
|
||||||
|
<area shape="rect" id="node7" href="$trois_8c.html" title=" " alt="" coords="315,108,402,133"/>
|
||||||
|
<area shape="rect" id="node8" title=" " alt="" coords="371,255,443,280"/>
|
||||||
|
<area shape="rect" id="node9" href="$trois_8h.html" title=" " alt="" coords="133,181,192,207"/>
|
||||||
|
<area shape="rect" id="node10" href="$quatre_8c.html" title="Partie 4 de la SAE 1.02." alt="" coords="267,181,365,207"/>
|
||||||
|
<area shape="rect" id="node11" title=" " alt="" coords="278,255,346,280"/>
|
||||||
|
<area shape="rect" id="node12" href="$quatre_8h.html" title="Partie 4 de la SAE 1.02." alt="" coords="184,255,253,280"/>
|
||||||
|
</map>
|
@ -0,0 +1 @@
|
|||||||
|
aa307c484b4e93838bb395e912657789
|
After Width: | Height: | Size: 48 KiB |
@ -0,0 +1,5 @@
|
|||||||
|
<map id="saveCandidats" name="saveCandidats">
|
||||||
|
<area shape="rect" id="node1" title="Enregistre la liste des candidats dans le fichier texte candidats.don." alt="" coords="256,5,365,31"/>
|
||||||
|
<area shape="rect" id="node2" href="$un_8c.html#adfbaa271f44d828c6a42ce7e9affee88" title="Affiche le menu principal et permet l'appel des menus candidats/administrateurs/responsables suivant ..." alt="" coords="104,5,208,31"/>
|
||||||
|
<area shape="rect" id="node3" href="$main_8c.html#a840291bc02cba5474a4cb46a9b9566fe" title=" " alt="" coords="5,5,56,31"/>
|
||||||
|
</map>
|
@ -0,0 +1 @@
|
|||||||
|
45b523d68a2926b19b987917d6467336
|
After Width: | Height: | Size: 4.0 KiB |
@ -0,0 +1,7 @@
|
|||||||
|
<map id="menuCandidat_candidater" name="menuCandidat_candidater">
|
||||||
|
<area shape="rect" id="node1" title="Permet au candidat de déposer une candidature." alt="" coords="5,80,179,105"/>
|
||||||
|
<area shape="rect" id="node2" href="$deux_8c.html#a581b991f3ee0dc610d684f27dce120ae" title="Ajoute une candidature dans la liste des candidatures associées au candidat correspondant dans les pa..." alt="" coords="227,5,357,31"/>
|
||||||
|
<area shape="rect" id="node3" href="$deux_8c.html#a6b5755efb0bb15c7ee98372c76763fa1" title="Verifie si la candidature à ajouter n'existe pas déjà" alt="" coords="229,55,355,80"/>
|
||||||
|
<area shape="rect" id="node4" href="$deux_8c.html#a8a7f12cc6517d640aea8a0d80797737a" title="Alloue de la mémoire de la taille d'une structure Candidature avec un malloc avec les valeurs par déf..." alt="" coords="231,104,353,129"/>
|
||||||
|
<area shape="rect" id="node5" href="$un_8c.html#a2a08d27051520d60755e7efa40492106" title="Fonction de recherche pour trouver la position de la ville recherchée dans le tableau tiut." alt="" coords="238,153,346,179"/>
|
||||||
|
</map>
|
@ -0,0 +1 @@
|
|||||||
|
062a180f30323c5eb32271d7cdd43d69
|
After Width: | Height: | Size: 13 KiB |
@ -0,0 +1,6 @@
|
|||||||
|
<map id="menuCandidat_candidater" name="menuCandidat_candidater">
|
||||||
|
<area shape="rect" id="node1" title="Permet au candidat de déposer une candidature." alt="" coords="411,5,584,31"/>
|
||||||
|
<area shape="rect" id="node2" href="$un_8c.html#afbbe421616435be6078263aaa641a2d0" title="Affiche le menu des candidats et permet l'appel des fonctions suivant le choix de l'utilisateur." alt="" coords="256,5,363,31"/>
|
||||||
|
<area shape="rect" id="node3" href="$un_8c.html#adfbaa271f44d828c6a42ce7e9affee88" title="Affiche le menu principal et permet l'appel des menus candidats/administrateurs/responsables suivant ..." alt="" coords="104,5,208,31"/>
|
||||||
|
<area shape="rect" id="node4" href="$main_8c.html#a840291bc02cba5474a4cb46a9b9566fe" title=" " alt="" coords="5,5,56,31"/>
|
||||||
|
</map>
|
@ -0,0 +1 @@
|
|||||||
|
54486522256e1d936facfee38276c3e1
|
After Width: | Height: | Size: 5.3 KiB |
@ -0,0 +1,6 @@
|
|||||||
|
<map id="saveStatus" name="saveStatus">
|
||||||
|
<area shape="rect" id="node1" title="Enregistre sur le fichier texte status.don le status actuel de la phase de candidature (0 si la phase..." alt="" coords="395,5,483,31"/>
|
||||||
|
<area shape="rect" id="node2" href="$un_8c.html#a7e91197935e5f2f6df2a2f2b6b05fd98" title="Affiche le menu des administrateurs et permet l'appel des fonctions suivant le choix de l'utilisateur..." alt="" coords="256,5,347,31"/>
|
||||||
|
<area shape="rect" id="node3" href="$un_8c.html#adfbaa271f44d828c6a42ce7e9affee88" title="Affiche le menu principal et permet l'appel des menus candidats/administrateurs/responsables suivant ..." alt="" coords="104,5,208,31"/>
|
||||||
|
<area shape="rect" id="node4" href="$main_8c.html#a840291bc02cba5474a4cb46a9b9566fe" title=" " alt="" coords="5,5,56,31"/>
|
||||||
|
</map>
|
@ -0,0 +1 @@
|
|||||||
|
65b9f1a0df9eb0e21c4f97971074add4
|
After Width: | Height: | Size: 4.4 KiB |
@ -0,0 +1,3 @@
|
|||||||
|
<map id="afficherCandidatures" name="afficherCandidatures">
|
||||||
|
<area shape="rect" id="node1" title="Affiche récursivement toutes les candidatures d'un seul candidat." alt="" coords="5,29,148,55"/>
|
||||||
|
</map>
|
@ -0,0 +1 @@
|
|||||||
|
68edd7d9ab636c84752c1057f54f0e1e
|
After Width: | Height: | Size: 3.3 KiB |
@ -0,0 +1,7 @@
|
|||||||
|
<map id="afficherCandidatures" name="afficherCandidatures">
|
||||||
|
<area shape="rect" id="node1" title="Affiche récursivement toutes les candidatures d'un seul candidat." alt="" coords="677,29,820,55"/>
|
||||||
|
<area shape="rect" id="node2" href="$quatre_8c.html#a2a562fa04bb68f6a95562a03689e587d" title="Permet de voir les candidatures et les décisions prises." alt="" coords="411,29,629,55"/>
|
||||||
|
<area shape="rect" id="node3" href="$un_8c.html#afbbe421616435be6078263aaa641a2d0" title="Affiche le menu des candidats et permet l'appel des fonctions suivant le choix de l'utilisateur." alt="" coords="256,29,363,55"/>
|
||||||
|
<area shape="rect" id="node4" href="$un_8c.html#adfbaa271f44d828c6a42ce7e9affee88" title="Affiche le menu principal et permet l'appel des menus candidats/administrateurs/responsables suivant ..." alt="" coords="104,29,208,55"/>
|
||||||
|
<area shape="rect" id="node5" href="$main_8c.html#a840291bc02cba5474a4cb46a9b9566fe" title=" " alt="" coords="5,29,56,55"/>
|
||||||
|
</map>
|
@ -0,0 +1 @@
|
|||||||
|
e7a60ece288fdec0095306c46582e9f7
|
After Width: | Height: | Size: 7.8 KiB |
@ -0,0 +1,7 @@
|
|||||||
|
<map id="ajouterCandidat" name="ajouterCandidat">
|
||||||
|
<area shape="rect" id="node1" title="Ajoute l'adresse du candidat dans le tableau de pointeur "liste"." alt="" coords="605,5,719,31"/>
|
||||||
|
<area shape="rect" id="node2" href="$un_8c.html#a56a001ef4c52c974a624fa17c000f927" title="Propose à l'utilisateur de se connecter avec son id ou de créer son compte étudiant...." alt="" coords="411,5,557,31"/>
|
||||||
|
<area shape="rect" id="node3" href="$un_8c.html#afbbe421616435be6078263aaa641a2d0" title="Affiche le menu des candidats et permet l'appel des fonctions suivant le choix de l'utilisateur." alt="" coords="256,5,363,31"/>
|
||||||
|
<area shape="rect" id="node4" href="$un_8c.html#adfbaa271f44d828c6a42ce7e9affee88" title="Affiche le menu principal et permet l'appel des menus candidats/administrateurs/responsables suivant ..." alt="" coords="104,5,208,31"/>
|
||||||
|
<area shape="rect" id="node5" href="$main_8c.html#a840291bc02cba5474a4cb46a9b9566fe" title=" " alt="" coords="5,5,56,31"/>
|
||||||
|
</map>
|
@ -0,0 +1 @@
|
|||||||
|
514a16c92bfe7ab41f9952dc644ea1cd
|
After Width: | Height: | Size: 6.0 KiB |
@ -0,0 +1,7 @@
|
|||||||
|
<map id="ajouterCandidature" name="ajouterCandidature">
|
||||||
|
<area shape="rect" id="node1" title="Ajoute une candidature dans la liste des candidatures associées au candidat correspondant dans les pa..." alt="" coords="632,5,763,31"/>
|
||||||
|
<area shape="rect" id="node2" href="$deux_8c.html#a346ec11b7cfecb53142039ba1125e31e" title="Permet au candidat de déposer une candidature." alt="" coords="411,5,584,31"/>
|
||||||
|
<area shape="rect" id="node3" href="$un_8c.html#afbbe421616435be6078263aaa641a2d0" title="Affiche le menu des candidats et permet l'appel des fonctions suivant le choix de l'utilisateur." alt="" coords="256,5,363,31"/>
|
||||||
|
<area shape="rect" id="node4" href="$un_8c.html#adfbaa271f44d828c6a42ce7e9affee88" title="Affiche le menu principal et permet l'appel des menus candidats/administrateurs/responsables suivant ..." alt="" coords="104,5,208,31"/>
|
||||||
|
<area shape="rect" id="node5" href="$main_8c.html#a840291bc02cba5474a4cb46a9b9566fe" title=" " alt="" coords="5,5,56,31"/>
|
||||||
|
</map>
|
@ -0,0 +1 @@
|
|||||||
|
f043de938efcd8fb44fee247023aad83
|
After Width: | Height: | Size: 5.6 KiB |
@ -0,0 +1,7 @@
|
|||||||
|
<map id="checkCandidature" name="checkCandidature">
|
||||||
|
<area shape="rect" id="node1" title="Verifie si la candidature à ajouter n'existe pas déjà" alt="" coords="632,5,759,31"/>
|
||||||
|
<area shape="rect" id="node2" href="$deux_8c.html#a346ec11b7cfecb53142039ba1125e31e" title="Permet au candidat de déposer une candidature." alt="" coords="411,5,584,31"/>
|
||||||
|
<area shape="rect" id="node3" href="$un_8c.html#afbbe421616435be6078263aaa641a2d0" title="Affiche le menu des candidats et permet l'appel des fonctions suivant le choix de l'utilisateur." alt="" coords="256,5,363,31"/>
|
||||||
|
<area shape="rect" id="node4" href="$un_8c.html#adfbaa271f44d828c6a42ce7e9affee88" title="Affiche le menu principal et permet l'appel des menus candidats/administrateurs/responsables suivant ..." alt="" coords="104,5,208,31"/>
|
||||||
|
<area shape="rect" id="node5" href="$main_8c.html#a840291bc02cba5474a4cb46a9b9566fe" title=" " alt="" coords="5,5,56,31"/>
|
||||||
|
</map>
|
@ -0,0 +1 @@
|
|||||||
|
be30538ce60476c6a366db1ca0b393f1
|
After Width: | Height: | Size: 5.9 KiB |
@ -0,0 +1,7 @@
|
|||||||
|
<map id="afficherCandidat" name="afficherCandidat">
|
||||||
|
<area shape="rect" id="node1" title="Affiche un candidat précis." alt="" coords="595,5,712,31"/>
|
||||||
|
<area shape="rect" id="node2" href="$deux_8c.html#af5b94a22bd855987ee7db353ce1cc00a" title="Affiche tous les candidats triés par nom." alt="" coords="395,5,547,31"/>
|
||||||
|
<area shape="rect" id="node3" href="$un_8c.html#a7e91197935e5f2f6df2a2f2b6b05fd98" title="Affiche le menu des administrateurs et permet l'appel des fonctions suivant le choix de l'utilisateur..." alt="" coords="256,5,347,31"/>
|
||||||
|
<area shape="rect" id="node4" href="$un_8c.html#adfbaa271f44d828c6a42ce7e9affee88" title="Affiche le menu principal et permet l'appel des menus candidats/administrateurs/responsables suivant ..." alt="" coords="104,5,208,31"/>
|
||||||
|
<area shape="rect" id="node5" href="$main_8c.html#a840291bc02cba5474a4cb46a9b9566fe" title=" " alt="" coords="5,5,56,31"/>
|
||||||
|
</map>
|
@ -0,0 +1 @@
|
|||||||
|
1dfd113e1ef8040e2c5d965c24920083
|
After Width: | Height: | Size: 6.4 KiB |
@ -0,0 +1,7 @@
|
|||||||
|
<map id="creerCandidature" name="creerCandidature">
|
||||||
|
<area shape="rect" id="node1" title="Alloue de la mémoire de la taille d'une structure Candidature avec un malloc avec les valeurs par déf..." alt="" coords="632,5,753,31"/>
|
||||||
|
<area shape="rect" id="node2" href="$deux_8c.html#a346ec11b7cfecb53142039ba1125e31e" title="Permet au candidat de déposer une candidature." alt="" coords="411,5,584,31"/>
|
||||||
|
<area shape="rect" id="node3" href="$un_8c.html#afbbe421616435be6078263aaa641a2d0" title="Affiche le menu des candidats et permet l'appel des fonctions suivant le choix de l'utilisateur." alt="" coords="256,5,363,31"/>
|
||||||
|
<area shape="rect" id="node4" href="$un_8c.html#adfbaa271f44d828c6a42ce7e9affee88" title="Affiche le menu principal et permet l'appel des menus candidats/administrateurs/responsables suivant ..." alt="" coords="104,5,208,31"/>
|
||||||
|
<area shape="rect" id="node5" href="$main_8c.html#a840291bc02cba5474a4cb46a9b9566fe" title=" " alt="" coords="5,5,56,31"/>
|
||||||
|
</map>
|
@ -0,0 +1 @@
|
|||||||
|
7836fc71a347cb042fc0309ab6e8cf08
|
After Width: | Height: | Size: 5.7 KiB |
@ -0,0 +1,8 @@
|
|||||||
|
<map id="creerCandidat" name="creerCandidat">
|
||||||
|
<area shape="rect" id="node1" title="Alloue de la mémoire de la taille d'une structure Candidat avec un malloc." alt="" coords="605,31,708,56"/>
|
||||||
|
<area shape="rect" id="node2" href="$un_8c.html#a56a001ef4c52c974a624fa17c000f927" title="Propose à l'utilisateur de se connecter avec son id ou de créer son compte étudiant...." alt="" coords="411,5,557,31"/>
|
||||||
|
<area shape="rect" id="node6" 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="256,56,363,81"/>
|
||||||
|
<area shape="rect" id="node3" href="$un_8c.html#afbbe421616435be6078263aaa641a2d0" title="Affiche le menu des candidats et permet l'appel des fonctions suivant le choix de l'utilisateur." alt="" coords="256,7,363,32"/>
|
||||||
|
<area shape="rect" id="node4" href="$un_8c.html#adfbaa271f44d828c6a42ce7e9affee88" title="Affiche le menu principal et permet l'appel des menus candidats/administrateurs/responsables suivant ..." alt="" coords="104,32,208,57"/>
|
||||||
|
<area shape="rect" id="node5" href="$main_8c.html#a840291bc02cba5474a4cb46a9b9566fe" title=" " alt="" coords="5,32,56,57"/>
|
||||||
|
</map>
|
@ -0,0 +1 @@
|
|||||||
|
b4c99bd02855f78d3787f4ad881723dd
|
After Width: | Height: | Size: 12 KiB |
@ -0,0 +1,9 @@
|
|||||||
|
<map id="compareCandidats" name="compareCandidats">
|
||||||
|
<area shape="rect" id="node1" title="Compare deux candidats suivant l'ordre alphabetique." alt="" coords="669,31,800,56"/>
|
||||||
|
<area shape="rect" id="node2" href="$trois_8c.html#a79f0be18b92bd7bf1422858e922cbc52" title="Affiche les candidatures pour un seul département dans un IUT." alt="" coords="435,5,621,31"/>
|
||||||
|
<area shape="rect" id="node6" href="$deux_8c.html#af5b94a22bd855987ee7db353ce1cc00a" title="Affiche tous les candidats triés par nom." alt="" coords="452,55,604,80"/>
|
||||||
|
<area shape="rect" id="node3" href="$un_8c.html#a5ae624d9f4129de2756601355b4a9ecb" title="Affiche le menu des responsables et permet l'appel des fonctions suivant le choix de l'utilisateur." alt="" coords="256,5,387,31"/>
|
||||||
|
<area shape="rect" id="node4" href="$un_8c.html#adfbaa271f44d828c6a42ce7e9affee88" title="Affiche le menu principal et permet l'appel des menus candidats/administrateurs/responsables suivant ..." alt="" coords="104,31,208,56"/>
|
||||||
|
<area shape="rect" id="node5" href="$main_8c.html#a840291bc02cba5474a4cb46a9b9566fe" title=" " alt="" coords="5,31,56,56"/>
|
||||||
|
<area shape="rect" id="node7" href="$un_8c.html#a7e91197935e5f2f6df2a2f2b6b05fd98" title="Affiche le menu des administrateurs et permet l'appel des fonctions suivant le choix de l'utilisateur..." alt="" coords="276,55,367,80"/>
|
||||||
|
</map>
|
@ -0,0 +1 @@
|
|||||||
|
d94d2951e2834ef6306a976263f1f75a
|
After Width: | Height: | Size: 15 KiB |
@ -0,0 +1,4 @@
|
|||||||
|
<map id="readCandidats" name="readCandidats">
|
||||||
|
<area shape="rect" id="node1" title="Lit la liste des candidats dans le fichier texte candidats.don puis les met dans la structure ListeCa..." alt="" coords="5,5,112,31"/>
|
||||||
|
<area shape="rect" id="node2" href="$deux_8c.html#a9fd89bafa880d71f757f84466bd9141d" title="Alloue de la mémoire de la taille d'une structure Candidat avec un malloc." alt="" coords="160,5,263,31"/>
|
||||||
|
</map>
|
@ -0,0 +1 @@
|
|||||||
|
181c5c18b43e2cbaa0c8127d27048f90
|
After Width: | Height: | Size: 3.5 KiB |
@ -0,0 +1,5 @@
|
|||||||
|
<map id="readCandidats" name="readCandidats">
|
||||||
|
<area shape="rect" id="node1" title="Lit la liste des candidats dans le fichier texte candidats.don puis les met dans la structure ListeCa..." alt="" coords="256,5,363,31"/>
|
||||||
|
<area shape="rect" id="node2" href="$un_8c.html#adfbaa271f44d828c6a42ce7e9affee88" title="Affiche le menu principal et permet l'appel des menus candidats/administrateurs/responsables suivant ..." alt="" coords="104,5,208,31"/>
|
||||||
|
<area shape="rect" id="node3" href="$main_8c.html#a840291bc02cba5474a4cb46a9b9566fe" title=" " alt="" coords="5,5,56,31"/>
|
||||||
|
</map>
|
@ -0,0 +1 @@
|
|||||||
|
e4f60c217b0bbcb992043ee22f438720
|
After Width: | Height: | Size: 3.9 KiB |
@ -0,0 +1,8 @@
|
|||||||
|
<map id="readStatus" name="readStatus">
|
||||||
|
<area shape="rect" id="node1" 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="689,59,775,84"/>
|
||||||
|
<area shape="rect" id="node2" href="$un_8c.html#a7e91197935e5f2f6df2a2f2b6b05fd98" title="Affiche le menu des administrateurs et permet l'appel des fonctions suivant le choix de l'utilisateur..." alt="" coords="264,33,355,59"/>
|
||||||
|
<area shape="rect" id="node3" href="$un_8c.html#adfbaa271f44d828c6a42ce7e9affee88" title="Affiche le menu principal et permet l'appel des menus candidats/administrateurs/responsables suivant ..." alt="" coords="104,84,208,109"/>
|
||||||
|
<area shape="rect" id="node5" href="$un_8c.html#adc8300a25cc0383b24c755c4bbfd91ec" title="Fonction permettant à l'utilisateur administrateur de supprimer un département existant." alt="" coords="411,33,641,59"/>
|
||||||
|
<area shape="rect" id="node6" href="$un_8c.html#afbbe421616435be6078263aaa641a2d0" title="Affiche le menu des candidats et permet l'appel des fonctions suivant le choix de l'utilisateur." alt="" coords="256,135,363,160"/>
|
||||||
|
<area shape="rect" id="node4" href="$main_8c.html#a840291bc02cba5474a4cb46a9b9566fe" title=" " alt="" coords="5,84,56,109"/>
|
||||||
|
</map>
|
@ -0,0 +1 @@
|
|||||||
|
700d1e90698196363faba5876d53d3cb
|
After Width: | Height: | Size: 18 KiB |
@ -0,0 +1,5 @@
|
|||||||
|
<map id="afficherListeCandidats" name="afficherListeCandidats">
|
||||||
|
<area shape="rect" id="node1" title="Affiche tous les candidats triés par nom." alt="" coords="5,31,157,56"/>
|
||||||
|
<area shape="rect" id="node2" href="$deux_8c.html#a7fe4daeb12de384a0a66b98f0b4cdf30" title="Affiche un candidat précis." alt="" coords="212,5,329,31"/>
|
||||||
|
<area shape="rect" id="node3" href="$deux_8c.html#aa29d659a5a7e104d16453fb638aa7879" title="Compare deux candidats suivant l'ordre alphabetique." alt="" coords="205,55,336,80"/>
|
||||||
|
</map>
|
@ -0,0 +1 @@
|
|||||||
|
4e61c33e076800cde5ba5a3e3f3b2604
|
After Width: | Height: | Size: 7.4 KiB |
@ -0,0 +1,6 @@
|
|||||||
|
<map id="afficherListeCandidats" name="afficherListeCandidats">
|
||||||
|
<area shape="rect" id="node1" title="Affiche tous les candidats triés par nom." alt="" coords="395,5,547,31"/>
|
||||||
|
<area shape="rect" id="node2" href="$un_8c.html#a7e91197935e5f2f6df2a2f2b6b05fd98" title="Affiche le menu des administrateurs et permet l'appel des fonctions suivant le choix de l'utilisateur..." alt="" coords="256,5,347,31"/>
|
||||||
|
<area shape="rect" id="node3" href="$un_8c.html#adfbaa271f44d828c6a42ce7e9affee88" title="Affiche le menu principal et permet l'appel des menus candidats/administrateurs/responsables suivant ..." alt="" coords="104,5,208,31"/>
|
||||||
|
<area shape="rect" id="node4" href="$main_8c.html#a840291bc02cba5474a4cb46a9b9566fe" title=" " alt="" coords="5,5,56,31"/>
|
||||||
|
</map>
|
@ -0,0 +1 @@
|
|||||||
|
74fb06d39fb653c4436a24e20ac0a577
|
After Width: | Height: | Size: 5.2 KiB |
@ -0,0 +1,520 @@
|
|||||||
|
<!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/II/deux.c Source File</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&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&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><li class="navelem"><a class="el" href="dir_9170cd96d41fdbdbf8a9ef7aa4556cb5.html">II</a></li> </ul>
|
||||||
|
</div>
|
||||||
|
</div><!-- top -->
|
||||||
|
<div class="header">
|
||||||
|
<div class="headertitle"><div class="title">deux.c</div></div>
|
||||||
|
</div><!--header-->
|
||||||
|
<div class="contents">
|
||||||
|
<a href="deux_8c.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno"> 1</span> </div>
|
||||||
|
<div class="line"><a id="l00010" name="l00010"></a><span class="lineno"> 10</span><span class="preprocessor">#include <stdio.h></span></div>
|
||||||
|
<div class="line"><a id="l00011" name="l00011"></a><span class="lineno"> 11</span><span class="preprocessor">#include <stdlib.h></span></div>
|
||||||
|
<div class="line"><a id="l00012" name="l00012"></a><span class="lineno"> 12</span><span class="preprocessor">#include <string.h></span></div>
|
||||||
|
<div class="line"><a id="l00013" name="l00013"></a><span class="lineno"> 13</span><span class="preprocessor">#include <errno.h></span></div>
|
||||||
|
<div class="line"><a id="l00014" name="l00014"></a><span class="lineno"> 14</span><span class="preprocessor">#include "<a class="code" href="deux_8h.html">deux.h</a>"</span></div>
|
||||||
|
<div class="line"><a id="l00015" name="l00015"></a><span class="lineno"> 15</span><span class="preprocessor">#include "../III/trois.c"</span></div>
|
||||||
|
<div class="line"><a id="l00016" name="l00016"></a><span class="lineno"> 16</span> </div>
|
||||||
|
<div class="line"><a id="l00017" name="l00017"></a><span class="lineno"> 17</span> </div>
|
||||||
|
<div class="line"><a id="l00018" name="l00018"></a><span class="lineno"><a class="line" href="deux_8c.html#a9fd89bafa880d71f757f84466bd9141d"> 18</a></span><a class="code hl_struct" href="struct_candidat.html">Candidat</a>* <a class="code hl_function" href="deux_8c.html#a9fd89bafa880d71f757f84466bd9141d">creerCandidat</a>(<span class="keywordtype">void</span>) {</div>
|
||||||
|
<div class="line"><a id="l00019" name="l00019"></a><span class="lineno"> 19</span> <a class="code hl_struct" href="struct_candidat.html">Candidat</a>* candidat = (<a class="code hl_struct" href="struct_candidat.html">Candidat</a>*) malloc(<span class="keyword">sizeof</span>(<a class="code hl_struct" href="struct_candidat.html">Candidat</a>));</div>
|
||||||
|
<div class="line"><a id="l00020" name="l00020"></a><span class="lineno"> 20</span> </div>
|
||||||
|
<div class="line"><a id="l00021" name="l00021"></a><span class="lineno"> 21</span> <span class="keywordflow">if</span>(candidat == NULL) {</div>
|
||||||
|
<div class="line"><a id="l00022" name="l00022"></a><span class="lineno"> 22</span> perror(<span class="stringliteral">"malloc"</span>);</div>
|
||||||
|
<div class="line"><a id="l00023" name="l00023"></a><span class="lineno"> 23</span> exit(errno);</div>
|
||||||
|
<div class="line"><a id="l00024" name="l00024"></a><span class="lineno"> 24</span> }</div>
|
||||||
|
<div class="line"><a id="l00025" name="l00025"></a><span class="lineno"> 25</span> </div>
|
||||||
|
<div class="line"><a id="l00026" name="l00026"></a><span class="lineno"> 26</span> <span class="keywordflow">return</span> candidat;</div>
|
||||||
|
<div class="line"><a id="l00027" name="l00027"></a><span class="lineno"> 27</span>}</div>
|
||||||
|
<div class="line"><a id="l00028" name="l00028"></a><span class="lineno"> 28</span> </div>
|
||||||
|
<div class="line"><a id="l00029" name="l00029"></a><span class="lineno"><a class="line" href="deux_8c.html#a8a7f12cc6517d640aea8a0d80797737a"> 29</a></span><a class="code hl_struct" href="struct_candidature.html">Candidature</a>* <a class="code hl_function" href="deux_8c.html#a8a7f12cc6517d640aea8a0d80797737a">creerCandidature</a>(<span class="keywordtype">void</span>) {</div>
|
||||||
|
<div class="line"><a id="l00030" name="l00030"></a><span class="lineno"> 30</span> <a class="code hl_struct" href="struct_candidature.html">Candidature</a>* candid = (<a class="code hl_struct" href="struct_candidature.html">Candidature</a>*) malloc(<span class="keyword">sizeof</span>(<a class="code hl_struct" href="struct_candidature.html">Candidature</a>));</div>
|
||||||
|
<div class="line"><a id="l00031" name="l00031"></a><span class="lineno"> 31</span> </div>
|
||||||
|
<div class="line"><a id="l00032" name="l00032"></a><span class="lineno"> 32</span> <span class="keywordflow">if</span>(candid == NULL) {</div>
|
||||||
|
<div class="line"><a id="l00033" name="l00033"></a><span class="lineno"> 33</span> perror(<span class="stringliteral">"malloc"</span>);</div>
|
||||||
|
<div class="line"><a id="l00034" name="l00034"></a><span class="lineno"> 34</span> exit(errno);</div>
|
||||||
|
<div class="line"><a id="l00035" name="l00035"></a><span class="lineno"> 35</span> }</div>
|
||||||
|
<div class="line"><a id="l00036" name="l00036"></a><span class="lineno"> 36</span> </div>
|
||||||
|
<div class="line"><a id="l00037" name="l00037"></a><span class="lineno"> 37</span> candid-><a class="code hl_variable" href="struct_candidature.html#afb945760815b26b59fad13898ab6caed">decision</a> = 0;</div>
|
||||||
|
<div class="line"><a id="l00038" name="l00038"></a><span class="lineno"> 38</span> candid-><a class="code hl_variable" href="struct_candidature.html#ae80afc607e0332d19b2340d148610f34">validation</a> = 0;</div>
|
||||||
|
<div class="line"><a id="l00039" name="l00039"></a><span class="lineno"> 39</span> <span class="keywordflow">return</span> candid;</div>
|
||||||
|
<div class="line"><a id="l00040" name="l00040"></a><span class="lineno"> 40</span>}</div>
|
||||||
|
<div class="line"><a id="l00041" name="l00041"></a><span class="lineno"> 41</span> </div>
|
||||||
|
<div class="line"><a id="l00042" name="l00042"></a><span class="lineno"><a class="line" href="deux_8c.html#a54eb9bc5dbdbdb457257dbd4727ec59f"> 42</a></span><span class="keywordtype">void</span> <a class="code hl_function" href="deux_8c.html#a54eb9bc5dbdbdb457257dbd4727ec59f">ajouterCandidat</a>(<a class="code hl_struct" href="struct_candidat.html">ListeCandidats</a>* listePointer, <span class="keywordtype">int</span>* nbCandidats, <a class="code hl_struct" href="struct_candidat.html">Candidat</a>* candidat) {</div>
|
||||||
|
<div class="line"><a id="l00043" name="l00043"></a><span class="lineno"> 43</span> <a class="code hl_struct" href="struct_candidat.html">ListeCandidats</a> listeNew = (<a class="code hl_typedef" href="structures_8h.html#add449d43ae5a45a35a5a0d355b17d74e">ListeCandidats</a>) realloc(*listePointer, (*nbCandidats+1)*<span class="keyword">sizeof</span>(<a class="code hl_struct" href="struct_candidat.html">Candidat</a>*));</div>
|
||||||
|
<div class="line"><a id="l00044" name="l00044"></a><span class="lineno"> 44</span> </div>
|
||||||
|
<div class="line"><a id="l00045" name="l00045"></a><span class="lineno"> 45</span> <span class="keywordflow">if</span>(listeNew == NULL) {</div>
|
||||||
|
<div class="line"><a id="l00046" name="l00046"></a><span class="lineno"> 46</span> perror(<span class="stringliteral">"realloc"</span>);</div>
|
||||||
|
<div class="line"><a id="l00047" name="l00047"></a><span class="lineno"> 47</span> exit(errno);</div>
|
||||||
|
<div class="line"><a id="l00048" name="l00048"></a><span class="lineno"> 48</span> }</div>
|
||||||
|
<div class="line"><a id="l00049" name="l00049"></a><span class="lineno"> 49</span> </div>
|
||||||
|
<div class="line"><a id="l00050" name="l00050"></a><span class="lineno"> 50</span> *listePointer = listeNew;</div>
|
||||||
|
<div class="line"><a id="l00051" name="l00051"></a><span class="lineno"> 51</span> </div>
|
||||||
|
<div class="line"><a id="l00052" name="l00052"></a><span class="lineno"> 52</span> *nbCandidats+=1;</div>
|
||||||
|
<div class="line"><a id="l00053" name="l00053"></a><span class="lineno"> 53</span> candidat-><a class="code hl_variable" href="struct_candidat.html#a5101faf02192e235cbec381eefab9ef9">id</a> = *nbCandidats;</div>
|
||||||
|
<div class="line"><a id="l00054" name="l00054"></a><span class="lineno"> 54</span> (*listePointer)[*nbCandidats-1] = candidat;</div>
|
||||||
|
<div class="line"><a id="l00055" name="l00055"></a><span class="lineno"> 55</span>}</div>
|
||||||
|
<div class="line"><a id="l00056" name="l00056"></a><span class="lineno"> 56</span> </div>
|
||||||
|
<div class="line"><a id="l00057" name="l00057"></a><span class="lineno"><a class="line" href="deux_8c.html#a581b991f3ee0dc610d684f27dce120ae"> 57</a></span><span class="keywordtype">void</span> <a class="code hl_function" href="deux_8c.html#a581b991f3ee0dc610d684f27dce120ae">ajouterCandidature</a>(<a class="code hl_struct" href="struct_candidat.html">Candidat</a>* candidat, <a class="code hl_struct" href="struct_candidature.html">Candidature</a>* candidature) {</div>
|
||||||
|
<div class="line"><a id="l00058" name="l00058"></a><span class="lineno"> 58</span> candidat-><a class="code hl_variable" href="struct_candidat.html#ae272a15c86e38f9ebfc6085714d9b236">listeCandidatures</a> = (<a class="code hl_typedef" href="structures_8h.html#a8b8b7c8cbc48c1b29c990f0e3f68eef7">ListeCandidatures</a>) realloc(candidat-><a class="code hl_variable" href="struct_candidat.html#ae272a15c86e38f9ebfc6085714d9b236">listeCandidatures</a>, (candidat-><a class="code hl_variable" href="struct_candidat.html#ad0c996674ff9dde0da7af2bc29f005f6">nbCandidatures</a>+1)*<span class="keyword">sizeof</span>(<a class="code hl_struct" href="struct_candidature.html">Candidature</a>*));</div>
|
||||||
|
<div class="line"><a id="l00059" name="l00059"></a><span class="lineno"> 59</span> candidat-><a class="code hl_variable" href="struct_candidat.html#ae272a15c86e38f9ebfc6085714d9b236">listeCandidatures</a>[candidat-><a class="code hl_variable" href="struct_candidat.html#ad0c996674ff9dde0da7af2bc29f005f6">nbCandidatures</a>] = candidature;</div>
|
||||||
|
<div class="line"><a id="l00060" name="l00060"></a><span class="lineno"> 60</span> candidat-><a class="code hl_variable" href="struct_candidat.html#ad0c996674ff9dde0da7af2bc29f005f6">nbCandidatures</a>+=1;</div>
|
||||||
|
<div class="line"><a id="l00061" name="l00061"></a><span class="lineno"> 61</span>}</div>
|
||||||
|
<div class="line"><a id="l00062" name="l00062"></a><span class="lineno"> 62</span> </div>
|
||||||
|
<div class="line"><a id="l00063" name="l00063"></a><span class="lineno"><a class="line" href="deux_8c.html#a346ec11b7cfecb53142039ba1125e31e"> 63</a></span><span class="keywordtype">void</span> <a class="code hl_function" href="deux_8c.html#a346ec11b7cfecb53142039ba1125e31e">menuCandidat_candidater</a>(<a class="code hl_struct" href="struct_ville_i_u_t.html">VilleIUT</a>** tiut, <span class="keywordtype">int</span> nbVilles, <a class="code hl_struct" href="struct_candidat.html">Candidat</a>* candidat) {</div>
|
||||||
|
<div class="line"><a id="l00064" name="l00064"></a><span class="lineno"> 64</span> <span class="keywordtype">int</span> found = 0;</div>
|
||||||
|
<div class="line"><a id="l00065" name="l00065"></a><span class="lineno"> 65</span> <a class="code hl_struct" href="struct_maillon_dept.html">ListeDept</a> liste;</div>
|
||||||
|
<div class="line"><a id="l00066" name="l00066"></a><span class="lineno"> 66</span> <a class="code hl_struct" href="struct_candidature.html">Candidature</a>* candid = <a class="code hl_function" href="deux_8c.html#a8a7f12cc6517d640aea8a0d80797737a">creerCandidature</a>();</div>
|
||||||
|
<div class="line"><a id="l00067" name="l00067"></a><span class="lineno"> 67</span> </div>
|
||||||
|
<div class="line"><a id="l00068" name="l00068"></a><span class="lineno"> 68</span> <span class="keywordtype">char</span> searchIUT[<a class="code hl_define" href="structures_8h.html#a61b74f2dc771ef513065f17ef86fa632">LEN_MAX</a>], searchDept[<a class="code hl_define" href="structures_8h.html#a61b74f2dc771ef513065f17ef86fa632">LEN_MAX</a>];</div>
|
||||||
|
<div class="line"><a id="l00069" name="l00069"></a><span class="lineno"> 69</span> printf(<span class="stringliteral">"Entrez la ville dans laquelle vous souhaitez candidater : "</span>);</div>
|
||||||
|
<div class="line"><a id="l00070" name="l00070"></a><span class="lineno"> 70</span> scanf(<span class="stringliteral">"%s"</span>, searchIUT);</div>
|
||||||
|
<div class="line"><a id="l00071" name="l00071"></a><span class="lineno"> 71</span> </div>
|
||||||
|
<div class="line"><a id="l00072" name="l00072"></a><span class="lineno"> 72</span> <span class="keywordflow">if</span>(strcasecmp(searchIUT, <span class="stringliteral">"q"</span>) == 0)</div>
|
||||||
|
<div class="line"><a id="l00073" name="l00073"></a><span class="lineno"> 73</span> <span class="keywordflow">return</span>;</div>
|
||||||
|
<div class="line"><a id="l00074" name="l00074"></a><span class="lineno"> 74</span> </div>
|
||||||
|
<div class="line"><a id="l00075" name="l00075"></a><span class="lineno"> 75</span> <span class="keywordtype">int</span> i = <a class="code hl_function" href="un_8c.html#a2a08d27051520d60755e7efa40492106">rechercherVille</a>(tiut, nbVilles, searchIUT);</div>
|
||||||
|
<div class="line"><a id="l00076" name="l00076"></a><span class="lineno"> 76</span> </div>
|
||||||
|
<div class="line"><a id="l00077" name="l00077"></a><span class="lineno"> 77</span> <span class="keywordflow">if</span>(i == -1) {</div>
|
||||||
|
<div class="line"><a id="l00078" name="l00078"></a><span class="lineno"> 78</span> fprintf(stderr, <span class="stringliteral">"\e[1;91mErreur: la ville '%s' n'est pas dans la liste des IUT.\e[0m\n\n"</span>, searchIUT);</div>
|
||||||
|
<div class="line"><a id="l00079" name="l00079"></a><span class="lineno"> 79</span> <span class="keywordflow">return</span>;</div>
|
||||||
|
<div class="line"><a id="l00080" name="l00080"></a><span class="lineno"> 80</span> }</div>
|
||||||
|
<div class="line"><a id="l00081" name="l00081"></a><span class="lineno"> 81</span> </div>
|
||||||
|
<div class="line"><a id="l00082" name="l00082"></a><span class="lineno"> 82</span> printf(<span class="stringliteral">"Entrez le département dans lequel vous souhaitez candidater : "</span>);</div>
|
||||||
|
<div class="line"><a id="l00083" name="l00083"></a><span class="lineno"> 83</span> scanf(<span class="stringliteral">"%*c%[^\n]"</span>, searchDept);</div>
|
||||||
|
<div class="line"><a id="l00084" name="l00084"></a><span class="lineno"> 84</span> </div>
|
||||||
|
<div class="line"><a id="l00085" name="l00085"></a><span class="lineno"> 85</span> liste = tiut[i]-><a class="code hl_variable" href="struct_ville_i_u_t.html#aaf6c03c46c4912dcced9eeb07f2342e3">ldept</a>;</div>
|
||||||
|
<div class="line"><a id="l00086" name="l00086"></a><span class="lineno"> 86</span> </div>
|
||||||
|
<div class="line"><a id="l00087" name="l00087"></a><span class="lineno"> 87</span> <span class="keywordflow">if</span>(strcmp(liste-><a class="code hl_variable" href="struct_maillon_dept.html#a0df7349423ca07354f4e6c42c730a10b">departement</a>, searchDept) == 0)</div>
|
||||||
|
<div class="line"><a id="l00088" name="l00088"></a><span class="lineno"> 88</span> found=1;</div>
|
||||||
|
<div class="line"><a id="l00089" name="l00089"></a><span class="lineno"> 89</span> </div>
|
||||||
|
<div class="line"><a id="l00090" name="l00090"></a><span class="lineno"> 90</span> <span class="keywordflow">while</span>(liste-><a class="code hl_variable" href="struct_maillon_dept.html#a7a1769666f1fea0a825997a2d123f870">suiv</a> != NULL) {</div>
|
||||||
|
<div class="line"><a id="l00091" name="l00091"></a><span class="lineno"> 91</span> liste = liste-><a class="code hl_variable" href="struct_maillon_dept.html#a7a1769666f1fea0a825997a2d123f870">suiv</a>;</div>
|
||||||
|
<div class="line"><a id="l00092" name="l00092"></a><span class="lineno"> 92</span> <span class="keywordflow">if</span>(strcmp(liste-><a class="code hl_variable" href="struct_maillon_dept.html#a0df7349423ca07354f4e6c42c730a10b">departement</a>, searchDept) == 0)</div>
|
||||||
|
<div class="line"><a id="l00093" name="l00093"></a><span class="lineno"> 93</span> found=1;</div>
|
||||||
|
<div class="line"><a id="l00094" name="l00094"></a><span class="lineno"> 94</span> }</div>
|
||||||
|
<div class="line"><a id="l00095" name="l00095"></a><span class="lineno"> 95</span> </div>
|
||||||
|
<div class="line"><a id="l00096" name="l00096"></a><span class="lineno"> 96</span> <span class="keywordflow">if</span>(found == 0) {</div>
|
||||||
|
<div class="line"><a id="l00097" name="l00097"></a><span class="lineno"> 97</span> fprintf(stderr, <span class="stringliteral">"\e[1;91mErreur: le département '%s' n'existe pas dans l'IUT '%s'.\e[0m\n\n"</span>, searchDept, searchIUT);</div>
|
||||||
|
<div class="line"><a id="l00098" name="l00098"></a><span class="lineno"> 98</span> <span class="keywordflow">return</span>;</div>
|
||||||
|
<div class="line"><a id="l00099" name="l00099"></a><span class="lineno"> 99</span> }</div>
|
||||||
|
<div class="line"><a id="l00100" name="l00100"></a><span class="lineno"> 100</span> </div>
|
||||||
|
<div class="line"><a id="l00101" name="l00101"></a><span class="lineno"> 101</span> strcpy(candid-><a class="code hl_variable" href="struct_candidature.html#aa569e6c7792140a22e61a0cd3d31cd27">ville</a>, searchIUT);</div>
|
||||||
|
<div class="line"><a id="l00102" name="l00102"></a><span class="lineno"> 102</span> strcpy(candid-><a class="code hl_variable" href="struct_candidature.html#a90db69a01c0d7a3247ea010cce283804">departement</a>, searchDept);</div>
|
||||||
|
<div class="line"><a id="l00103" name="l00103"></a><span class="lineno"> 103</span> </div>
|
||||||
|
<div class="line"><a id="l00104" name="l00104"></a><span class="lineno"> 104</span> <span class="keywordflow">if</span>(<a class="code hl_function" href="deux_8c.html#a6b5755efb0bb15c7ee98372c76763fa1">checkCandidature</a>(candidat, *candid) == -1) {</div>
|
||||||
|
<div class="line"><a id="l00105" name="l00105"></a><span class="lineno"> 105</span> fprintf(stderr, <span class="stringliteral">"\n\e[1;91mErreur: vous avez déjà candidaté pour le département '%s' dans l'IUT '%s'.\e[0m\n\n"</span>, searchDept, searchIUT);</div>
|
||||||
|
<div class="line"><a id="l00106" name="l00106"></a><span class="lineno"> 106</span> <span class="keywordflow">return</span>;</div>
|
||||||
|
<div class="line"><a id="l00107" name="l00107"></a><span class="lineno"> 107</span> }</div>
|
||||||
|
<div class="line"><a id="l00108" name="l00108"></a><span class="lineno"> 108</span> </div>
|
||||||
|
<div class="line"><a id="l00109" name="l00109"></a><span class="lineno"> 109</span> <a class="code hl_function" href="deux_8c.html#a581b991f3ee0dc610d684f27dce120ae">ajouterCandidature</a>(candidat, candid);</div>
|
||||||
|
<div class="line"><a id="l00110" name="l00110"></a><span class="lineno"> 110</span> </div>
|
||||||
|
<div class="line"><a id="l00111" name="l00111"></a><span class="lineno"> 111</span> printf(<span class="stringliteral">"\n\e[1;32mVotre candidature au département '%s' à l'IUT '%s' a bien été prise en compte !\e[0m\n\n"</span>, searchDept, searchIUT);</div>
|
||||||
|
<div class="line"><a id="l00112" name="l00112"></a><span class="lineno"> 112</span>}</div>
|
||||||
|
<div class="line"><a id="l00113" name="l00113"></a><span class="lineno"> 113</span> </div>
|
||||||
|
<div class="line"><a id="l00114" name="l00114"></a><span class="lineno"><a class="line" href="deux_8c.html#a6b5755efb0bb15c7ee98372c76763fa1"> 114</a></span><span class="keywordtype">int</span> <a class="code hl_function" href="deux_8c.html#a6b5755efb0bb15c7ee98372c76763fa1">checkCandidature</a>(<a class="code hl_struct" href="struct_candidat.html">Candidat</a>* candidat, <a class="code hl_struct" href="struct_candidature.html">Candidature</a> candid) {</div>
|
||||||
|
<div class="line"><a id="l00115" name="l00115"></a><span class="lineno"> 115</span> <span class="keywordtype">int</span> i, nbCandidatures = candidat-><a class="code hl_variable" href="struct_candidat.html#ad0c996674ff9dde0da7af2bc29f005f6">nbCandidatures</a>;</div>
|
||||||
|
<div class="line"><a id="l00116" name="l00116"></a><span class="lineno"> 116</span> </div>
|
||||||
|
<div class="line"><a id="l00117" name="l00117"></a><span class="lineno"> 117</span> <span class="keywordflow">for</span>(i=0; i<nbCandidatures; i++)</div>
|
||||||
|
<div class="line"><a id="l00118" name="l00118"></a><span class="lineno"> 118</span> <span class="keywordflow">if</span>(strcmp(candidat-><a class="code hl_variable" href="struct_candidat.html#ae272a15c86e38f9ebfc6085714d9b236">listeCandidatures</a>[i]-><a class="code hl_variable" href="struct_candidature.html#aa569e6c7792140a22e61a0cd3d31cd27">ville</a>, candid.<a class="code hl_variable" href="struct_candidature.html#aa569e6c7792140a22e61a0cd3d31cd27">ville</a>) == 0)</div>
|
||||||
|
<div class="line"><a id="l00119" name="l00119"></a><span class="lineno"> 119</span> <span class="keywordflow">if</span>(strcmp(candidat-><a class="code hl_variable" href="struct_candidat.html#ae272a15c86e38f9ebfc6085714d9b236">listeCandidatures</a>[i]-><a class="code hl_variable" href="struct_candidature.html#a90db69a01c0d7a3247ea010cce283804">departement</a>, candid.<a class="code hl_variable" href="struct_candidature.html#a90db69a01c0d7a3247ea010cce283804">departement</a>) == 0)</div>
|
||||||
|
<div class="line"><a id="l00120" name="l00120"></a><span class="lineno"> 120</span> <span class="keywordflow">return</span> -1;</div>
|
||||||
|
<div class="line"><a id="l00121" name="l00121"></a><span class="lineno"> 121</span> </div>
|
||||||
|
<div class="line"><a id="l00122" name="l00122"></a><span class="lineno"> 122</span> <span class="keywordflow">return</span> 0;</div>
|
||||||
|
<div class="line"><a id="l00123" name="l00123"></a><span class="lineno"> 123</span>}</div>
|
||||||
|
<div class="line"><a id="l00124" name="l00124"></a><span class="lineno"> 124</span> </div>
|
||||||
|
<div class="line"><a id="l00125" name="l00125"></a><span class="lineno"><a class="line" href="deux_8c.html#af5b94a22bd855987ee7db353ce1cc00a"> 125</a></span><span class="keywordtype">void</span> <a class="code hl_function" href="deux_8c.html#af5b94a22bd855987ee7db353ce1cc00a">afficherListeCandidats</a>(<a class="code hl_struct" href="struct_candidat.html">ListeCandidats</a> liste, <span class="keywordtype">int</span> nbCandidats) {</div>
|
||||||
|
<div class="line"><a id="l00126" name="l00126"></a><span class="lineno"> 126</span> <a class="code hl_struct" href="struct_candidat.html">Candidat</a>* candidat;</div>
|
||||||
|
<div class="line"><a id="l00127" name="l00127"></a><span class="lineno"> 127</span> <a class="code hl_struct" href="struct_candidat.html">ListeCandidats</a> liste2 = (<a class="code hl_typedef" href="structures_8h.html#add449d43ae5a45a35a5a0d355b17d74e">ListeCandidats</a>) malloc(nbCandidats*<span class="keyword">sizeof</span>(<a class="code hl_struct" href="struct_candidat.html">Candidat</a>*));</div>
|
||||||
|
<div class="line"><a id="l00128" name="l00128"></a><span class="lineno"> 128</span> </div>
|
||||||
|
<div class="line"><a id="l00129" name="l00129"></a><span class="lineno"> 129</span> <span class="keywordflow">if</span>(liste2 == NULL) {</div>
|
||||||
|
<div class="line"><a id="l00130" name="l00130"></a><span class="lineno"> 130</span> perror(<span class="stringliteral">"malloc"</span>);</div>
|
||||||
|
<div class="line"><a id="l00131" name="l00131"></a><span class="lineno"> 131</span> exit(errno);</div>
|
||||||
|
<div class="line"><a id="l00132" name="l00132"></a><span class="lineno"> 132</span> }</div>
|
||||||
|
<div class="line"><a id="l00133" name="l00133"></a><span class="lineno"> 133</span> </div>
|
||||||
|
<div class="line"><a id="l00134" name="l00134"></a><span class="lineno"> 134</span> <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i=0; i<nbCandidats; i++) {</div>
|
||||||
|
<div class="line"><a id="l00135" name="l00135"></a><span class="lineno"> 135</span> memcpy(&liste2[i], &liste[i], <span class="keyword">sizeof</span>(<a class="code hl_struct" href="struct_candidat.html">Candidat</a>*));</div>
|
||||||
|
<div class="line"><a id="l00136" name="l00136"></a><span class="lineno"> 136</span> }</div>
|
||||||
|
<div class="line"><a id="l00137" name="l00137"></a><span class="lineno"> 137</span> </div>
|
||||||
|
<div class="line"><a id="l00138" name="l00138"></a><span class="lineno"> 138</span> qsort(liste2, nbCandidats, <span class="keyword">sizeof</span>(<a class="code hl_struct" href="struct_candidat.html">Candidat</a>*), <a class="code hl_function" href="deux_8c.html#aa29d659a5a7e104d16453fb638aa7879">compareCandidats</a>);</div>
|
||||||
|
<div class="line"><a id="l00139" name="l00139"></a><span class="lineno"> 139</span> </div>
|
||||||
|
<div class="line"><a id="l00140" name="l00140"></a><span class="lineno"> 140</span> <span class="keywordflow">for</span>(<span class="keywordtype">int</span> i=0; i<nbCandidats; i++) {</div>
|
||||||
|
<div class="line"><a id="l00141" name="l00141"></a><span class="lineno"> 141</span> candidat = liste2[i];</div>
|
||||||
|
<div class="line"><a id="l00142" name="l00142"></a><span class="lineno"> 142</span> </div>
|
||||||
|
<div class="line"><a id="l00143" name="l00143"></a><span class="lineno"> 143</span> <a class="code hl_function" href="deux_8c.html#a7fe4daeb12de384a0a66b98f0b4cdf30">afficherCandidat</a>(candidat);</div>
|
||||||
|
<div class="line"><a id="l00144" name="l00144"></a><span class="lineno"> 144</span> }</div>
|
||||||
|
<div class="line"><a id="l00145" name="l00145"></a><span class="lineno"> 145</span> </div>
|
||||||
|
<div class="line"><a id="l00146" name="l00146"></a><span class="lineno"> 146</span> free(liste2);</div>
|
||||||
|
<div class="line"><a id="l00147" name="l00147"></a><span class="lineno"> 147</span>}</div>
|
||||||
|
<div class="line"><a id="l00148" name="l00148"></a><span class="lineno"> 148</span> </div>
|
||||||
|
<div class="line"><a id="l00149" name="l00149"></a><span class="lineno"><a class="line" href="deux_8c.html#a7fe4daeb12de384a0a66b98f0b4cdf30"> 149</a></span><span class="keywordtype">void</span> <a class="code hl_function" href="deux_8c.html#a7fe4daeb12de384a0a66b98f0b4cdf30">afficherCandidat</a>(<a class="code hl_struct" href="struct_candidat.html">Candidat</a>* candidat) {</div>
|
||||||
|
<div class="line"><a id="l00150" name="l00150"></a><span class="lineno"> 150</span> printf(<span class="stringliteral">"Candidat n°%d, '%s %s' :"</span></div>
|
||||||
|
<div class="line"><a id="l00151" name="l00151"></a><span class="lineno"> 151</span> <span class="stringliteral">"\n - Moyenne en mathématiques : %.2f\n - Moyenne en français : %.2f"</span></div>
|
||||||
|
<div class="line"><a id="l00152" name="l00152"></a><span class="lineno"> 152</span> <span class="stringliteral">"\n - Moyenne en anglais : %.2f\n - Moyenne en spécialité : %.2f"</span></div>
|
||||||
|
<div class="line"><a id="l00153" name="l00153"></a><span class="lineno"> 153</span> <span class="stringliteral">"\n - Nombre de candidatures : %d\n\n"</span>,</div>
|
||||||
|
<div class="line"><a id="l00154" name="l00154"></a><span class="lineno"> 154</span> candidat-><a class="code hl_variable" href="struct_candidat.html#a5101faf02192e235cbec381eefab9ef9">id</a>, candidat-><a class="code hl_variable" href="struct_candidat.html#aa240dc3af1414bec7d6f64c785437237">nom</a>, candidat-><a class="code hl_variable" href="struct_candidat.html#acf972c71824c22bf896f762d0c386780">prenom</a>,</div>
|
||||||
|
<div class="line"><a id="l00155" name="l00155"></a><span class="lineno"> 155</span> candidat-><a class="code hl_variable" href="struct_candidat.html#aa7ed8cd653f4edceb216310c790f293a">moyenneMath</a>, candidat-><a class="code hl_variable" href="struct_candidat.html#a6d5803df1ab0e2f2920503327bec423b">moyenneFrancais</a>,</div>
|
||||||
|
<div class="line"><a id="l00156" name="l00156"></a><span class="lineno"> 156</span> candidat-><a class="code hl_variable" href="struct_candidat.html#a0aabe6e4df019b15527561de205f4ecb">moyenneAnglais</a>, candidat-><a class="code hl_variable" href="struct_candidat.html#a95c54dff20887b0d395377c631d4c635">moyenneSpecialite</a>,</div>
|
||||||
|
<div class="line"><a id="l00157" name="l00157"></a><span class="lineno"> 157</span> candidat-><a class="code hl_variable" href="struct_candidat.html#ad0c996674ff9dde0da7af2bc29f005f6">nbCandidatures</a>);</div>
|
||||||
|
<div class="line"><a id="l00158" name="l00158"></a><span class="lineno"> 158</span>}</div>
|
||||||
|
<div class="line"><a id="l00159" name="l00159"></a><span class="lineno"> 159</span> </div>
|
||||||
|
<div class="line"><a id="l00160" name="l00160"></a><span class="lineno"><a class="line" href="deux_8c.html#a3f92b836fa2cfadc62f0ad9c11a449c5"> 160</a></span><span class="keywordtype">void</span> <a class="code hl_function" href="deux_8c.html#a3f92b836fa2cfadc62f0ad9c11a449c5">afficherCandidatures</a>(<a class="code hl_struct" href="struct_candidature.html">ListeCandidatures</a> candidatures, <span class="keywordtype">int</span> nbCandidatures) {</div>
|
||||||
|
<div class="line"><a id="l00161" name="l00161"></a><span class="lineno"> 161</span> <span class="keywordflow">if</span>(nbCandidatures == 0) <span class="keywordflow">return</span>;</div>
|
||||||
|
<div class="line"><a id="l00162" name="l00162"></a><span class="lineno"> 162</span> </div>
|
||||||
|
<div class="line"><a id="l00163" name="l00163"></a><span class="lineno"> 163</span> <span class="keywordtype">char</span> decision[<a class="code hl_define" href="structures_8h.html#a61b74f2dc771ef513065f17ef86fa632">LEN_MAX</a>], validation[<a class="code hl_define" href="structures_8h.html#a61b74f2dc771ef513065f17ef86fa632">LEN_MAX</a>];</div>
|
||||||
|
<div class="line"><a id="l00164" name="l00164"></a><span class="lineno"> 164</span> <a class="code hl_struct" href="struct_candidature.html">Candidature</a>* candidature = candidatures[nbCandidatures-1];</div>
|
||||||
|
<div class="line"><a id="l00165" name="l00165"></a><span class="lineno"> 165</span> </div>
|
||||||
|
<div class="line"><a id="l00166" name="l00166"></a><span class="lineno"> 166</span> <span class="keywordflow">switch</span> (candidature-><a class="code hl_variable" href="struct_candidature.html#afb945760815b26b59fad13898ab6caed">decision</a>) {</div>
|
||||||
|
<div class="line"><a id="l00167" name="l00167"></a><span class="lineno"> 167</span> <span class="keywordflow">case</span> 0:</div>
|
||||||
|
<div class="line"><a id="l00168" name="l00168"></a><span class="lineno"> 168</span> strcpy(decision, <span class="stringliteral">"en cours de traitement"</span>);</div>
|
||||||
|
<div class="line"><a id="l00169" name="l00169"></a><span class="lineno"> 169</span> <span class="keywordflow">break</span>;</div>
|
||||||
|
<div class="line"><a id="l00170" name="l00170"></a><span class="lineno"> 170</span> <span class="keywordflow">case</span> 1:</div>
|
||||||
|
<div class="line"><a id="l00171" name="l00171"></a><span class="lineno"> 171</span> strcpy(decision, <span class="stringliteral">"admis"</span>);</div>
|
||||||
|
<div class="line"><a id="l00172" name="l00172"></a><span class="lineno"> 172</span> <span class="keywordflow">break</span>;</div>
|
||||||
|
<div class="line"><a id="l00173" name="l00173"></a><span class="lineno"> 173</span> <span class="keywordflow">case</span> -1:</div>
|
||||||
|
<div class="line"><a id="l00174" name="l00174"></a><span class="lineno"> 174</span> strcpy(decision, <span class="stringliteral">"refusé"</span>);</div>
|
||||||
|
<div class="line"><a id="l00175" name="l00175"></a><span class="lineno"> 175</span> <span class="keywordflow">break</span>;</div>
|
||||||
|
<div class="line"><a id="l00176" name="l00176"></a><span class="lineno"> 176</span> <span class="keywordflow">case</span> 2:</div>
|
||||||
|
<div class="line"><a id="l00177" name="l00177"></a><span class="lineno"> 177</span> strcpy(decision, <span class="stringliteral">"sur liste d'attente"</span>);</div>
|
||||||
|
<div class="line"><a id="l00178" name="l00178"></a><span class="lineno"> 178</span> <span class="keywordflow">break</span>;</div>
|
||||||
|
<div class="line"><a id="l00179" name="l00179"></a><span class="lineno"> 179</span> <span class="keywordflow">default</span>:</div>
|
||||||
|
<div class="line"><a id="l00180" name="l00180"></a><span class="lineno"> 180</span> <span class="keywordflow">break</span>;</div>
|
||||||
|
<div class="line"><a id="l00181" name="l00181"></a><span class="lineno"> 181</span> }</div>
|
||||||
|
<div class="line"><a id="l00182" name="l00182"></a><span class="lineno"> 182</span> </div>
|
||||||
|
<div class="line"><a id="l00183" name="l00183"></a><span class="lineno"> 183</span> <span class="keywordflow">switch</span> (candidature-><a class="code hl_variable" href="struct_candidature.html#ae80afc607e0332d19b2340d148610f34">validation</a>) {</div>
|
||||||
|
<div class="line"><a id="l00184" name="l00184"></a><span class="lineno"> 184</span> <span class="keywordflow">case</span> 0:</div>
|
||||||
|
<div class="line"><a id="l00185" name="l00185"></a><span class="lineno"> 185</span> strcpy(validation, <span class="stringliteral">"n'a pas encore décidé"</span>);</div>
|
||||||
|
<div class="line"><a id="l00186" name="l00186"></a><span class="lineno"> 186</span> <span class="keywordflow">break</span>;</div>
|
||||||
|
<div class="line"><a id="l00187" name="l00187"></a><span class="lineno"> 187</span> <span class="keywordflow">case</span> 1:</div>
|
||||||
|
<div class="line"><a id="l00188" name="l00188"></a><span class="lineno"> 188</span> strcpy(validation, <span class="stringliteral">"accepte la proposition"</span>);</div>
|
||||||
|
<div class="line"><a id="l00189" name="l00189"></a><span class="lineno"> 189</span> <span class="keywordflow">break</span>;</div>
|
||||||
|
<div class="line"><a id="l00190" name="l00190"></a><span class="lineno"> 190</span> <span class="keywordflow">case</span> -1:</div>
|
||||||
|
<div class="line"><a id="l00191" name="l00191"></a><span class="lineno"> 191</span> strcpy(validation, <span class="stringliteral">"refuse la proposition"</span>);</div>
|
||||||
|
<div class="line"><a id="l00192" name="l00192"></a><span class="lineno"> 192</span> <span class="keywordflow">break</span>;</div>
|
||||||
|
<div class="line"><a id="l00193" name="l00193"></a><span class="lineno"> 193</span> <span class="keywordflow">default</span>:</div>
|
||||||
|
<div class="line"><a id="l00194" name="l00194"></a><span class="lineno"> 194</span> <span class="keywordflow">break</span>;</div>
|
||||||
|
<div class="line"><a id="l00195" name="l00195"></a><span class="lineno"> 195</span> }</div>
|
||||||
|
<div class="line"><a id="l00196" name="l00196"></a><span class="lineno"> 196</span> </div>
|
||||||
|
<div class="line"><a id="l00197" name="l00197"></a><span class="lineno"> 197</span> <span class="keywordflow">if</span>(candidature-><a class="code hl_variable" href="struct_candidature.html#ae80afc607e0332d19b2340d148610f34">validation</a> == -1)</div>
|
||||||
|
<div class="line"><a id="l00198" name="l00198"></a><span class="lineno"> 198</span> printf(<span class="stringliteral">"\n\e[4;37m\e[3mCandidature pour le département '%s' à l'IUT '%s' :\n\e[0m"</span></div>
|
||||||
|
<div class="line"><a id="l00199" name="l00199"></a><span class="lineno"> 199</span> <span class="stringliteral">"\e[3m - Décision du département : %s,\n - Décision du candidat : %s\e[0m\n\n"</span>,</div>
|
||||||
|
<div class="line"><a id="l00200" name="l00200"></a><span class="lineno"> 200</span> candidature-><a class="code hl_variable" href="struct_candidature.html#a90db69a01c0d7a3247ea010cce283804">departement</a>, candidature-><a class="code hl_variable" href="struct_candidature.html#aa569e6c7792140a22e61a0cd3d31cd27">ville</a>, decision, validation);</div>
|
||||||
|
<div class="line"><a id="l00201" name="l00201"></a><span class="lineno"> 201</span> <span class="keywordflow">else</span> {</div>
|
||||||
|
<div class="line"><a id="l00202" name="l00202"></a><span class="lineno"> 202</span> <span class="keywordflow">if</span>(candidature-><a class="code hl_variable" href="struct_candidature.html#ae80afc607e0332d19b2340d148610f34">validation</a> == 1)</div>
|
||||||
|
<div class="line"><a id="l00203" name="l00203"></a><span class="lineno"> 203</span> printf(<span class="stringliteral">"\n\e[4;37m\e[1mCandidature pour le département '%s' à l'IUT '%s' :\n\e[0m"</span></div>
|
||||||
|
<div class="line"><a id="l00204" name="l00204"></a><span class="lineno"> 204</span> <span class="stringliteral">"\e[1m - Décision du département : %s,\n - Décision du candidat : %s\n\n\e[0m"</span>,</div>
|
||||||
|
<div class="line"><a id="l00205" name="l00205"></a><span class="lineno"> 205</span> candidature-><a class="code hl_variable" href="struct_candidature.html#a90db69a01c0d7a3247ea010cce283804">departement</a>, candidature-><a class="code hl_variable" href="struct_candidature.html#aa569e6c7792140a22e61a0cd3d31cd27">ville</a>, decision, validation);</div>
|
||||||
|
<div class="line"><a id="l00206" name="l00206"></a><span class="lineno"> 206</span> <span class="keywordflow">else</span></div>
|
||||||
|
<div class="line"><a id="l00207" name="l00207"></a><span class="lineno"> 207</span> printf(<span class="stringliteral">"\n\e[4;37mCandidature pour le département '%s' à l'IUT '%s' :\n\e[0m"</span></div>
|
||||||
|
<div class="line"><a id="l00208" name="l00208"></a><span class="lineno"> 208</span> <span class="stringliteral">" - Décision du département : %s,\n - Décision du candidat : %s\n\n\e[0m"</span>,</div>
|
||||||
|
<div class="line"><a id="l00209" name="l00209"></a><span class="lineno"> 209</span> candidature-><a class="code hl_variable" href="struct_candidature.html#a90db69a01c0d7a3247ea010cce283804">departement</a>, candidature-><a class="code hl_variable" href="struct_candidature.html#aa569e6c7792140a22e61a0cd3d31cd27">ville</a>, decision, validation);</div>
|
||||||
|
<div class="line"><a id="l00210" name="l00210"></a><span class="lineno"> 210</span> }</div>
|
||||||
|
<div class="line"><a id="l00211" name="l00211"></a><span class="lineno"> 211</span> </div>
|
||||||
|
<div class="line"><a id="l00212" name="l00212"></a><span class="lineno"> 212</span> <a class="code hl_function" href="deux_8c.html#a3f92b836fa2cfadc62f0ad9c11a449c5">afficherCandidatures</a>(candidatures, nbCandidatures-1);</div>
|
||||||
|
<div class="line"><a id="l00213" name="l00213"></a><span class="lineno"> 213</span>}</div>
|
||||||
|
<div class="line"><a id="l00214" name="l00214"></a><span class="lineno"> 214</span> </div>
|
||||||
|
<div class="line"><a id="l00215" name="l00215"></a><span class="lineno"> 215</span><span class="comment">/* Fonction originale sans récursivité</span></div>
|
||||||
|
<div class="line"><a id="l00216" name="l00216"></a><span class="lineno"> 216</span><span class="comment">void afficherCandidatures_sansRecursif(Candidat* candidat) {</span></div>
|
||||||
|
<div class="line"><a id="l00217" name="l00217"></a><span class="lineno"> 217</span><span class="comment"> int nbCandidatures = candidat->nbCandidatures;</span></div>
|
||||||
|
<div class="line"><a id="l00218" name="l00218"></a><span class="lineno"> 218</span><span class="comment"></span> </div>
|
||||||
|
<div class="line"><a id="l00219" name="l00219"></a><span class="lineno"> 219</span><span class="comment"> for(int i=0; i<nbCandidatures; i++) {</span></div>
|
||||||
|
<div class="line"><a id="l00220" name="l00220"></a><span class="lineno"> 220</span><span class="comment"> char decision[LEN_MAX], validation[LEN_MAX];</span></div>
|
||||||
|
<div class="line"><a id="l00221" name="l00221"></a><span class="lineno"> 221</span><span class="comment"> Candidature* candidature = candidat->listeCandidatures[i];</span></div>
|
||||||
|
<div class="line"><a id="l00222" name="l00222"></a><span class="lineno"> 222</span><span class="comment"></span> </div>
|
||||||
|
<div class="line"><a id="l00223" name="l00223"></a><span class="lineno"> 223</span><span class="comment"> switch (candidature->decision) {</span></div>
|
||||||
|
<div class="line"><a id="l00224" name="l00224"></a><span class="lineno"> 224</span><span class="comment"> case 0:</span></div>
|
||||||
|
<div class="line"><a id="l00225" name="l00225"></a><span class="lineno"> 225</span><span class="comment"> strcpy(decision, "en cours de traitement");</span></div>
|
||||||
|
<div class="line"><a id="l00226" name="l00226"></a><span class="lineno"> 226</span><span class="comment"> break;</span></div>
|
||||||
|
<div class="line"><a id="l00227" name="l00227"></a><span class="lineno"> 227</span><span class="comment"> case 1:</span></div>
|
||||||
|
<div class="line"><a id="l00228" name="l00228"></a><span class="lineno"> 228</span><span class="comment"> strcpy(decision, "admis");</span></div>
|
||||||
|
<div class="line"><a id="l00229" name="l00229"></a><span class="lineno"> 229</span><span class="comment"> break;</span></div>
|
||||||
|
<div class="line"><a id="l00230" name="l00230"></a><span class="lineno"> 230</span><span class="comment"> case -1:</span></div>
|
||||||
|
<div class="line"><a id="l00231" name="l00231"></a><span class="lineno"> 231</span><span class="comment"> strcpy(decision, "refusé");</span></div>
|
||||||
|
<div class="line"><a id="l00232" name="l00232"></a><span class="lineno"> 232</span><span class="comment"> break;</span></div>
|
||||||
|
<div class="line"><a id="l00233" name="l00233"></a><span class="lineno"> 233</span><span class="comment"> case 2:</span></div>
|
||||||
|
<div class="line"><a id="l00234" name="l00234"></a><span class="lineno"> 234</span><span class="comment"> strcpy(decision, "sur liste d'attente");</span></div>
|
||||||
|
<div class="line"><a id="l00235" name="l00235"></a><span class="lineno"> 235</span><span class="comment"> break;</span></div>
|
||||||
|
<div class="line"><a id="l00236" name="l00236"></a><span class="lineno"> 236</span><span class="comment"> default:</span></div>
|
||||||
|
<div class="line"><a id="l00237" name="l00237"></a><span class="lineno"> 237</span><span class="comment"> break;</span></div>
|
||||||
|
<div class="line"><a id="l00238" name="l00238"></a><span class="lineno"> 238</span><span class="comment"> }</span></div>
|
||||||
|
<div class="line"><a id="l00239" name="l00239"></a><span class="lineno"> 239</span><span class="comment"></span> </div>
|
||||||
|
<div class="line"><a id="l00240" name="l00240"></a><span class="lineno"> 240</span><span class="comment"> switch (candidature->validation) {</span></div>
|
||||||
|
<div class="line"><a id="l00241" name="l00241"></a><span class="lineno"> 241</span><span class="comment"> case 0:</span></div>
|
||||||
|
<div class="line"><a id="l00242" name="l00242"></a><span class="lineno"> 242</span><span class="comment"> strcpy(validation, "n'a pas encore décidé");</span></div>
|
||||||
|
<div class="line"><a id="l00243" name="l00243"></a><span class="lineno"> 243</span><span class="comment"> break;</span></div>
|
||||||
|
<div class="line"><a id="l00244" name="l00244"></a><span class="lineno"> 244</span><span class="comment"> case 1:</span></div>
|
||||||
|
<div class="line"><a id="l00245" name="l00245"></a><span class="lineno"> 245</span><span class="comment"> strcpy(validation, "refuse la proposition");</span></div>
|
||||||
|
<div class="line"><a id="l00246" name="l00246"></a><span class="lineno"> 246</span><span class="comment"> break;</span></div>
|
||||||
|
<div class="line"><a id="l00247" name="l00247"></a><span class="lineno"> 247</span><span class="comment"> case -1:</span></div>
|
||||||
|
<div class="line"><a id="l00248" name="l00248"></a><span class="lineno"> 248</span><span class="comment"> strcpy(validation, "accepte");</span></div>
|
||||||
|
<div class="line"><a id="l00249" name="l00249"></a><span class="lineno"> 249</span><span class="comment"> break;</span></div>
|
||||||
|
<div class="line"><a id="l00250" name="l00250"></a><span class="lineno"> 250</span><span class="comment"> default:</span></div>
|
||||||
|
<div class="line"><a id="l00251" name="l00251"></a><span class="lineno"> 251</span><span class="comment"> break;</span></div>
|
||||||
|
<div class="line"><a id="l00252" name="l00252"></a><span class="lineno"> 252</span><span class="comment"> }</span></div>
|
||||||
|
<div class="line"><a id="l00253" name="l00253"></a><span class="lineno"> 253</span><span class="comment"></span> </div>
|
||||||
|
<div class="line"><a id="l00254" name="l00254"></a><span class="lineno"> 254</span><span class="comment"> printf("Candidature pour le département '%s' à l'IUT '%s' : \n"</span></div>
|
||||||
|
<div class="line"><a id="l00255" name="l00255"></a><span class="lineno"> 255</span><span class="comment"> " - Décision du département : %s,\n - Décision du candidat : %s\n\n",</span></div>
|
||||||
|
<div class="line"><a id="l00256" name="l00256"></a><span class="lineno"> 256</span><span class="comment"> candidature->departement, candidature->ville, decision, validation);</span></div>
|
||||||
|
<div class="line"><a id="l00257" name="l00257"></a><span class="lineno"> 257</span><span class="comment"> }</span></div>
|
||||||
|
<div class="line"><a id="l00258" name="l00258"></a><span class="lineno"> 258</span><span class="comment"></span> </div>
|
||||||
|
<div class="line"><a id="l00259" name="l00259"></a><span class="lineno"> 259</span><span class="comment"> if(nbCandidatures == 0)</span></div>
|
||||||
|
<div class="line"><a id="l00260" name="l00260"></a><span class="lineno"> 260</span><span class="comment"> fprintf(stderr, "\e[0;91mErreur : vous n'avez aucune candidature en cours, merci de réessayer plus tard.\n\e[0m");</span></div>
|
||||||
|
<div class="line"><a id="l00261" name="l00261"></a><span class="lineno"> 261</span><span class="comment">}*/</span></div>
|
||||||
|
<div class="line"><a id="l00262" name="l00262"></a><span class="lineno"> 262</span> </div>
|
||||||
|
<div class="line"><a id="l00263" name="l00263"></a><span class="lineno"><a class="line" href="deux_8c.html#ab23f833bdb8e7e5f6705a427b803940c"> 263</a></span><a class="code hl_struct" href="struct_candidat.html">ListeCandidats</a> <a class="code hl_function" href="deux_8c.html#ab23f833bdb8e7e5f6705a427b803940c">readCandidats</a>(<span class="keywordtype">int</span>* nbCandidats) {</div>
|
||||||
|
<div class="line"><a id="l00264" name="l00264"></a><span class="lineno"> 264</span> <span class="keywordtype">int</span> i, j;</div>
|
||||||
|
<div class="line"><a id="l00265" name="l00265"></a><span class="lineno"> 265</span> <a class="code hl_struct" href="struct_candidat.html">Candidat</a>* candidat;</div>
|
||||||
|
<div class="line"><a id="l00266" name="l00266"></a><span class="lineno"> 266</span> <a class="code hl_struct" href="struct_candidature.html">Candidature</a>* candidature;</div>
|
||||||
|
<div class="line"><a id="l00267" name="l00267"></a><span class="lineno"> 267</span> <a class="code hl_struct" href="struct_candidat.html">ListeCandidats</a> liste;</div>
|
||||||
|
<div class="line"><a id="l00268" name="l00268"></a><span class="lineno"> 268</span> <a class="code hl_struct" href="struct_candidature.html">ListeCandidatures</a> listeCandidatures;</div>
|
||||||
|
<div class="line"><a id="l00269" name="l00269"></a><span class="lineno"> 269</span> </div>
|
||||||
|
<div class="line"><a id="l00270" name="l00270"></a><span class="lineno"> 270</span> FILE *fe = fopen(<span class="stringliteral">"donnees/candidats.don"</span>, <span class="stringliteral">"r"</span>);</div>
|
||||||
|
<div class="line"><a id="l00271" name="l00271"></a><span class="lineno"> 271</span> </div>
|
||||||
|
<div class="line"><a id="l00272" name="l00272"></a><span class="lineno"> 272</span> <span class="keywordflow">if</span>(fe == NULL) {</div>
|
||||||
|
<div class="line"><a id="l00273" name="l00273"></a><span class="lineno"> 273</span> fprintf(stderr, <span class="stringliteral">"Erreur: impossible de lire le fichier candidats.don"</span>);</div>
|
||||||
|
<div class="line"><a id="l00274" name="l00274"></a><span class="lineno"> 274</span> <span class="keywordflow">return</span> NULL;</div>
|
||||||
|
<div class="line"><a id="l00275" name="l00275"></a><span class="lineno"> 275</span> }</div>
|
||||||
|
<div class="line"><a id="l00276" name="l00276"></a><span class="lineno"> 276</span> </div>
|
||||||
|
<div class="line"><a id="l00277" name="l00277"></a><span class="lineno"> 277</span> fscanf(fe, <span class="stringliteral">"%d"</span>, nbCandidats);</div>
|
||||||
|
<div class="line"><a id="l00278" name="l00278"></a><span class="lineno"> 278</span> </div>
|
||||||
|
<div class="line"><a id="l00279" name="l00279"></a><span class="lineno"> 279</span> liste = (<a class="code hl_typedef" href="structures_8h.html#add449d43ae5a45a35a5a0d355b17d74e">ListeCandidats</a>) malloc(*nbCandidats*<span class="keyword">sizeof</span>(<a class="code hl_struct" href="struct_candidat.html">Candidat</a>*));</div>
|
||||||
|
<div class="line"><a id="l00280" name="l00280"></a><span class="lineno"> 280</span> </div>
|
||||||
|
<div class="line"><a id="l00281" name="l00281"></a><span class="lineno"> 281</span> <span class="keywordflow">if</span>(liste == NULL) {</div>
|
||||||
|
<div class="line"><a id="l00282" name="l00282"></a><span class="lineno"> 282</span> perror(<span class="stringliteral">"malloc"</span>);</div>
|
||||||
|
<div class="line"><a id="l00283" name="l00283"></a><span class="lineno"> 283</span> exit(errno);</div>
|
||||||
|
<div class="line"><a id="l00284" name="l00284"></a><span class="lineno"> 284</span> }</div>
|
||||||
|
<div class="line"><a id="l00285" name="l00285"></a><span class="lineno"> 285</span> </div>
|
||||||
|
<div class="line"><a id="l00286" name="l00286"></a><span class="lineno"> 286</span> <span class="keywordflow">for</span>(i=0; i<*nbCandidats; i++) {</div>
|
||||||
|
<div class="line"><a id="l00287" name="l00287"></a><span class="lineno"> 287</span> candidat = <a class="code hl_function" href="deux_8c.html#a9fd89bafa880d71f757f84466bd9141d">creerCandidat</a>();</div>
|
||||||
|
<div class="line"><a id="l00288" name="l00288"></a><span class="lineno"> 288</span> fscanf(fe, <span class="stringliteral">"%d\n%[^\n]\n%[^\n]\n%f\n%f\n%f\n%f\n%d"</span>,</div>
|
||||||
|
<div class="line"><a id="l00289" name="l00289"></a><span class="lineno"> 289</span> &candidat-><a class="code hl_variable" href="struct_candidat.html#a5101faf02192e235cbec381eefab9ef9">id</a>, candidat-><a class="code hl_variable" href="struct_candidat.html#aa240dc3af1414bec7d6f64c785437237">nom</a>, candidat-><a class="code hl_variable" href="struct_candidat.html#acf972c71824c22bf896f762d0c386780">prenom</a>,</div>
|
||||||
|
<div class="line"><a id="l00290" name="l00290"></a><span class="lineno"> 290</span> &candidat-><a class="code hl_variable" href="struct_candidat.html#aa7ed8cd653f4edceb216310c790f293a">moyenneMath</a>, &candidat-><a class="code hl_variable" href="struct_candidat.html#a6d5803df1ab0e2f2920503327bec423b">moyenneFrancais</a>,</div>
|
||||||
|
<div class="line"><a id="l00291" name="l00291"></a><span class="lineno"> 291</span> &candidat-><a class="code hl_variable" href="struct_candidat.html#a0aabe6e4df019b15527561de205f4ecb">moyenneAnglais</a>, &candidat-><a class="code hl_variable" href="struct_candidat.html#a95c54dff20887b0d395377c631d4c635">moyenneSpecialite</a>,</div>
|
||||||
|
<div class="line"><a id="l00292" name="l00292"></a><span class="lineno"> 292</span> &candidat-><a class="code hl_variable" href="struct_candidat.html#ad0c996674ff9dde0da7af2bc29f005f6">nbCandidatures</a>);</div>
|
||||||
|
<div class="line"><a id="l00293" name="l00293"></a><span class="lineno"> 293</span> </div>
|
||||||
|
<div class="line"><a id="l00294" name="l00294"></a><span class="lineno"> 294</span> listeCandidatures = (<a class="code hl_typedef" href="structures_8h.html#a8b8b7c8cbc48c1b29c990f0e3f68eef7">ListeCandidatures</a>) malloc(candidat-><a class="code hl_variable" href="struct_candidat.html#ad0c996674ff9dde0da7af2bc29f005f6">nbCandidatures</a>*<span class="keyword">sizeof</span>(<a class="code hl_struct" href="struct_candidature.html">Candidature</a>*));</div>
|
||||||
|
<div class="line"><a id="l00295" name="l00295"></a><span class="lineno"> 295</span> </div>
|
||||||
|
<div class="line"><a id="l00296" name="l00296"></a><span class="lineno"> 296</span> <span class="keywordflow">if</span>(listeCandidatures == NULL) {</div>
|
||||||
|
<div class="line"><a id="l00297" name="l00297"></a><span class="lineno"> 297</span> perror(<span class="stringliteral">"malloc"</span>);</div>
|
||||||
|
<div class="line"><a id="l00298" name="l00298"></a><span class="lineno"> 298</span> exit(errno);</div>
|
||||||
|
<div class="line"><a id="l00299" name="l00299"></a><span class="lineno"> 299</span> }</div>
|
||||||
|
<div class="line"><a id="l00300" name="l00300"></a><span class="lineno"> 300</span> </div>
|
||||||
|
<div class="line"><a id="l00301" name="l00301"></a><span class="lineno"> 301</span> candidat-><a class="code hl_variable" href="struct_candidat.html#ae272a15c86e38f9ebfc6085714d9b236">listeCandidatures</a> = listeCandidatures;</div>
|
||||||
|
<div class="line"><a id="l00302" name="l00302"></a><span class="lineno"> 302</span> </div>
|
||||||
|
<div class="line"><a id="l00303" name="l00303"></a><span class="lineno"> 303</span> <span class="keywordflow">for</span>(j=0; j<candidat-><a class="code hl_variable" href="struct_candidat.html#ad0c996674ff9dde0da7af2bc29f005f6">nbCandidatures</a>; j++) {</div>
|
||||||
|
<div class="line"><a id="l00304" name="l00304"></a><span class="lineno"> 304</span> candidature = (<a class="code hl_struct" href="struct_candidature.html">Candidature</a>*) malloc(<span class="keyword">sizeof</span>(<a class="code hl_struct" href="struct_candidature.html">Candidature</a>));</div>
|
||||||
|
<div class="line"><a id="l00305" name="l00305"></a><span class="lineno"> 305</span> </div>
|
||||||
|
<div class="line"><a id="l00306" name="l00306"></a><span class="lineno"> 306</span> <span class="keywordflow">if</span>(candidature == NULL) {</div>
|
||||||
|
<div class="line"><a id="l00307" name="l00307"></a><span class="lineno"> 307</span> perror(<span class="stringliteral">"malloc"</span>);</div>
|
||||||
|
<div class="line"><a id="l00308" name="l00308"></a><span class="lineno"> 308</span> exit(errno);</div>
|
||||||
|
<div class="line"><a id="l00309" name="l00309"></a><span class="lineno"> 309</span> }</div>
|
||||||
|
<div class="line"><a id="l00310" name="l00310"></a><span class="lineno"> 310</span> </div>
|
||||||
|
<div class="line"><a id="l00311" name="l00311"></a><span class="lineno"> 311</span> fscanf(fe, <span class="stringliteral">"\n%[^\n]\n%[^\n]\n%d%d"</span>,</div>
|
||||||
|
<div class="line"><a id="l00312" name="l00312"></a><span class="lineno"> 312</span> candidature-><a class="code hl_variable" href="struct_candidature.html#aa569e6c7792140a22e61a0cd3d31cd27">ville</a>, candidature-><a class="code hl_variable" href="struct_candidature.html#a90db69a01c0d7a3247ea010cce283804">departement</a>,</div>
|
||||||
|
<div class="line"><a id="l00313" name="l00313"></a><span class="lineno"> 313</span> &candidature-><a class="code hl_variable" href="struct_candidature.html#afb945760815b26b59fad13898ab6caed">decision</a>, &candidature-><a class="code hl_variable" href="struct_candidature.html#ae80afc607e0332d19b2340d148610f34">validation</a>);</div>
|
||||||
|
<div class="line"><a id="l00314" name="l00314"></a><span class="lineno"> 314</span> candidat-><a class="code hl_variable" href="struct_candidat.html#ae272a15c86e38f9ebfc6085714d9b236">listeCandidatures</a>[j] = candidature;</div>
|
||||||
|
<div class="line"><a id="l00315" name="l00315"></a><span class="lineno"> 315</span> }</div>
|
||||||
|
<div class="line"><a id="l00316" name="l00316"></a><span class="lineno"> 316</span> </div>
|
||||||
|
<div class="line"><a id="l00317" name="l00317"></a><span class="lineno"> 317</span> liste[i] = candidat;</div>
|
||||||
|
<div class="line"><a id="l00318" name="l00318"></a><span class="lineno"> 318</span> }</div>
|
||||||
|
<div class="line"><a id="l00319" name="l00319"></a><span class="lineno"> 319</span> </div>
|
||||||
|
<div class="line"><a id="l00320" name="l00320"></a><span class="lineno"> 320</span> <span class="keywordflow">return</span> liste;</div>
|
||||||
|
<div class="line"><a id="l00321" name="l00321"></a><span class="lineno"> 321</span>}</div>
|
||||||
|
<div class="line"><a id="l00322" name="l00322"></a><span class="lineno"> 322</span> </div>
|
||||||
|
<div class="line"><a id="l00323" name="l00323"></a><span class="lineno"><a class="line" href="deux_8c.html#aa29d659a5a7e104d16453fb638aa7879"> 323</a></span><span class="keywordtype">int</span> <a class="code hl_function" href="deux_8c.html#aa29d659a5a7e104d16453fb638aa7879">compareCandidats</a>(<span class="keyword">const</span> <span class="keywordtype">void</span>* p1, <span class="keyword">const</span> <span class="keywordtype">void</span>* p2) {</div>
|
||||||
|
<div class="line"><a id="l00324" name="l00324"></a><span class="lineno"> 324</span> <a class="code hl_struct" href="struct_candidat.html">Candidat</a>* c1 = *(<a class="code hl_typedef" href="structures_8h.html#add449d43ae5a45a35a5a0d355b17d74e">ListeCandidats</a>) p1;</div>
|
||||||
|
<div class="line"><a id="l00325" name="l00325"></a><span class="lineno"> 325</span> <a class="code hl_struct" href="struct_candidat.html">Candidat</a>* c2 = *(<a class="code hl_typedef" href="structures_8h.html#add449d43ae5a45a35a5a0d355b17d74e">ListeCandidats</a>) p2;</div>
|
||||||
|
<div class="line"><a id="l00326" name="l00326"></a><span class="lineno"> 326</span> </div>
|
||||||
|
<div class="line"><a id="l00327" name="l00327"></a><span class="lineno"> 327</span> <span class="keywordtype">char</span> nomComplet1[60], nomComplet2[60];</div>
|
||||||
|
<div class="line"><a id="l00328" name="l00328"></a><span class="lineno"> 328</span> strcpy(nomComplet1, c1-><a class="code hl_variable" href="struct_candidat.html#aa240dc3af1414bec7d6f64c785437237">nom</a>);</div>
|
||||||
|
<div class="line"><a id="l00329" name="l00329"></a><span class="lineno"> 329</span> strcat(nomComplet1, c1-><a class="code hl_variable" href="struct_candidat.html#acf972c71824c22bf896f762d0c386780">prenom</a>);</div>
|
||||||
|
<div class="line"><a id="l00330" name="l00330"></a><span class="lineno"> 330</span> </div>
|
||||||
|
<div class="line"><a id="l00331" name="l00331"></a><span class="lineno"> 331</span> strcpy(nomComplet2, c2-><a class="code hl_variable" href="struct_candidat.html#aa240dc3af1414bec7d6f64c785437237">nom</a>);</div>
|
||||||
|
<div class="line"><a id="l00332" name="l00332"></a><span class="lineno"> 332</span> strcat(nomComplet2, c2-><a class="code hl_variable" href="struct_candidat.html#acf972c71824c22bf896f762d0c386780">prenom</a>);</div>
|
||||||
|
<div class="line"><a id="l00333" name="l00333"></a><span class="lineno"> 333</span> </div>
|
||||||
|
<div class="line"><a id="l00334" name="l00334"></a><span class="lineno"> 334</span> <span class="keywordflow">return</span> strcmp(nomComplet1, nomComplet2);</div>
|
||||||
|
<div class="line"><a id="l00335" name="l00335"></a><span class="lineno"> 335</span>}</div>
|
||||||
|
<div class="line"><a id="l00336" name="l00336"></a><span class="lineno"> 336</span> </div>
|
||||||
|
<div class="line"><a id="l00337" name="l00337"></a><span class="lineno"><a class="line" href="deux_8c.html#a144c1ecbcf346d4181e31a558ba84ac5"> 337</a></span><span class="keywordtype">int</span> <a class="code hl_function" href="deux_8c.html#a144c1ecbcf346d4181e31a558ba84ac5">saveCandidats</a>(<a class="code hl_struct" href="struct_candidat.html">ListeCandidats</a> liste, <span class="keywordtype">int</span> nbCandidats) {</div>
|
||||||
|
<div class="line"><a id="l00338" name="l00338"></a><span class="lineno"> 338</span> <span class="keywordtype">int</span> i, j;</div>
|
||||||
|
<div class="line"><a id="l00339" name="l00339"></a><span class="lineno"> 339</span> <a class="code hl_struct" href="struct_candidat.html">Candidat</a>* candidat;</div>
|
||||||
|
<div class="line"><a id="l00340" name="l00340"></a><span class="lineno"> 340</span> <a class="code hl_struct" href="struct_candidature.html">Candidature</a>* candidature;</div>
|
||||||
|
<div class="line"><a id="l00341" name="l00341"></a><span class="lineno"> 341</span> <a class="code hl_struct" href="struct_candidature.html">ListeCandidatures</a> listeCandidatures;</div>
|
||||||
|
<div class="line"><a id="l00342" name="l00342"></a><span class="lineno"> 342</span> </div>
|
||||||
|
<div class="line"><a id="l00343" name="l00343"></a><span class="lineno"> 343</span> FILE *fe = fopen(<span class="stringliteral">"donnees/candidats.don"</span>, <span class="stringliteral">"w"</span>);</div>
|
||||||
|
<div class="line"><a id="l00344" name="l00344"></a><span class="lineno"> 344</span> </div>
|
||||||
|
<div class="line"><a id="l00345" name="l00345"></a><span class="lineno"> 345</span> <span class="keywordflow">if</span>(fe == NULL) {</div>
|
||||||
|
<div class="line"><a id="l00346" name="l00346"></a><span class="lineno"> 346</span> fprintf(stderr, <span class="stringliteral">"Erreur: impossible de lire le fichier candidats.don"</span>);</div>
|
||||||
|
<div class="line"><a id="l00347" name="l00347"></a><span class="lineno"> 347</span> <span class="keywordflow">return</span> -1;</div>
|
||||||
|
<div class="line"><a id="l00348" name="l00348"></a><span class="lineno"> 348</span> }</div>
|
||||||
|
<div class="line"><a id="l00349" name="l00349"></a><span class="lineno"> 349</span> </div>
|
||||||
|
<div class="line"><a id="l00350" name="l00350"></a><span class="lineno"> 350</span> fprintf(fe, <span class="stringliteral">"%d"</span>, nbCandidats);</div>
|
||||||
|
<div class="line"><a id="l00351" name="l00351"></a><span class="lineno"> 351</span> </div>
|
||||||
|
<div class="line"><a id="l00352" name="l00352"></a><span class="lineno"> 352</span> <span class="keywordflow">for</span>(i=0; i<nbCandidats; i++) {</div>
|
||||||
|
<div class="line"><a id="l00353" name="l00353"></a><span class="lineno"> 353</span> candidat = liste[i];</div>
|
||||||
|
<div class="line"><a id="l00354" name="l00354"></a><span class="lineno"> 354</span> </div>
|
||||||
|
<div class="line"><a id="l00355" name="l00355"></a><span class="lineno"> 355</span> fprintf(fe, <span class="stringliteral">"\n%d\n%s\n%s\n%f\t%f\t%f\t%f\n%d"</span>,</div>
|
||||||
|
<div class="line"><a id="l00356" name="l00356"></a><span class="lineno"> 356</span> candidat-><a class="code hl_variable" href="struct_candidat.html#a5101faf02192e235cbec381eefab9ef9">id</a>, candidat-><a class="code hl_variable" href="struct_candidat.html#aa240dc3af1414bec7d6f64c785437237">nom</a>, candidat-><a class="code hl_variable" href="struct_candidat.html#acf972c71824c22bf896f762d0c386780">prenom</a>,</div>
|
||||||
|
<div class="line"><a id="l00357" name="l00357"></a><span class="lineno"> 357</span> candidat-><a class="code hl_variable" href="struct_candidat.html#aa7ed8cd653f4edceb216310c790f293a">moyenneMath</a>, candidat-><a class="code hl_variable" href="struct_candidat.html#a6d5803df1ab0e2f2920503327bec423b">moyenneFrancais</a>,</div>
|
||||||
|
<div class="line"><a id="l00358" name="l00358"></a><span class="lineno"> 358</span> candidat-><a class="code hl_variable" href="struct_candidat.html#a0aabe6e4df019b15527561de205f4ecb">moyenneAnglais</a>, candidat-><a class="code hl_variable" href="struct_candidat.html#a95c54dff20887b0d395377c631d4c635">moyenneSpecialite</a>,</div>
|
||||||
|
<div class="line"><a id="l00359" name="l00359"></a><span class="lineno"> 359</span> candidat-><a class="code hl_variable" href="struct_candidat.html#ad0c996674ff9dde0da7af2bc29f005f6">nbCandidatures</a>);</div>
|
||||||
|
<div class="line"><a id="l00360" name="l00360"></a><span class="lineno"> 360</span> </div>
|
||||||
|
<div class="line"><a id="l00361" name="l00361"></a><span class="lineno"> 361</span> listeCandidatures = candidat-><a class="code hl_variable" href="struct_candidat.html#ae272a15c86e38f9ebfc6085714d9b236">listeCandidatures</a>;</div>
|
||||||
|
<div class="line"><a id="l00362" name="l00362"></a><span class="lineno"> 362</span> </div>
|
||||||
|
<div class="line"><a id="l00363" name="l00363"></a><span class="lineno"> 363</span> <span class="keywordflow">for</span>(j=0; j<candidat-><a class="code hl_variable" href="struct_candidat.html#ad0c996674ff9dde0da7af2bc29f005f6">nbCandidatures</a>; j++) {</div>
|
||||||
|
<div class="line"><a id="l00364" name="l00364"></a><span class="lineno"> 364</span> candidature = listeCandidatures[j];</div>
|
||||||
|
<div class="line"><a id="l00365" name="l00365"></a><span class="lineno"> 365</span> fprintf(fe, <span class="stringliteral">"\n%s\n%s\n%d\n%d"</span>,</div>
|
||||||
|
<div class="line"><a id="l00366" name="l00366"></a><span class="lineno"> 366</span> candidature-><a class="code hl_variable" href="struct_candidature.html#aa569e6c7792140a22e61a0cd3d31cd27">ville</a>, candidature-><a class="code hl_variable" href="struct_candidature.html#a90db69a01c0d7a3247ea010cce283804">departement</a>,</div>
|
||||||
|
<div class="line"><a id="l00367" name="l00367"></a><span class="lineno"> 367</span> candidature-><a class="code hl_variable" href="struct_candidature.html#afb945760815b26b59fad13898ab6caed">decision</a>, candidature-><a class="code hl_variable" href="struct_candidature.html#ae80afc607e0332d19b2340d148610f34">validation</a>);</div>
|
||||||
|
<div class="line"><a id="l00368" name="l00368"></a><span class="lineno"> 368</span> }</div>
|
||||||
|
<div class="line"><a id="l00369" name="l00369"></a><span class="lineno"> 369</span> }</div>
|
||||||
|
<div class="line"><a id="l00370" name="l00370"></a><span class="lineno"> 370</span> </div>
|
||||||
|
<div class="line"><a id="l00371" name="l00371"></a><span class="lineno"> 371</span> fclose(fe);</div>
|
||||||
|
<div class="line"><a id="l00372" name="l00372"></a><span class="lineno"> 372</span> </div>
|
||||||
|
<div class="line"><a id="l00373" name="l00373"></a><span class="lineno"> 373</span> <span class="keywordflow">return</span> 0;</div>
|
||||||
|
<div class="line"><a id="l00374" name="l00374"></a><span class="lineno"> 374</span>}</div>
|
||||||
|
<div class="line"><a id="l00375" name="l00375"></a><span class="lineno"> 375</span> </div>
|
||||||
|
<div class="line"><a id="l00376" name="l00376"></a><span class="lineno"><a class="line" href="deux_8c.html#ab69176142c7bc496d57694e11e7deb16"> 376</a></span><span class="keywordtype">int</span> <a class="code hl_function" href="deux_8c.html#ab69176142c7bc496d57694e11e7deb16">readStatus</a>(<span class="keywordtype">void</span>) {</div>
|
||||||
|
<div class="line"><a id="l00377" name="l00377"></a><span class="lineno"> 377</span> <span class="keywordtype">int</span> status;</div>
|
||||||
|
<div class="line"><a id="l00378" name="l00378"></a><span class="lineno"> 378</span> </div>
|
||||||
|
<div class="line"><a id="l00379" name="l00379"></a><span class="lineno"> 379</span> FILE *fe = fopen(<span class="stringliteral">"donnees/status.don"</span>, <span class="stringliteral">"r"</span>);</div>
|
||||||
|
<div class="line"><a id="l00380" name="l00380"></a><span class="lineno"> 380</span> </div>
|
||||||
|
<div class="line"><a id="l00381" name="l00381"></a><span class="lineno"> 381</span> <span class="keywordflow">if</span>(fe == NULL) {</div>
|
||||||
|
<div class="line"><a id="l00382" name="l00382"></a><span class="lineno"> 382</span> perror(<span class="stringliteral">"fopen"</span>);</div>
|
||||||
|
<div class="line"><a id="l00383" name="l00383"></a><span class="lineno"> 383</span> exit(errno);</div>
|
||||||
|
<div class="line"><a id="l00384" name="l00384"></a><span class="lineno"> 384</span> }</div>
|
||||||
|
<div class="line"><a id="l00385" name="l00385"></a><span class="lineno"> 385</span> </div>
|
||||||
|
<div class="line"><a id="l00386" name="l00386"></a><span class="lineno"> 386</span> fscanf(fe, <span class="stringliteral">"%d"</span>, &status);</div>
|
||||||
|
<div class="line"><a id="l00387" name="l00387"></a><span class="lineno"> 387</span> </div>
|
||||||
|
<div class="line"><a id="l00388" name="l00388"></a><span class="lineno"> 388</span> fclose(fe);</div>
|
||||||
|
<div class="line"><a id="l00389" name="l00389"></a><span class="lineno"> 389</span> </div>
|
||||||
|
<div class="line"><a id="l00390" name="l00390"></a><span class="lineno"> 390</span> <span class="keywordflow">return</span> status;</div>
|
||||||
|
<div class="line"><a id="l00391" name="l00391"></a><span class="lineno"> 391</span>}</div>
|
||||||
|
<div class="line"><a id="l00392" name="l00392"></a><span class="lineno"> 392</span> </div>
|
||||||
|
<div class="line"><a id="l00393" name="l00393"></a><span class="lineno"><a class="line" href="deux_8c.html#a3bba1ba5f848dde11fbc93cab5278878"> 393</a></span><span class="keywordtype">void</span> <a class="code hl_function" href="deux_8c.html#a3bba1ba5f848dde11fbc93cab5278878">saveStatus</a>(<span class="keywordtype">int</span> status) {</div>
|
||||||
|
<div class="line"><a id="l00394" name="l00394"></a><span class="lineno"> 394</span> FILE *fe = fopen(<span class="stringliteral">"donnees/status.don"</span>, <span class="stringliteral">"w"</span>);</div>
|
||||||
|
<div class="line"><a id="l00395" name="l00395"></a><span class="lineno"> 395</span> </div>
|
||||||
|
<div class="line"><a id="l00396" name="l00396"></a><span class="lineno"> 396</span> <span class="keywordflow">if</span>(fe == NULL) {</div>
|
||||||
|
<div class="line"><a id="l00397" name="l00397"></a><span class="lineno"> 397</span> perror(<span class="stringliteral">"fopen"</span>);</div>
|
||||||
|
<div class="line"><a id="l00398" name="l00398"></a><span class="lineno"> 398</span> exit(errno);</div>
|
||||||
|
<div class="line"><a id="l00399" name="l00399"></a><span class="lineno"> 399</span> }</div>
|
||||||
|
<div class="line"><a id="l00400" name="l00400"></a><span class="lineno"> 400</span> </div>
|
||||||
|
<div class="line"><a id="l00401" name="l00401"></a><span class="lineno"> 401</span> fprintf(fe, <span class="stringliteral">"%d"</span>, status);</div>
|
||||||
|
<div class="line"><a id="l00402" name="l00402"></a><span class="lineno"> 402</span> </div>
|
||||||
|
<div class="line"><a id="l00403" name="l00403"></a><span class="lineno"> 403</span> fclose(fe);</div>
|
||||||
|
<div class="line"><a id="l00404" name="l00404"></a><span class="lineno"> 404</span>}</div>
|
||||||
|
<div class="ttc" id="adeux_8c_html_a144c1ecbcf346d4181e31a558ba84ac5"><div class="ttname"><a href="deux_8c.html#a144c1ecbcf346d4181e31a558ba84ac5">saveCandidats</a></div><div class="ttdeci">int saveCandidats(ListeCandidats liste, int nbCandidats)</div><div class="ttdoc">Enregistre la liste des candidats dans le fichier texte candidats.don.</div><div class="ttdef"><b>Definition:</b> <a href="deux_8c_source.html#l00337">deux.c:337</a></div></div>
|
||||||
|
<div class="ttc" id="adeux_8c_html_a346ec11b7cfecb53142039ba1125e31e"><div class="ttname"><a href="deux_8c.html#a346ec11b7cfecb53142039ba1125e31e">menuCandidat_candidater</a></div><div class="ttdeci">void menuCandidat_candidater(VilleIUT **tiut, int nbVilles, Candidat *candidat)</div><div class="ttdoc">Permet au candidat de déposer une candidature.</div><div class="ttdef"><b>Definition:</b> <a href="deux_8c_source.html#l00063">deux.c:63</a></div></div>
|
||||||
|
<div class="ttc" id="adeux_8c_html_a3bba1ba5f848dde11fbc93cab5278878"><div class="ttname"><a href="deux_8c.html#a3bba1ba5f848dde11fbc93cab5278878">saveStatus</a></div><div class="ttdeci">void saveStatus(int status)</div><div class="ttdoc">Enregistre sur le fichier texte status.don le status actuel de la phase de candidature (0 si la phase...</div><div class="ttdef"><b>Definition:</b> <a href="deux_8c_source.html#l00393">deux.c:393</a></div></div>
|
||||||
|
<div class="ttc" id="adeux_8c_html_a3f92b836fa2cfadc62f0ad9c11a449c5"><div class="ttname"><a href="deux_8c.html#a3f92b836fa2cfadc62f0ad9c11a449c5">afficherCandidatures</a></div><div class="ttdeci">void afficherCandidatures(ListeCandidatures candidatures, int nbCandidatures)</div><div class="ttdoc">Affiche récursivement toutes les candidatures d'un seul candidat.</div><div class="ttdef"><b>Definition:</b> <a href="deux_8c_source.html#l00160">deux.c:160</a></div></div>
|
||||||
|
<div class="ttc" id="adeux_8c_html_a54eb9bc5dbdbdb457257dbd4727ec59f"><div class="ttname"><a href="deux_8c.html#a54eb9bc5dbdbdb457257dbd4727ec59f">ajouterCandidat</a></div><div class="ttdeci">void ajouterCandidat(ListeCandidats *listePointer, int *nbCandidats, Candidat *candidat)</div><div class="ttdoc">Ajoute l'adresse du candidat dans le tableau de pointeur "liste".</div><div class="ttdef"><b>Definition:</b> <a href="deux_8c_source.html#l00042">deux.c:42</a></div></div>
|
||||||
|
<div class="ttc" id="adeux_8c_html_a581b991f3ee0dc610d684f27dce120ae"><div class="ttname"><a href="deux_8c.html#a581b991f3ee0dc610d684f27dce120ae">ajouterCandidature</a></div><div class="ttdeci">void ajouterCandidature(Candidat *candidat, Candidature *candidature)</div><div class="ttdoc">Ajoute une candidature dans la liste des candidatures associées au candidat correspondant dans les pa...</div><div class="ttdef"><b>Definition:</b> <a href="deux_8c_source.html#l00057">deux.c:57</a></div></div>
|
||||||
|
<div class="ttc" id="adeux_8c_html_a6b5755efb0bb15c7ee98372c76763fa1"><div class="ttname"><a href="deux_8c.html#a6b5755efb0bb15c7ee98372c76763fa1">checkCandidature</a></div><div class="ttdeci">int checkCandidature(Candidat *candidat, Candidature candid)</div><div class="ttdoc">Verifie si la candidature à ajouter n'existe pas déjà</div><div class="ttdef"><b>Definition:</b> <a href="deux_8c_source.html#l00114">deux.c:114</a></div></div>
|
||||||
|
<div class="ttc" id="adeux_8c_html_a7fe4daeb12de384a0a66b98f0b4cdf30"><div class="ttname"><a href="deux_8c.html#a7fe4daeb12de384a0a66b98f0b4cdf30">afficherCandidat</a></div><div class="ttdeci">void afficherCandidat(Candidat *candidat)</div><div class="ttdoc">Affiche un candidat précis.</div><div class="ttdef"><b>Definition:</b> <a href="deux_8c_source.html#l00149">deux.c:149</a></div></div>
|
||||||
|
<div class="ttc" id="adeux_8c_html_a8a7f12cc6517d640aea8a0d80797737a"><div class="ttname"><a href="deux_8c.html#a8a7f12cc6517d640aea8a0d80797737a">creerCandidature</a></div><div class="ttdeci">Candidature * creerCandidature(void)</div><div class="ttdoc">Alloue de la mémoire de la taille d'une structure Candidature avec un malloc avec les valeurs par déf...</div><div class="ttdef"><b>Definition:</b> <a href="deux_8c_source.html#l00029">deux.c:29</a></div></div>
|
||||||
|
<div class="ttc" id="adeux_8c_html_a9fd89bafa880d71f757f84466bd9141d"><div class="ttname"><a href="deux_8c.html#a9fd89bafa880d71f757f84466bd9141d">creerCandidat</a></div><div class="ttdeci">Candidat * creerCandidat(void)</div><div class="ttdoc">Alloue de la mémoire de la taille d'une structure Candidat avec un malloc.</div><div class="ttdef"><b>Definition:</b> <a href="deux_8c_source.html#l00018">deux.c:18</a></div></div>
|
||||||
|
<div class="ttc" id="adeux_8c_html_aa29d659a5a7e104d16453fb638aa7879"><div class="ttname"><a href="deux_8c.html#aa29d659a5a7e104d16453fb638aa7879">compareCandidats</a></div><div class="ttdeci">int compareCandidats(const void *p1, const void *p2)</div><div class="ttdoc">Compare deux candidats suivant l'ordre alphabetique.</div><div class="ttdef"><b>Definition:</b> <a href="deux_8c_source.html#l00323">deux.c:323</a></div></div>
|
||||||
|
<div class="ttc" id="adeux_8c_html_ab23f833bdb8e7e5f6705a427b803940c"><div class="ttname"><a href="deux_8c.html#ab23f833bdb8e7e5f6705a427b803940c">readCandidats</a></div><div class="ttdeci">ListeCandidats readCandidats(int *nbCandidats)</div><div class="ttdoc">Lit la liste des candidats dans le fichier texte candidats.don puis les met dans la structure ListeCa...</div><div class="ttdef"><b>Definition:</b> <a href="deux_8c_source.html#l00263">deux.c:263</a></div></div>
|
||||||
|
<div class="ttc" id="adeux_8c_html_ab69176142c7bc496d57694e11e7deb16"><div class="ttname"><a href="deux_8c.html#ab69176142c7bc496d57694e11e7deb16">readStatus</a></div><div class="ttdeci">int readStatus(void)</div><div class="ttdoc">Lis le status actuel de la phase de candidature (0 si la phase est arrêtée et 1 si elle est lancée)</div><div class="ttdef"><b>Definition:</b> <a href="deux_8c_source.html#l00376">deux.c:376</a></div></div>
|
||||||
|
<div class="ttc" id="adeux_8c_html_af5b94a22bd855987ee7db353ce1cc00a"><div class="ttname"><a href="deux_8c.html#af5b94a22bd855987ee7db353ce1cc00a">afficherListeCandidats</a></div><div class="ttdeci">void afficherListeCandidats(ListeCandidats liste, int nbCandidats)</div><div class="ttdoc">Affiche tous les candidats triés par nom.</div><div class="ttdef"><b>Definition:</b> <a href="deux_8c_source.html#l00125">deux.c:125</a></div></div>
|
||||||
|
<div class="ttc" id="adeux_8h_html"><div class="ttname"><a href="deux_8h.html">deux.h</a></div><div class="ttdoc">Partie 2 de la SAE 1.02.</div></div>
|
||||||
|
<div class="ttc" id="astruct_candidat_html"><div class="ttname"><a href="struct_candidat.html">Candidat</a></div><div class="ttdef"><b>Definition:</b> <a href="structures_8h_source.html#l00027">structures.h:27</a></div></div>
|
||||||
|
<div class="ttc" id="astruct_candidat_html_a0aabe6e4df019b15527561de205f4ecb"><div class="ttname"><a href="struct_candidat.html#a0aabe6e4df019b15527561de205f4ecb">Candidat::moyenneAnglais</a></div><div class="ttdeci">float moyenneAnglais</div><div class="ttdef"><b>Definition:</b> <a href="structures_8h_source.html#l00030">structures.h:30</a></div></div>
|
||||||
|
<div class="ttc" id="astruct_candidat_html_a5101faf02192e235cbec381eefab9ef9"><div class="ttname"><a href="struct_candidat.html#a5101faf02192e235cbec381eefab9ef9">Candidat::id</a></div><div class="ttdeci">int id</div><div class="ttdef"><b>Definition:</b> <a href="structures_8h_source.html#l00028">structures.h:28</a></div></div>
|
||||||
|
<div class="ttc" id="astruct_candidat_html_a6d5803df1ab0e2f2920503327bec423b"><div class="ttname"><a href="struct_candidat.html#a6d5803df1ab0e2f2920503327bec423b">Candidat::moyenneFrancais</a></div><div class="ttdeci">float moyenneFrancais</div><div class="ttdef"><b>Definition:</b> <a href="structures_8h_source.html#l00030">structures.h:30</a></div></div>
|
||||||
|
<div class="ttc" id="astruct_candidat_html_a95c54dff20887b0d395377c631d4c635"><div class="ttname"><a href="struct_candidat.html#a95c54dff20887b0d395377c631d4c635">Candidat::moyenneSpecialite</a></div><div class="ttdeci">float moyenneSpecialite</div><div class="ttdef"><b>Definition:</b> <a href="structures_8h_source.html#l00030">structures.h:30</a></div></div>
|
||||||
|
<div class="ttc" id="astruct_candidat_html_aa240dc3af1414bec7d6f64c785437237"><div class="ttname"><a href="struct_candidat.html#aa240dc3af1414bec7d6f64c785437237">Candidat::nom</a></div><div class="ttdeci">char nom[LEN_MAX]</div><div class="ttdef"><b>Definition:</b> <a href="structures_8h_source.html#l00029">structures.h:29</a></div></div>
|
||||||
|
<div class="ttc" id="astruct_candidat_html_aa7ed8cd653f4edceb216310c790f293a"><div class="ttname"><a href="struct_candidat.html#aa7ed8cd653f4edceb216310c790f293a">Candidat::moyenneMath</a></div><div class="ttdeci">float moyenneMath</div><div class="ttdef"><b>Definition:</b> <a href="structures_8h_source.html#l00030">structures.h:30</a></div></div>
|
||||||
|
<div class="ttc" id="astruct_candidat_html_acf972c71824c22bf896f762d0c386780"><div class="ttname"><a href="struct_candidat.html#acf972c71824c22bf896f762d0c386780">Candidat::prenom</a></div><div class="ttdeci">char prenom[LEN_MAX]</div><div class="ttdef"><b>Definition:</b> <a href="structures_8h_source.html#l00029">structures.h:29</a></div></div>
|
||||||
|
<div class="ttc" id="astruct_candidat_html_ad0c996674ff9dde0da7af2bc29f005f6"><div class="ttname"><a href="struct_candidat.html#ad0c996674ff9dde0da7af2bc29f005f6">Candidat::nbCandidatures</a></div><div class="ttdeci">int nbCandidatures</div><div class="ttdef"><b>Definition:</b> <a href="structures_8h_source.html#l00031">structures.h:31</a></div></div>
|
||||||
|
<div class="ttc" id="astruct_candidat_html_ae272a15c86e38f9ebfc6085714d9b236"><div class="ttname"><a href="struct_candidat.html#ae272a15c86e38f9ebfc6085714d9b236">Candidat::listeCandidatures</a></div><div class="ttdeci">ListeCandidatures listeCandidatures</div><div class="ttdef"><b>Definition:</b> <a href="structures_8h_source.html#l00032">structures.h:32</a></div></div>
|
||||||
|
<div class="ttc" id="astruct_candidature_html"><div class="ttname"><a href="struct_candidature.html">Candidature</a></div><div class="ttdef"><b>Definition:</b> <a href="structures_8h_source.html#l00020">structures.h:20</a></div></div>
|
||||||
|
<div class="ttc" id="astruct_candidature_html_a90db69a01c0d7a3247ea010cce283804"><div class="ttname"><a href="struct_candidature.html#a90db69a01c0d7a3247ea010cce283804">Candidature::departement</a></div><div class="ttdeci">char departement[LEN_MAX]</div><div class="ttdef"><b>Definition:</b> <a href="structures_8h_source.html#l00021">structures.h:21</a></div></div>
|
||||||
|
<div class="ttc" id="astruct_candidature_html_aa569e6c7792140a22e61a0cd3d31cd27"><div class="ttname"><a href="struct_candidature.html#aa569e6c7792140a22e61a0cd3d31cd27">Candidature::ville</a></div><div class="ttdeci">char ville[LEN_MAX]</div><div class="ttdef"><b>Definition:</b> <a href="structures_8h_source.html#l00021">structures.h:21</a></div></div>
|
||||||
|
<div class="ttc" id="astruct_candidature_html_ae80afc607e0332d19b2340d148610f34"><div class="ttname"><a href="struct_candidature.html#ae80afc607e0332d19b2340d148610f34">Candidature::validation</a></div><div class="ttdeci">int validation</div><div class="ttdef"><b>Definition:</b> <a href="structures_8h_source.html#l00022">structures.h:22</a></div></div>
|
||||||
|
<div class="ttc" id="astruct_candidature_html_afb945760815b26b59fad13898ab6caed"><div class="ttname"><a href="struct_candidature.html#afb945760815b26b59fad13898ab6caed">Candidature::decision</a></div><div class="ttdeci">int decision</div><div class="ttdef"><b>Definition:</b> <a href="structures_8h_source.html#l00022">structures.h:22</a></div></div>
|
||||||
|
<div class="ttc" id="astruct_maillon_dept_html"><div class="ttname"><a href="struct_maillon_dept.html">MaillonDept</a></div><div class="ttdef"><b>Definition:</b> <a href="structures_8h_source.html#l00004">structures.h:4</a></div></div>
|
||||||
|
<div class="ttc" id="astruct_maillon_dept_html_a0df7349423ca07354f4e6c42c730a10b"><div class="ttname"><a href="struct_maillon_dept.html#a0df7349423ca07354f4e6c42c730a10b">MaillonDept::departement</a></div><div class="ttdeci">char departement[LEN_MAX]</div><div class="ttdef"><b>Definition:</b> <a href="structures_8h_source.html#l00005">structures.h:5</a></div></div>
|
||||||
|
<div class="ttc" id="astruct_maillon_dept_html_a7a1769666f1fea0a825997a2d123f870"><div class="ttname"><a href="struct_maillon_dept.html#a7a1769666f1fea0a825997a2d123f870">MaillonDept::suiv</a></div><div class="ttdeci">struct MaillonDept * suiv</div><div class="ttdef"><b>Definition:</b> <a href="structures_8h_source.html#l00009">structures.h:9</a></div></div>
|
||||||
|
<div class="ttc" id="astruct_ville_i_u_t_html"><div class="ttname"><a href="struct_ville_i_u_t.html">VilleIUT</a></div><div class="ttdef"><b>Definition:</b> <a href="structures_8h_source.html#l00014">structures.h:14</a></div></div>
|
||||||
|
<div class="ttc" id="astruct_ville_i_u_t_html_aaf6c03c46c4912dcced9eeb07f2342e3"><div class="ttname"><a href="struct_ville_i_u_t.html#aaf6c03c46c4912dcced9eeb07f2342e3">VilleIUT::ldept</a></div><div class="ttdeci">ListeDept ldept</div><div class="ttdef"><b>Definition:</b> <a href="structures_8h_source.html#l00016">structures.h:16</a></div></div>
|
||||||
|
<div class="ttc" id="astructures_8h_html_a61b74f2dc771ef513065f17ef86fa632"><div class="ttname"><a href="structures_8h.html#a61b74f2dc771ef513065f17ef86fa632">LEN_MAX</a></div><div class="ttdeci">#define LEN_MAX</div><div class="ttdef"><b>Definition:</b> <a href="structures_8h_source.html#l00001">structures.h:1</a></div></div>
|
||||||
|
<div class="ttc" id="astructures_8h_html_a8b8b7c8cbc48c1b29c990f0e3f68eef7"><div class="ttname"><a href="structures_8h.html#a8b8b7c8cbc48c1b29c990f0e3f68eef7">ListeCandidatures</a></div><div class="ttdeci">Candidature ** ListeCandidatures</div><div class="ttdef"><b>Definition:</b> <a href="structures_8h_source.html#l00025">structures.h:25</a></div></div>
|
||||||
|
<div class="ttc" id="astructures_8h_html_add449d43ae5a45a35a5a0d355b17d74e"><div class="ttname"><a href="structures_8h.html#add449d43ae5a45a35a5a0d355b17d74e">ListeCandidats</a></div><div class="ttdeci">Candidat ** ListeCandidats</div><div class="ttdef"><b>Definition:</b> <a href="structures_8h_source.html#l00035">structures.h:35</a></div></div>
|
||||||
|
<div class="ttc" id="aun_8c_html_a2a08d27051520d60755e7efa40492106"><div class="ttname"><a href="un_8c.html#a2a08d27051520d60755e7efa40492106">rechercherVille</a></div><div class="ttdeci">int rechercherVille(VilleIUT **tiut, int nbVilles, char *searchIUT)</div><div class="ttdoc">Fonction de recherche pour trouver la position de la ville recherchée dans le tableau tiut.</div><div class="ttdef"><b>Definition:</b> <a href="un_8c_source.html#l00735">un.c:735</a></div></div>
|
||||||
|
</div><!-- fragment --></div><!-- contents -->
|
||||||
|
<!-- start footer part -->
|
||||||
|
<hr class="footer"/><address class="footer"><small>
|
||||||
|
Generated by <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>
|
@ -0,0 +1,848 @@
|
|||||||
|
<!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/II/deux.h 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&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&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><li class="navelem"><a class="el" href="dir_9170cd96d41fdbdbf8a9ef7aa4556cb5.html">II</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">deux.h File Reference</div></div>
|
||||||
|
</div><!--header-->
|
||||||
|
<div class="contents">
|
||||||
|
|
||||||
|
<p>Partie 2 de la SAE 1.02.
|
||||||
|
<a href="#details">More...</a></p>
|
||||||
|
<div class="textblock"><div class="dynheader">
|
||||||
|
This graph shows which files directly or indirectly include this file:</div>
|
||||||
|
<div class="dyncontent">
|
||||||
|
<div class="center"><img src="deux_8h__dep__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_2_i_i_2deux_8hdep" 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_2_i_i_2deux_8hdep" id="a_2_users_2alloux_2_s_a_e102__2022___g_o_i_g_o_u_x___j_e_u_d_i_2src_2_i_i_2deux_8hdep">
|
||||||
|
<area shape="rect" title="Partie 2 de la SAE 1.02." alt="" coords="5,5,201,60"/>
|
||||||
|
<area shape="rect" href="deux_8c.html" title="Partie 2 de la SAE 1.02." alt="" coords="5,108,201,163"/>
|
||||||
|
<area shape="rect" href="un_8c.html" title="Partie 1 de la SAE 1.02." alt="" coords="5,211,201,265"/>
|
||||||
|
<area shape="rect" href="main_8c.html" title="Exécutable principal du programme." alt="" coords="5,313,201,368"/>
|
||||||
|
</map>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<p><a href="deux_8h_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:a9fd89bafa880d71f757f84466bd9141d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_candidat.html">Candidat</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="deux_8h.html#a9fd89bafa880d71f757f84466bd9141d">creerCandidat</a> (void)</td></tr>
|
||||||
|
<tr class="memdesc:a9fd89bafa880d71f757f84466bd9141d"><td class="mdescLeft"> </td><td class="mdescRight">Alloue de la mémoire de la taille d'une structure <a class="el" href="struct_candidat.html">Candidat</a> avec un malloc. <a href="deux_8h.html#a9fd89bafa880d71f757f84466bd9141d">More...</a><br /></td></tr>
|
||||||
|
<tr class="separator:a9fd89bafa880d71f757f84466bd9141d"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:a8a7f12cc6517d640aea8a0d80797737a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_candidature.html">Candidature</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="deux_8h.html#a8a7f12cc6517d640aea8a0d80797737a">creerCandidature</a> (void)</td></tr>
|
||||||
|
<tr class="memdesc:a8a7f12cc6517d640aea8a0d80797737a"><td class="mdescLeft"> </td><td class="mdescRight">Alloue de la mémoire de la taille d'une structure <a class="el" href="struct_candidature.html">Candidature</a> avec un malloc avec les valeurs par défaut à 0 pour les variables décision & validation. <a href="deux_8h.html#a8a7f12cc6517d640aea8a0d80797737a">More...</a><br /></td></tr>
|
||||||
|
<tr class="separator:a8a7f12cc6517d640aea8a0d80797737a"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:a54eb9bc5dbdbdb457257dbd4727ec59f"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="deux_8h.html#a54eb9bc5dbdbdb457257dbd4727ec59f">ajouterCandidat</a> (<a class="el" href="structures_8h.html#add449d43ae5a45a35a5a0d355b17d74e">ListeCandidats</a> *listePointer, int *nbCandidats, <a class="el" href="struct_candidat.html">Candidat</a> *candidat)</td></tr>
|
||||||
|
<tr class="memdesc:a54eb9bc5dbdbdb457257dbd4727ec59f"><td class="mdescLeft"> </td><td class="mdescRight">Ajoute l'adresse du candidat dans le tableau de pointeur "liste". <a href="deux_8h.html#a54eb9bc5dbdbdb457257dbd4727ec59f">More...</a><br /></td></tr>
|
||||||
|
<tr class="separator:a54eb9bc5dbdbdb457257dbd4727ec59f"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:a581b991f3ee0dc610d684f27dce120ae"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="deux_8h.html#a581b991f3ee0dc610d684f27dce120ae">ajouterCandidature</a> (<a class="el" href="struct_candidat.html">Candidat</a> *candidat, <a class="el" href="struct_candidature.html">Candidature</a> *candidature)</td></tr>
|
||||||
|
<tr class="memdesc:a581b991f3ee0dc610d684f27dce120ae"><td class="mdescLeft"> </td><td class="mdescRight">Ajoute une candidature dans la liste des candidatures associées au candidat correspondant dans les paramètres de la fonction. <a href="deux_8h.html#a581b991f3ee0dc610d684f27dce120ae">More...</a><br /></td></tr>
|
||||||
|
<tr class="separator:a581b991f3ee0dc610d684f27dce120ae"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:a346ec11b7cfecb53142039ba1125e31e"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="deux_8h.html#a346ec11b7cfecb53142039ba1125e31e">menuCandidat_candidater</a> (<a class="el" href="struct_ville_i_u_t.html">VilleIUT</a> **tiut, int nbVilles, <a class="el" href="struct_candidat.html">Candidat</a> *candidat)</td></tr>
|
||||||
|
<tr class="memdesc:a346ec11b7cfecb53142039ba1125e31e"><td class="mdescLeft"> </td><td class="mdescRight">Permet au candidat de déposer une candidature. <a href="deux_8h.html#a346ec11b7cfecb53142039ba1125e31e">More...</a><br /></td></tr>
|
||||||
|
<tr class="separator:a346ec11b7cfecb53142039ba1125e31e"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:a6b5755efb0bb15c7ee98372c76763fa1"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="deux_8h.html#a6b5755efb0bb15c7ee98372c76763fa1">checkCandidature</a> (<a class="el" href="struct_candidat.html">Candidat</a> *candidat, <a class="el" href="struct_candidature.html">Candidature</a> candid)</td></tr>
|
||||||
|
<tr class="memdesc:a6b5755efb0bb15c7ee98372c76763fa1"><td class="mdescLeft"> </td><td class="mdescRight">Verifie si la candidature à ajouter n'existe pas déjà <a href="deux_8h.html#a6b5755efb0bb15c7ee98372c76763fa1">More...</a><br /></td></tr>
|
||||||
|
<tr class="separator:a6b5755efb0bb15c7ee98372c76763fa1"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:af5b94a22bd855987ee7db353ce1cc00a"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="deux_8h.html#af5b94a22bd855987ee7db353ce1cc00a">afficherListeCandidats</a> (<a class="el" href="structures_8h.html#add449d43ae5a45a35a5a0d355b17d74e">ListeCandidats</a> liste, int nbCandidats)</td></tr>
|
||||||
|
<tr class="memdesc:af5b94a22bd855987ee7db353ce1cc00a"><td class="mdescLeft"> </td><td class="mdescRight">Affiche tous les candidats triés par nom. <a href="deux_8h.html#af5b94a22bd855987ee7db353ce1cc00a">More...</a><br /></td></tr>
|
||||||
|
<tr class="separator:af5b94a22bd855987ee7db353ce1cc00a"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:a7fe4daeb12de384a0a66b98f0b4cdf30"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="deux_8h.html#a7fe4daeb12de384a0a66b98f0b4cdf30">afficherCandidat</a> (<a class="el" href="struct_candidat.html">Candidat</a> *candidat)</td></tr>
|
||||||
|
<tr class="memdesc:a7fe4daeb12de384a0a66b98f0b4cdf30"><td class="mdescLeft"> </td><td class="mdescRight">Affiche un candidat précis. <a href="deux_8h.html#a7fe4daeb12de384a0a66b98f0b4cdf30">More...</a><br /></td></tr>
|
||||||
|
<tr class="separator:a7fe4daeb12de384a0a66b98f0b4cdf30"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:a3f92b836fa2cfadc62f0ad9c11a449c5"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="deux_8h.html#a3f92b836fa2cfadc62f0ad9c11a449c5">afficherCandidatures</a> (<a class="el" href="structures_8h.html#a8b8b7c8cbc48c1b29c990f0e3f68eef7">ListeCandidatures</a> candidatures, int nbCandidatures)</td></tr>
|
||||||
|
<tr class="memdesc:a3f92b836fa2cfadc62f0ad9c11a449c5"><td class="mdescLeft"> </td><td class="mdescRight">Affiche récursivement toutes les candidatures d'un seul candidat. <a href="deux_8h.html#a3f92b836fa2cfadc62f0ad9c11a449c5">More...</a><br /></td></tr>
|
||||||
|
<tr class="separator:a3f92b836fa2cfadc62f0ad9c11a449c5"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:ab23f833bdb8e7e5f6705a427b803940c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structures_8h.html#add449d43ae5a45a35a5a0d355b17d74e">ListeCandidats</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="deux_8h.html#ab23f833bdb8e7e5f6705a427b803940c">readCandidats</a> (int *nbCandidats)</td></tr>
|
||||||
|
<tr class="memdesc:ab23f833bdb8e7e5f6705a427b803940c"><td class="mdescLeft"> </td><td class="mdescRight">Lit la liste des candidats dans le fichier texte candidats.don puis les met dans la structure ListeCandidats. <a href="deux_8h.html#ab23f833bdb8e7e5f6705a427b803940c">More...</a><br /></td></tr>
|
||||||
|
<tr class="separator:ab23f833bdb8e7e5f6705a427b803940c"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:a144c1ecbcf346d4181e31a558ba84ac5"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="deux_8h.html#a144c1ecbcf346d4181e31a558ba84ac5">saveCandidats</a> (<a class="el" href="structures_8h.html#add449d43ae5a45a35a5a0d355b17d74e">ListeCandidats</a> liste, int nbCandidats)</td></tr>
|
||||||
|
<tr class="memdesc:a144c1ecbcf346d4181e31a558ba84ac5"><td class="mdescLeft"> </td><td class="mdescRight">Enregistre la liste des candidats dans le fichier texte candidats.don. <a href="deux_8h.html#a144c1ecbcf346d4181e31a558ba84ac5">More...</a><br /></td></tr>
|
||||||
|
<tr class="separator:a144c1ecbcf346d4181e31a558ba84ac5"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:ae77539e0374e7072d44cfc37f1b09821"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="deux_8h.html#ae77539e0374e7072d44cfc37f1b09821">compareCandidats</a> (const void *c1, const void *c2)</td></tr>
|
||||||
|
<tr class="memdesc:ae77539e0374e7072d44cfc37f1b09821"><td class="mdescLeft"> </td><td class="mdescRight">Compare deux candidats suivant l'ordre alphabetique. <a href="deux_8h.html#ae77539e0374e7072d44cfc37f1b09821">More...</a><br /></td></tr>
|
||||||
|
<tr class="separator:ae77539e0374e7072d44cfc37f1b09821"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:ab69176142c7bc496d57694e11e7deb16"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="deux_8h.html#ab69176142c7bc496d57694e11e7deb16">readStatus</a> (void)</td></tr>
|
||||||
|
<tr class="memdesc:ab69176142c7bc496d57694e11e7deb16"><td class="mdescLeft"> </td><td class="mdescRight">Lis le status actuel de la phase de candidature (0 si la phase est arrêtée et 1 si elle est lancée) <a href="deux_8h.html#ab69176142c7bc496d57694e11e7deb16">More...</a><br /></td></tr>
|
||||||
|
<tr class="separator:ab69176142c7bc496d57694e11e7deb16"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:a3bba1ba5f848dde11fbc93cab5278878"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="deux_8h.html#a3bba1ba5f848dde11fbc93cab5278878">saveStatus</a> (int status)</td></tr>
|
||||||
|
<tr class="memdesc:a3bba1ba5f848dde11fbc93cab5278878"><td class="mdescLeft"> </td><td class="mdescRight">Enregistre sur le fichier texte status.don le status actuel de la phase de candidature (0 si la phase est arrêtée et 1 si elle est lancée) <a href="deux_8h.html#a3bba1ba5f848dde11fbc93cab5278878">More...</a><br /></td></tr>
|
||||||
|
<tr class="separator:a3bba1ba5f848dde11fbc93cab5278878"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
</table>
|
||||||
|
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
||||||
|
<div class="textblock"><p >Partie 2 de la SAE 1.02. </p>
|
||||||
|
<p >Partie 3 de la SAE 1.02.</p>
|
||||||
|
<dl class="section author"><dt>Author</dt><dd>GOIGOUX Lucie & JEUDI–LEMOINE Alix </dd></dl>
|
||||||
|
<dl class="section date"><dt>Date</dt><dd>23/12/22 </dd></dl>
|
||||||
|
<p>Application de gestion des candidature dans les IUT de France</p>
|
||||||
|
<dl class="section author"><dt>Author</dt><dd>GOIGOUX Lucie & JEUDI–LEMOINE Alix </dd></dl>
|
||||||
|
<dl class="section date"><dt>Date</dt><dd>06/01/23 </dd></dl>
|
||||||
|
<p>Application de gestion des candidature dans les IUT de France </p>
|
||||||
|
|
||||||
|
<p class="definition">Definition in file <a class="el" href="deux_8h_source.html">deux.h</a>.</p>
|
||||||
|
</div><h2 class="groupheader">Function Documentation</h2>
|
||||||
|
<a id="a7fe4daeb12de384a0a66b98f0b4cdf30" name="a7fe4daeb12de384a0a66b98f0b4cdf30"></a>
|
||||||
|
<h2 class="memtitle"><span class="permalink"><a href="#a7fe4daeb12de384a0a66b98f0b4cdf30">◆ </a></span>afficherCandidat()</h2>
|
||||||
|
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">void afficherCandidat </td>
|
||||||
|
<td>(</td>
|
||||||
|
<td class="paramtype"><a class="el" href="struct_candidat.html">Candidat</a> * </td>
|
||||||
|
<td class="paramname"><em>candidat</em></td><td>)</td>
|
||||||
|
<td></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
|
||||||
|
<p>Affiche un candidat précis. </p>
|
||||||
|
<dl class="params"><dt>Parameters</dt><dd>
|
||||||
|
<table class="params">
|
||||||
|
<tr><td class="paramname">candidat</td><td>Adresse du candidat que l'utilisateur choisi d'afficher </td></tr>
|
||||||
|
</table>
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
|
||||||
|
<p class="definition">Definition at line <a class="el" href="deux_8c_source.html#l00149">149</a> of file <a class="el" href="deux_8c_source.html">deux.c</a>.</p>
|
||||||
|
<div class="dynheader">
|
||||||
|
Here is the caller graph for this function:</div>
|
||||||
|
<div class="dyncontent">
|
||||||
|
<div class="center"><img src="deux_8h_a7fe4daeb12de384a0a66b98f0b4cdf30_icgraph.png" border="0" usemap="#adeux_8h_a7fe4daeb12de384a0a66b98f0b4cdf30_icgraph" alt=""/></div>
|
||||||
|
<map name="adeux_8h_a7fe4daeb12de384a0a66b98f0b4cdf30_icgraph" id="adeux_8h_a7fe4daeb12de384a0a66b98f0b4cdf30_icgraph">
|
||||||
|
<area shape="rect" title="Affiche un candidat précis." alt="" coords="595,5,712,31"/>
|
||||||
|
<area shape="rect" href="deux_8c.html#af5b94a22bd855987ee7db353ce1cc00a" title="Affiche tous les candidats triés par nom." alt="" coords="395,5,547,31"/>
|
||||||
|
<area shape="rect" href="un_8c.html#a7e91197935e5f2f6df2a2f2b6b05fd98" title="Affiche le menu des administrateurs et permet l'appel des fonctions suivant le choix de l'utilisateur..." alt="" coords="256,5,347,31"/>
|
||||||
|
<area shape="rect" href="un_8c.html#adfbaa271f44d828c6a42ce7e9affee88" title="Affiche le menu principal et permet l'appel des menus candidats/administrateurs/responsables suivant ..." alt="" coords="104,5,208,31"/>
|
||||||
|
<area shape="rect" href="main_8c.html#a840291bc02cba5474a4cb46a9b9566fe" title=" " alt="" coords="5,5,56,31"/>
|
||||||
|
</map>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a id="a3f92b836fa2cfadc62f0ad9c11a449c5" name="a3f92b836fa2cfadc62f0ad9c11a449c5"></a>
|
||||||
|
<h2 class="memtitle"><span class="permalink"><a href="#a3f92b836fa2cfadc62f0ad9c11a449c5">◆ </a></span>afficherCandidatures()</h2>
|
||||||
|
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">void afficherCandidatures </td>
|
||||||
|
<td>(</td>
|
||||||
|
<td class="paramtype"><a class="el" href="structures_8h.html#a8b8b7c8cbc48c1b29c990f0e3f68eef7">ListeCandidatures</a> </td>
|
||||||
|
<td class="paramname"><em>candidatures</em>, </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="paramkey"></td>
|
||||||
|
<td></td>
|
||||||
|
<td class="paramtype">int </td>
|
||||||
|
<td class="paramname"><em>nbCandidatures</em> </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td></td>
|
||||||
|
<td>)</td>
|
||||||
|
<td></td><td></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
|
||||||
|
<p>Affiche récursivement toutes les candidatures d'un seul candidat. </p>
|
||||||
|
<dl class="params"><dt>Parameters</dt><dd>
|
||||||
|
<table class="params">
|
||||||
|
<tr><td class="paramname">candidatures</td><td>Tableau de pointeur sur les candidatures d'un candidat </td></tr>
|
||||||
|
<tr><td class="paramname">nbCandidatures</td><td>Nombre de candidatures du candidat </td></tr>
|
||||||
|
</table>
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
|
||||||
|
<p class="definition">Definition at line <a class="el" href="deux_8c_source.html#l00160">160</a> of file <a class="el" href="deux_8c_source.html">deux.c</a>.</p>
|
||||||
|
<div class="dynheader">
|
||||||
|
Here is the call graph for this function:</div>
|
||||||
|
<div class="dyncontent">
|
||||||
|
<div class="center"><img src="deux_8h_a3f92b836fa2cfadc62f0ad9c11a449c5_cgraph.png" border="0" usemap="#adeux_8h_a3f92b836fa2cfadc62f0ad9c11a449c5_cgraph" alt=""/></div>
|
||||||
|
<map name="adeux_8h_a3f92b836fa2cfadc62f0ad9c11a449c5_cgraph" id="adeux_8h_a3f92b836fa2cfadc62f0ad9c11a449c5_cgraph">
|
||||||
|
<area shape="rect" title="Affiche récursivement toutes les candidatures d'un seul candidat." alt="" coords="5,29,148,55"/>
|
||||||
|
</map>
|
||||||
|
</div>
|
||||||
|
<div class="dynheader">
|
||||||
|
Here is the caller graph for this function:</div>
|
||||||
|
<div class="dyncontent">
|
||||||
|
<div class="center"><img src="deux_8h_a3f92b836fa2cfadc62f0ad9c11a449c5_icgraph.png" border="0" usemap="#adeux_8h_a3f92b836fa2cfadc62f0ad9c11a449c5_icgraph" alt=""/></div>
|
||||||
|
<map name="adeux_8h_a3f92b836fa2cfadc62f0ad9c11a449c5_icgraph" id="adeux_8h_a3f92b836fa2cfadc62f0ad9c11a449c5_icgraph">
|
||||||
|
<area shape="rect" title="Affiche récursivement toutes les candidatures d'un seul candidat." alt="" coords="677,29,820,55"/>
|
||||||
|
<area shape="rect" href="quatre_8c.html#a2a562fa04bb68f6a95562a03689e587d" title="Permet de voir les candidatures et les décisions prises." alt="" coords="411,29,629,55"/>
|
||||||
|
<area shape="rect" href="un_8c.html#afbbe421616435be6078263aaa641a2d0" title="Affiche le menu des candidats et permet l'appel des fonctions suivant le choix de l'utilisateur." alt="" coords="256,29,363,55"/>
|
||||||
|
<area shape="rect" href="un_8c.html#adfbaa271f44d828c6a42ce7e9affee88" title="Affiche le menu principal et permet l'appel des menus candidats/administrateurs/responsables suivant ..." alt="" coords="104,29,208,55"/>
|
||||||
|
<area shape="rect" href="main_8c.html#a840291bc02cba5474a4cb46a9b9566fe" title=" " alt="" coords="5,29,56,55"/>
|
||||||
|
</map>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a id="af5b94a22bd855987ee7db353ce1cc00a" name="af5b94a22bd855987ee7db353ce1cc00a"></a>
|
||||||
|
<h2 class="memtitle"><span class="permalink"><a href="#af5b94a22bd855987ee7db353ce1cc00a">◆ </a></span>afficherListeCandidats()</h2>
|
||||||
|
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">void afficherListeCandidats </td>
|
||||||
|
<td>(</td>
|
||||||
|
<td class="paramtype"><a class="el" href="structures_8h.html#add449d43ae5a45a35a5a0d355b17d74e">ListeCandidats</a> </td>
|
||||||
|
<td class="paramname"><em>liste</em>, </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="paramkey"></td>
|
||||||
|
<td></td>
|
||||||
|
<td class="paramtype">int </td>
|
||||||
|
<td class="paramname"><em>nbCandidats</em> </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td></td>
|
||||||
|
<td>)</td>
|
||||||
|
<td></td><td></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
|
||||||
|
<p>Affiche tous les candidats triés par nom. </p>
|
||||||
|
<dl class="params"><dt>Parameters</dt><dd>
|
||||||
|
<table class="params">
|
||||||
|
<tr><td class="paramname">liste</td><td>Tableau de pointeur sur la structure <a class="el" href="struct_candidat.html">Candidat</a> </td></tr>
|
||||||
|
<tr><td class="paramname">nbCandidats</td><td>Nombre de candidats dans la liste des candidats </td></tr>
|
||||||
|
</table>
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
|
||||||
|
<p class="definition">Definition at line <a class="el" href="deux_8c_source.html#l00125">125</a> of file <a class="el" href="deux_8c_source.html">deux.c</a>.</p>
|
||||||
|
<div class="dynheader">
|
||||||
|
Here is the call graph for this function:</div>
|
||||||
|
<div class="dyncontent">
|
||||||
|
<div class="center"><img src="deux_8h_af5b94a22bd855987ee7db353ce1cc00a_cgraph.png" border="0" usemap="#adeux_8h_af5b94a22bd855987ee7db353ce1cc00a_cgraph" alt=""/></div>
|
||||||
|
<map name="adeux_8h_af5b94a22bd855987ee7db353ce1cc00a_cgraph" id="adeux_8h_af5b94a22bd855987ee7db353ce1cc00a_cgraph">
|
||||||
|
<area shape="rect" title="Affiche tous les candidats triés par nom." alt="" coords="5,31,157,56"/>
|
||||||
|
<area shape="rect" href="deux_8c.html#a7fe4daeb12de384a0a66b98f0b4cdf30" title="Affiche un candidat précis." alt="" coords="212,5,329,31"/>
|
||||||
|
<area shape="rect" href="deux_8c.html#aa29d659a5a7e104d16453fb638aa7879" title="Compare deux candidats suivant l'ordre alphabetique." alt="" coords="205,55,336,80"/>
|
||||||
|
</map>
|
||||||
|
</div>
|
||||||
|
<div class="dynheader">
|
||||||
|
Here is the caller graph for this function:</div>
|
||||||
|
<div class="dyncontent">
|
||||||
|
<div class="center"><img src="deux_8h_af5b94a22bd855987ee7db353ce1cc00a_icgraph.png" border="0" usemap="#adeux_8h_af5b94a22bd855987ee7db353ce1cc00a_icgraph" alt=""/></div>
|
||||||
|
<map name="adeux_8h_af5b94a22bd855987ee7db353ce1cc00a_icgraph" id="adeux_8h_af5b94a22bd855987ee7db353ce1cc00a_icgraph">
|
||||||
|
<area shape="rect" title="Affiche tous les candidats triés par nom." alt="" coords="395,5,547,31"/>
|
||||||
|
<area shape="rect" href="un_8c.html#a7e91197935e5f2f6df2a2f2b6b05fd98" title="Affiche le menu des administrateurs et permet l'appel des fonctions suivant le choix de l'utilisateur..." alt="" coords="256,5,347,31"/>
|
||||||
|
<area shape="rect" href="un_8c.html#adfbaa271f44d828c6a42ce7e9affee88" title="Affiche le menu principal et permet l'appel des menus candidats/administrateurs/responsables suivant ..." alt="" coords="104,5,208,31"/>
|
||||||
|
<area shape="rect" href="main_8c.html#a840291bc02cba5474a4cb46a9b9566fe" title=" " alt="" coords="5,5,56,31"/>
|
||||||
|
</map>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a id="a54eb9bc5dbdbdb457257dbd4727ec59f" name="a54eb9bc5dbdbdb457257dbd4727ec59f"></a>
|
||||||
|
<h2 class="memtitle"><span class="permalink"><a href="#a54eb9bc5dbdbdb457257dbd4727ec59f">◆ </a></span>ajouterCandidat()</h2>
|
||||||
|
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">void ajouterCandidat </td>
|
||||||
|
<td>(</td>
|
||||||
|
<td class="paramtype"><a class="el" href="structures_8h.html#add449d43ae5a45a35a5a0d355b17d74e">ListeCandidats</a> * </td>
|
||||||
|
<td class="paramname"><em>listePointer</em>, </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="paramkey"></td>
|
||||||
|
<td></td>
|
||||||
|
<td class="paramtype">int * </td>
|
||||||
|
<td class="paramname"><em>nbCandidats</em>, </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="paramkey"></td>
|
||||||
|
<td></td>
|
||||||
|
<td class="paramtype"><a class="el" href="struct_candidat.html">Candidat</a> * </td>
|
||||||
|
<td class="paramname"><em>candidat</em> </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td></td>
|
||||||
|
<td>)</td>
|
||||||
|
<td></td><td></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
|
||||||
|
<p>Ajoute l'adresse du candidat dans le tableau de pointeur "liste". </p>
|
||||||
|
<dl class="params"><dt>Parameters</dt><dd>
|
||||||
|
<table class="params">
|
||||||
|
<tr><td class="paramname">listePointer</td><td>Adresse du tableau de pointeur sur la structure <a class="el" href="struct_candidat.html">Candidat</a> </td></tr>
|
||||||
|
<tr><td class="paramname">nbCandidats</td><td>Adresse de la variable contenant le nombre de candidats </td></tr>
|
||||||
|
<tr><td class="paramname">candidat</td><td>Adresse du <a class="el" href="struct_candidat.html">Candidat</a> à ajouter </td></tr>
|
||||||
|
</table>
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
|
||||||
|
<p class="definition">Definition at line <a class="el" href="deux_8c_source.html#l00042">42</a> of file <a class="el" href="deux_8c_source.html">deux.c</a>.</p>
|
||||||
|
<div class="dynheader">
|
||||||
|
Here is the caller graph for this function:</div>
|
||||||
|
<div class="dyncontent">
|
||||||
|
<div class="center"><img src="deux_8h_a54eb9bc5dbdbdb457257dbd4727ec59f_icgraph.png" border="0" usemap="#adeux_8h_a54eb9bc5dbdbdb457257dbd4727ec59f_icgraph" alt=""/></div>
|
||||||
|
<map name="adeux_8h_a54eb9bc5dbdbdb457257dbd4727ec59f_icgraph" id="adeux_8h_a54eb9bc5dbdbdb457257dbd4727ec59f_icgraph">
|
||||||
|
<area shape="rect" title="Ajoute l'adresse du candidat dans le tableau de pointeur "liste"." alt="" coords="605,5,719,31"/>
|
||||||
|
<area shape="rect" href="un_8c.html#a56a001ef4c52c974a624fa17c000f927" title="Propose à l'utilisateur de se connecter avec son id ou de créer son compte étudiant...." alt="" coords="411,5,557,31"/>
|
||||||
|
<area shape="rect" href="un_8c.html#afbbe421616435be6078263aaa641a2d0" title="Affiche le menu des candidats et permet l'appel des fonctions suivant le choix de l'utilisateur." alt="" coords="256,5,363,31"/>
|
||||||
|
<area shape="rect" href="un_8c.html#adfbaa271f44d828c6a42ce7e9affee88" title="Affiche le menu principal et permet l'appel des menus candidats/administrateurs/responsables suivant ..." alt="" coords="104,5,208,31"/>
|
||||||
|
<area shape="rect" href="main_8c.html#a840291bc02cba5474a4cb46a9b9566fe" title=" " alt="" coords="5,5,56,31"/>
|
||||||
|
</map>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a id="a581b991f3ee0dc610d684f27dce120ae" name="a581b991f3ee0dc610d684f27dce120ae"></a>
|
||||||
|
<h2 class="memtitle"><span class="permalink"><a href="#a581b991f3ee0dc610d684f27dce120ae">◆ </a></span>ajouterCandidature()</h2>
|
||||||
|
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">void ajouterCandidature </td>
|
||||||
|
<td>(</td>
|
||||||
|
<td class="paramtype"><a class="el" href="struct_candidat.html">Candidat</a> * </td>
|
||||||
|
<td class="paramname"><em>candidat</em>, </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="paramkey"></td>
|
||||||
|
<td></td>
|
||||||
|
<td class="paramtype"><a class="el" href="struct_candidature.html">Candidature</a> * </td>
|
||||||
|
<td class="paramname"><em>candidature</em> </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td></td>
|
||||||
|
<td>)</td>
|
||||||
|
<td></td><td></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
|
||||||
|
<p>Ajoute une candidature dans la liste des candidatures associées au candidat correspondant dans les paramètres de la fonction. </p>
|
||||||
|
<dl class="params"><dt>Parameters</dt><dd>
|
||||||
|
<table class="params">
|
||||||
|
<tr><td class="paramname">candidat</td><td>Adresse du candidat dont on veut ajouter une candidature </td></tr>
|
||||||
|
<tr><td class="paramname">candidature</td><td>Adresse de la candidature à ajouter </td></tr>
|
||||||
|
</table>
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
|
||||||
|
<p class="definition">Definition at line <a class="el" href="deux_8c_source.html#l00057">57</a> of file <a class="el" href="deux_8c_source.html">deux.c</a>.</p>
|
||||||
|
<div class="dynheader">
|
||||||
|
Here is the caller graph for this function:</div>
|
||||||
|
<div class="dyncontent">
|
||||||
|
<div class="center"><img src="deux_8h_a581b991f3ee0dc610d684f27dce120ae_icgraph.png" border="0" usemap="#adeux_8h_a581b991f3ee0dc610d684f27dce120ae_icgraph" alt=""/></div>
|
||||||
|
<map name="adeux_8h_a581b991f3ee0dc610d684f27dce120ae_icgraph" id="adeux_8h_a581b991f3ee0dc610d684f27dce120ae_icgraph">
|
||||||
|
<area shape="rect" title="Ajoute une candidature dans la liste des candidatures associées au candidat correspondant dans les pa..." alt="" coords="632,5,763,31"/>
|
||||||
|
<area shape="rect" href="deux_8c.html#a346ec11b7cfecb53142039ba1125e31e" title="Permet au candidat de déposer une candidature." alt="" coords="411,5,584,31"/>
|
||||||
|
<area shape="rect" href="un_8c.html#afbbe421616435be6078263aaa641a2d0" title="Affiche le menu des candidats et permet l'appel des fonctions suivant le choix de l'utilisateur." alt="" coords="256,5,363,31"/>
|
||||||
|
<area shape="rect" href="un_8c.html#adfbaa271f44d828c6a42ce7e9affee88" title="Affiche le menu principal et permet l'appel des menus candidats/administrateurs/responsables suivant ..." alt="" coords="104,5,208,31"/>
|
||||||
|
<area shape="rect" href="main_8c.html#a840291bc02cba5474a4cb46a9b9566fe" title=" " alt="" coords="5,5,56,31"/>
|
||||||
|
</map>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a id="a6b5755efb0bb15c7ee98372c76763fa1" name="a6b5755efb0bb15c7ee98372c76763fa1"></a>
|
||||||
|
<h2 class="memtitle"><span class="permalink"><a href="#a6b5755efb0bb15c7ee98372c76763fa1">◆ </a></span>checkCandidature()</h2>
|
||||||
|
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">int checkCandidature </td>
|
||||||
|
<td>(</td>
|
||||||
|
<td class="paramtype"><a class="el" href="struct_candidat.html">Candidat</a> * </td>
|
||||||
|
<td class="paramname"><em>candidat</em>, </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="paramkey"></td>
|
||||||
|
<td></td>
|
||||||
|
<td class="paramtype"><a class="el" href="struct_candidature.html">Candidature</a> </td>
|
||||||
|
<td class="paramname"><em>candid</em> </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td></td>
|
||||||
|
<td>)</td>
|
||||||
|
<td></td><td></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
|
||||||
|
<p>Verifie si la candidature à ajouter n'existe pas déjà </p>
|
||||||
|
<dl class="params"><dt>Parameters</dt><dd>
|
||||||
|
<table class="params">
|
||||||
|
<tr><td class="paramname">candidat</td><td>Adresse du candidat auquel on veut ajouter une candidature </td></tr>
|
||||||
|
<tr><td class="paramname">candidature</td><td><a class="el" href="struct_candidature.html">Candidature</a> à vérifier </td></tr>
|
||||||
|
</table>
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
<dl class="section return"><dt>Returns</dt><dd>Retourne -1 si la candidature existe déjà et 0 sinon </dd></dl>
|
||||||
|
|
||||||
|
<p class="definition">Definition at line <a class="el" href="deux_8c_source.html#l00114">114</a> of file <a class="el" href="deux_8c_source.html">deux.c</a>.</p>
|
||||||
|
<div class="dynheader">
|
||||||
|
Here is the caller graph for this function:</div>
|
||||||
|
<div class="dyncontent">
|
||||||
|
<div class="center"><img src="deux_8h_a6b5755efb0bb15c7ee98372c76763fa1_icgraph.png" border="0" usemap="#adeux_8h_a6b5755efb0bb15c7ee98372c76763fa1_icgraph" alt=""/></div>
|
||||||
|
<map name="adeux_8h_a6b5755efb0bb15c7ee98372c76763fa1_icgraph" id="adeux_8h_a6b5755efb0bb15c7ee98372c76763fa1_icgraph">
|
||||||
|
<area shape="rect" title="Verifie si la candidature à ajouter n'existe pas déjà" alt="" coords="632,5,759,31"/>
|
||||||
|
<area shape="rect" href="deux_8c.html#a346ec11b7cfecb53142039ba1125e31e" title="Permet au candidat de déposer une candidature." alt="" coords="411,5,584,31"/>
|
||||||
|
<area shape="rect" href="un_8c.html#afbbe421616435be6078263aaa641a2d0" title="Affiche le menu des candidats et permet l'appel des fonctions suivant le choix de l'utilisateur." alt="" coords="256,5,363,31"/>
|
||||||
|
<area shape="rect" href="un_8c.html#adfbaa271f44d828c6a42ce7e9affee88" title="Affiche le menu principal et permet l'appel des menus candidats/administrateurs/responsables suivant ..." alt="" coords="104,5,208,31"/>
|
||||||
|
<area shape="rect" href="main_8c.html#a840291bc02cba5474a4cb46a9b9566fe" title=" " alt="" coords="5,5,56,31"/>
|
||||||
|
</map>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a id="ae77539e0374e7072d44cfc37f1b09821" name="ae77539e0374e7072d44cfc37f1b09821"></a>
|
||||||
|
<h2 class="memtitle"><span class="permalink"><a href="#ae77539e0374e7072d44cfc37f1b09821">◆ </a></span>compareCandidats()</h2>
|
||||||
|
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">int compareCandidats </td>
|
||||||
|
<td>(</td>
|
||||||
|
<td class="paramtype">const void * </td>
|
||||||
|
<td class="paramname"><em>c1</em>, </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="paramkey"></td>
|
||||||
|
<td></td>
|
||||||
|
<td class="paramtype">const void * </td>
|
||||||
|
<td class="paramname"><em>c2</em> </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td></td>
|
||||||
|
<td>)</td>
|
||||||
|
<td></td><td></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
|
||||||
|
<p>Compare deux candidats suivant l'ordre alphabetique. </p>
|
||||||
|
<dl class="params"><dt>Parameters</dt><dd>
|
||||||
|
<table class="params">
|
||||||
|
<tr><td class="paramname">c1</td><td><a class="el" href="struct_candidat.html">Candidat</a> 1 </td></tr>
|
||||||
|
<tr><td class="paramname">c2</td><td><a class="el" href="struct_candidat.html">Candidat</a> 2 </td></tr>
|
||||||
|
</table>
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
<dl class="section return"><dt>Returns</dt><dd><0 si le candidat 1 est avant le candidat 2 dans l'ordre alphabetique, >0 si le candidat 2 est avant le candidat 1 dans l'ordre alphabetique et 0 si ils sont homonymes </dd></dl>
|
||||||
|
|
||||||
|
<p class="definition">Definition at line <a class="el" href="deux_8c_source.html#l00323">323</a> of file <a class="el" href="deux_8c_source.html">deux.c</a>.</p>
|
||||||
|
<div class="dynheader">
|
||||||
|
Here is the caller graph for this function:</div>
|
||||||
|
<div class="dyncontent">
|
||||||
|
<div class="center"><img src="deux_8h_ae77539e0374e7072d44cfc37f1b09821_icgraph.png" border="0" usemap="#adeux_8h_ae77539e0374e7072d44cfc37f1b09821_icgraph" alt=""/></div>
|
||||||
|
<map name="adeux_8h_ae77539e0374e7072d44cfc37f1b09821_icgraph" id="adeux_8h_ae77539e0374e7072d44cfc37f1b09821_icgraph">
|
||||||
|
<area shape="rect" title="Compare deux candidats suivant l'ordre alphabetique." alt="" coords="669,31,800,56"/>
|
||||||
|
<area shape="rect" href="trois_8c.html#a79f0be18b92bd7bf1422858e922cbc52" title="Affiche les candidatures pour un seul département dans un IUT." alt="" coords="435,5,621,31"/>
|
||||||
|
<area shape="rect" href="deux_8c.html#af5b94a22bd855987ee7db353ce1cc00a" title="Affiche tous les candidats triés par nom." alt="" coords="452,55,604,80"/>
|
||||||
|
<area shape="rect" href="un_8c.html#a5ae624d9f4129de2756601355b4a9ecb" title="Affiche le menu des responsables et permet l'appel des fonctions suivant le choix de l'utilisateur." alt="" coords="256,5,387,31"/>
|
||||||
|
<area shape="rect" href="un_8c.html#adfbaa271f44d828c6a42ce7e9affee88" title="Affiche le menu principal et permet l'appel des menus candidats/administrateurs/responsables suivant ..." alt="" coords="104,31,208,56"/>
|
||||||
|
<area shape="rect" href="main_8c.html#a840291bc02cba5474a4cb46a9b9566fe" title=" " alt="" coords="5,31,56,56"/>
|
||||||
|
<area shape="rect" href="un_8c.html#a7e91197935e5f2f6df2a2f2b6b05fd98" title="Affiche le menu des administrateurs et permet l'appel des fonctions suivant le choix de l'utilisateur..." alt="" coords="276,55,367,80"/>
|
||||||
|
</map>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a id="a9fd89bafa880d71f757f84466bd9141d" name="a9fd89bafa880d71f757f84466bd9141d"></a>
|
||||||
|
<h2 class="memtitle"><span class="permalink"><a href="#a9fd89bafa880d71f757f84466bd9141d">◆ </a></span>creerCandidat()</h2>
|
||||||
|
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname"><a class="el" href="struct_candidat.html">Candidat</a> * creerCandidat </td>
|
||||||
|
<td>(</td>
|
||||||
|
<td class="paramtype">void </td>
|
||||||
|
<td class="paramname"></td><td>)</td>
|
||||||
|
<td></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
|
||||||
|
<p>Alloue de la mémoire de la taille d'une structure <a class="el" href="struct_candidat.html">Candidat</a> avec un malloc. </p>
|
||||||
|
<dl class="section return"><dt>Returns</dt><dd>Retourne l'adresse générée par le malloc </dd></dl>
|
||||||
|
|
||||||
|
<p class="definition">Definition at line <a class="el" href="deux_8c_source.html#l00018">18</a> of file <a class="el" href="deux_8c_source.html">deux.c</a>.</p>
|
||||||
|
<div class="dynheader">
|
||||||
|
Here is the caller graph for this function:</div>
|
||||||
|
<div class="dyncontent">
|
||||||
|
<div class="center"><img src="deux_8h_a9fd89bafa880d71f757f84466bd9141d_icgraph.png" border="0" usemap="#adeux_8h_a9fd89bafa880d71f757f84466bd9141d_icgraph" alt=""/></div>
|
||||||
|
<map name="adeux_8h_a9fd89bafa880d71f757f84466bd9141d_icgraph" id="adeux_8h_a9fd89bafa880d71f757f84466bd9141d_icgraph">
|
||||||
|
<area shape="rect" title="Alloue de la mémoire de la taille d'une structure Candidat avec un malloc." alt="" coords="605,31,708,56"/>
|
||||||
|
<area shape="rect" href="un_8c.html#a56a001ef4c52c974a624fa17c000f927" title="Propose à l'utilisateur de se connecter avec son id ou de créer son compte étudiant...." alt="" coords="411,5,557,31"/>
|
||||||
|
<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="256,56,363,81"/>
|
||||||
|
<area shape="rect" href="un_8c.html#afbbe421616435be6078263aaa641a2d0" title="Affiche le menu des candidats et permet l'appel des fonctions suivant le choix de l'utilisateur." alt="" coords="256,7,363,32"/>
|
||||||
|
<area shape="rect" href="un_8c.html#adfbaa271f44d828c6a42ce7e9affee88" title="Affiche le menu principal et permet l'appel des menus candidats/administrateurs/responsables suivant ..." alt="" coords="104,32,208,57"/>
|
||||||
|
<area shape="rect" href="main_8c.html#a840291bc02cba5474a4cb46a9b9566fe" title=" " alt="" coords="5,32,56,57"/>
|
||||||
|
</map>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a id="a8a7f12cc6517d640aea8a0d80797737a" name="a8a7f12cc6517d640aea8a0d80797737a"></a>
|
||||||
|
<h2 class="memtitle"><span class="permalink"><a href="#a8a7f12cc6517d640aea8a0d80797737a">◆ </a></span>creerCandidature()</h2>
|
||||||
|
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname"><a class="el" href="struct_candidature.html">Candidature</a> * creerCandidature </td>
|
||||||
|
<td>(</td>
|
||||||
|
<td class="paramtype">void </td>
|
||||||
|
<td class="paramname"></td><td>)</td>
|
||||||
|
<td></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
|
||||||
|
<p>Alloue de la mémoire de la taille d'une structure <a class="el" href="struct_candidature.html">Candidature</a> avec un malloc avec les valeurs par défaut à 0 pour les variables décision & validation. </p>
|
||||||
|
<dl class="section return"><dt>Returns</dt><dd>Retourne l'adresse générée par le malloc </dd></dl>
|
||||||
|
|
||||||
|
<p class="definition">Definition at line <a class="el" href="deux_8c_source.html#l00029">29</a> of file <a class="el" href="deux_8c_source.html">deux.c</a>.</p>
|
||||||
|
<div class="dynheader">
|
||||||
|
Here is the caller graph for this function:</div>
|
||||||
|
<div class="dyncontent">
|
||||||
|
<div class="center"><img src="deux_8h_a8a7f12cc6517d640aea8a0d80797737a_icgraph.png" border="0" usemap="#adeux_8h_a8a7f12cc6517d640aea8a0d80797737a_icgraph" alt=""/></div>
|
||||||
|
<map name="adeux_8h_a8a7f12cc6517d640aea8a0d80797737a_icgraph" id="adeux_8h_a8a7f12cc6517d640aea8a0d80797737a_icgraph">
|
||||||
|
<area shape="rect" title="Alloue de la mémoire de la taille d'une structure Candidature avec un malloc avec les valeurs par déf..." alt="" coords="632,5,753,31"/>
|
||||||
|
<area shape="rect" href="deux_8c.html#a346ec11b7cfecb53142039ba1125e31e" title="Permet au candidat de déposer une candidature." alt="" coords="411,5,584,31"/>
|
||||||
|
<area shape="rect" href="un_8c.html#afbbe421616435be6078263aaa641a2d0" title="Affiche le menu des candidats et permet l'appel des fonctions suivant le choix de l'utilisateur." alt="" coords="256,5,363,31"/>
|
||||||
|
<area shape="rect" href="un_8c.html#adfbaa271f44d828c6a42ce7e9affee88" title="Affiche le menu principal et permet l'appel des menus candidats/administrateurs/responsables suivant ..." alt="" coords="104,5,208,31"/>
|
||||||
|
<area shape="rect" href="main_8c.html#a840291bc02cba5474a4cb46a9b9566fe" title=" " alt="" coords="5,5,56,31"/>
|
||||||
|
</map>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a id="a346ec11b7cfecb53142039ba1125e31e" name="a346ec11b7cfecb53142039ba1125e31e"></a>
|
||||||
|
<h2 class="memtitle"><span class="permalink"><a href="#a346ec11b7cfecb53142039ba1125e31e">◆ </a></span>menuCandidat_candidater()</h2>
|
||||||
|
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">void menuCandidat_candidater </td>
|
||||||
|
<td>(</td>
|
||||||
|
<td class="paramtype"><a class="el" href="struct_ville_i_u_t.html">VilleIUT</a> ** </td>
|
||||||
|
<td class="paramname"><em>tiut</em>, </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="paramkey"></td>
|
||||||
|
<td></td>
|
||||||
|
<td class="paramtype">int </td>
|
||||||
|
<td class="paramname"><em>nbVilles</em>, </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="paramkey"></td>
|
||||||
|
<td></td>
|
||||||
|
<td class="paramtype"><a class="el" href="struct_candidat.html">Candidat</a> * </td>
|
||||||
|
<td class="paramname"><em>candidat</em> </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td></td>
|
||||||
|
<td>)</td>
|
||||||
|
<td></td><td></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
|
||||||
|
<p>Permet au candidat de déposer une candidature. </p>
|
||||||
|
<dl class="params"><dt>Parameters</dt><dd>
|
||||||
|
<table class="params">
|
||||||
|
<tr><td class="paramname">tiut</td><td>Tableau de pointeur sur la structure <a class="el" href="struct_ville_i_u_t.html">VilleIUT</a> </td></tr>
|
||||||
|
<tr><td class="paramname">nbVilles</td><td>Nombre de villes ayant un IUT </td></tr>
|
||||||
|
<tr><td class="paramname">candidat</td><td>Adresse du candidat qui veut déposer une candidature </td></tr>
|
||||||
|
</table>
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
|
||||||
|
<p class="definition">Definition at line <a class="el" href="deux_8c_source.html#l00063">63</a> of file <a class="el" href="deux_8c_source.html">deux.c</a>.</p>
|
||||||
|
<div class="dynheader">
|
||||||
|
Here is the call graph for this function:</div>
|
||||||
|
<div class="dyncontent">
|
||||||
|
<div class="center"><img src="deux_8h_a346ec11b7cfecb53142039ba1125e31e_cgraph.png" border="0" usemap="#adeux_8h_a346ec11b7cfecb53142039ba1125e31e_cgraph" alt=""/></div>
|
||||||
|
<map name="adeux_8h_a346ec11b7cfecb53142039ba1125e31e_cgraph" id="adeux_8h_a346ec11b7cfecb53142039ba1125e31e_cgraph">
|
||||||
|
<area shape="rect" title="Permet au candidat de déposer une candidature." alt="" coords="5,80,179,105"/>
|
||||||
|
<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="227,5,357,31"/>
|
||||||
|
<area shape="rect" href="deux_8c.html#a6b5755efb0bb15c7ee98372c76763fa1" title="Verifie si la candidature à ajouter n'existe pas déjà" alt="" coords="229,55,355,80"/>
|
||||||
|
<area shape="rect" href="deux_8c.html#a8a7f12cc6517d640aea8a0d80797737a" title="Alloue de la mémoire de la taille d'une structure Candidature avec un malloc avec les valeurs par déf..." alt="" coords="231,104,353,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="238,153,346,179"/>
|
||||||
|
</map>
|
||||||
|
</div>
|
||||||
|
<div class="dynheader">
|
||||||
|
Here is the caller graph for this function:</div>
|
||||||
|
<div class="dyncontent">
|
||||||
|
<div class="center"><img src="deux_8h_a346ec11b7cfecb53142039ba1125e31e_icgraph.png" border="0" usemap="#adeux_8h_a346ec11b7cfecb53142039ba1125e31e_icgraph" alt=""/></div>
|
||||||
|
<map name="adeux_8h_a346ec11b7cfecb53142039ba1125e31e_icgraph" id="adeux_8h_a346ec11b7cfecb53142039ba1125e31e_icgraph">
|
||||||
|
<area shape="rect" title="Permet au candidat de déposer une candidature." alt="" coords="411,5,584,31"/>
|
||||||
|
<area shape="rect" href="un_8c.html#afbbe421616435be6078263aaa641a2d0" title="Affiche le menu des candidats et permet l'appel des fonctions suivant le choix de l'utilisateur." alt="" coords="256,5,363,31"/>
|
||||||
|
<area shape="rect" href="un_8c.html#adfbaa271f44d828c6a42ce7e9affee88" title="Affiche le menu principal et permet l'appel des menus candidats/administrateurs/responsables suivant ..." alt="" coords="104,5,208,31"/>
|
||||||
|
<area shape="rect" href="main_8c.html#a840291bc02cba5474a4cb46a9b9566fe" title=" " alt="" coords="5,5,56,31"/>
|
||||||
|
</map>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a id="ab23f833bdb8e7e5f6705a427b803940c" name="ab23f833bdb8e7e5f6705a427b803940c"></a>
|
||||||
|
<h2 class="memtitle"><span class="permalink"><a href="#ab23f833bdb8e7e5f6705a427b803940c">◆ </a></span>readCandidats()</h2>
|
||||||
|
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname"><a class="el" href="structures_8h.html#add449d43ae5a45a35a5a0d355b17d74e">ListeCandidats</a> readCandidats </td>
|
||||||
|
<td>(</td>
|
||||||
|
<td class="paramtype">int * </td>
|
||||||
|
<td class="paramname"><em>nbCandidats</em></td><td>)</td>
|
||||||
|
<td></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
|
||||||
|
<p>Lit la liste des candidats dans le fichier texte candidats.don puis les met dans la structure ListeCandidats. </p>
|
||||||
|
<dl class="params"><dt>Parameters</dt><dd>
|
||||||
|
<table class="params">
|
||||||
|
<tr><td class="paramname">nbCandidats</td><td>Adresse de la variable qui va contenir le nombre de candidats dans le fichier candidats.don </td></tr>
|
||||||
|
</table>
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
<dl class="section return"><dt>Returns</dt><dd>Renvoie la liste des candidats </dd></dl>
|
||||||
|
|
||||||
|
<p class="definition">Definition at line <a class="el" href="deux_8c_source.html#l00263">263</a> of file <a class="el" href="deux_8c_source.html">deux.c</a>.</p>
|
||||||
|
<div class="dynheader">
|
||||||
|
Here is the call graph for this function:</div>
|
||||||
|
<div class="dyncontent">
|
||||||
|
<div class="center"><img src="deux_8h_ab23f833bdb8e7e5f6705a427b803940c_cgraph.png" border="0" usemap="#adeux_8h_ab23f833bdb8e7e5f6705a427b803940c_cgraph" alt=""/></div>
|
||||||
|
<map name="adeux_8h_ab23f833bdb8e7e5f6705a427b803940c_cgraph" id="adeux_8h_ab23f833bdb8e7e5f6705a427b803940c_cgraph">
|
||||||
|
<area shape="rect" title="Lit la liste des candidats dans le fichier texte candidats.don puis les met dans la structure ListeCa..." alt="" coords="5,5,112,31"/>
|
||||||
|
<area shape="rect" href="deux_8c.html#a9fd89bafa880d71f757f84466bd9141d" title="Alloue de la mémoire de la taille d'une structure Candidat avec un malloc." alt="" coords="160,5,263,31"/>
|
||||||
|
</map>
|
||||||
|
</div>
|
||||||
|
<div class="dynheader">
|
||||||
|
Here is the caller graph for this function:</div>
|
||||||
|
<div class="dyncontent">
|
||||||
|
<div class="center"><img src="deux_8h_ab23f833bdb8e7e5f6705a427b803940c_icgraph.png" border="0" usemap="#adeux_8h_ab23f833bdb8e7e5f6705a427b803940c_icgraph" alt=""/></div>
|
||||||
|
<map name="adeux_8h_ab23f833bdb8e7e5f6705a427b803940c_icgraph" id="adeux_8h_ab23f833bdb8e7e5f6705a427b803940c_icgraph">
|
||||||
|
<area shape="rect" title="Lit la liste des candidats dans le fichier texte candidats.don puis les met dans la structure ListeCa..." alt="" coords="256,5,363,31"/>
|
||||||
|
<area shape="rect" href="un_8c.html#adfbaa271f44d828c6a42ce7e9affee88" title="Affiche le menu principal et permet l'appel des menus candidats/administrateurs/responsables suivant ..." alt="" coords="104,5,208,31"/>
|
||||||
|
<area shape="rect" href="main_8c.html#a840291bc02cba5474a4cb46a9b9566fe" title=" " alt="" coords="5,5,56,31"/>
|
||||||
|
</map>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a id="ab69176142c7bc496d57694e11e7deb16" name="ab69176142c7bc496d57694e11e7deb16"></a>
|
||||||
|
<h2 class="memtitle"><span class="permalink"><a href="#ab69176142c7bc496d57694e11e7deb16">◆ </a></span>readStatus()</h2>
|
||||||
|
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">int readStatus </td>
|
||||||
|
<td>(</td>
|
||||||
|
<td class="paramtype">void </td>
|
||||||
|
<td class="paramname"></td><td>)</td>
|
||||||
|
<td></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
|
||||||
|
<p>Lis le status actuel de la phase de candidature (0 si la phase est arrêtée et 1 si elle est lancée) </p>
|
||||||
|
<dl class="section return"><dt>Returns</dt><dd>Retourne le status actuel de la phase de candidature </dd></dl>
|
||||||
|
|
||||||
|
<p class="definition">Definition at line <a class="el" href="deux_8c_source.html#l00376">376</a> of file <a class="el" href="deux_8c_source.html">deux.c</a>.</p>
|
||||||
|
<div class="dynheader">
|
||||||
|
Here is the caller graph for this function:</div>
|
||||||
|
<div class="dyncontent">
|
||||||
|
<div class="center"><img src="deux_8h_ab69176142c7bc496d57694e11e7deb16_icgraph.png" border="0" usemap="#adeux_8h_ab69176142c7bc496d57694e11e7deb16_icgraph" alt=""/></div>
|
||||||
|
<map name="adeux_8h_ab69176142c7bc496d57694e11e7deb16_icgraph" id="adeux_8h_ab69176142c7bc496d57694e11e7deb16_icgraph">
|
||||||
|
<area shape="rect" 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="689,59,775,84"/>
|
||||||
|
<area shape="rect" href="un_8c.html#a7e91197935e5f2f6df2a2f2b6b05fd98" title="Affiche le menu des administrateurs et permet l'appel des fonctions suivant le choix de l'utilisateur..." alt="" coords="264,33,355,59"/>
|
||||||
|
<area shape="rect" href="un_8c.html#adfbaa271f44d828c6a42ce7e9affee88" title="Affiche le menu principal et permet l'appel des menus candidats/administrateurs/responsables suivant ..." alt="" coords="104,84,208,109"/>
|
||||||
|
<area shape="rect" href="un_8c.html#adc8300a25cc0383b24c755c4bbfd91ec" title="Fonction permettant à l'utilisateur administrateur de supprimer un département existant." alt="" coords="411,33,641,59"/>
|
||||||
|
<area shape="rect" href="un_8c.html#afbbe421616435be6078263aaa641a2d0" title="Affiche le menu des candidats et permet l'appel des fonctions suivant le choix de l'utilisateur." alt="" coords="256,135,363,160"/>
|
||||||
|
<area shape="rect" href="main_8c.html#a840291bc02cba5474a4cb46a9b9566fe" title=" " alt="" coords="5,84,56,109"/>
|
||||||
|
</map>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a id="a144c1ecbcf346d4181e31a558ba84ac5" name="a144c1ecbcf346d4181e31a558ba84ac5"></a>
|
||||||
|
<h2 class="memtitle"><span class="permalink"><a href="#a144c1ecbcf346d4181e31a558ba84ac5">◆ </a></span>saveCandidats()</h2>
|
||||||
|
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">int saveCandidats </td>
|
||||||
|
<td>(</td>
|
||||||
|
<td class="paramtype"><a class="el" href="structures_8h.html#add449d43ae5a45a35a5a0d355b17d74e">ListeCandidats</a> </td>
|
||||||
|
<td class="paramname"><em>liste</em>, </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="paramkey"></td>
|
||||||
|
<td></td>
|
||||||
|
<td class="paramtype">int </td>
|
||||||
|
<td class="paramname"><em>nbCandidats</em> </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td></td>
|
||||||
|
<td>)</td>
|
||||||
|
<td></td><td></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
|
||||||
|
<p>Enregistre la liste des candidats dans le fichier texte candidats.don. </p>
|
||||||
|
<dl class="params"><dt>Parameters</dt><dd>
|
||||||
|
<table class="params">
|
||||||
|
<tr><td class="paramname">liste</td><td>Tableau de pointeur sur la structure <a class="el" href="struct_candidat.html">Candidat</a> </td></tr>
|
||||||
|
<tr><td class="paramname">nbCandidats</td><td>Nombre de candidats dans la liste des candidats </td></tr>
|
||||||
|
</table>
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
<dl class="section return"><dt>Returns</dt><dd>Renvoie -1 si il y a eu un problème de lecture du fichier et 0 si tout s'est bien passé </dd></dl>
|
||||||
|
|
||||||
|
<p class="definition">Definition at line <a class="el" href="deux_8c_source.html#l00337">337</a> of file <a class="el" href="deux_8c_source.html">deux.c</a>.</p>
|
||||||
|
<div class="dynheader">
|
||||||
|
Here is the caller graph for this function:</div>
|
||||||
|
<div class="dyncontent">
|
||||||
|
<div class="center"><img src="deux_8h_a144c1ecbcf346d4181e31a558ba84ac5_icgraph.png" border="0" usemap="#adeux_8h_a144c1ecbcf346d4181e31a558ba84ac5_icgraph" alt=""/></div>
|
||||||
|
<map name="adeux_8h_a144c1ecbcf346d4181e31a558ba84ac5_icgraph" id="adeux_8h_a144c1ecbcf346d4181e31a558ba84ac5_icgraph">
|
||||||
|
<area shape="rect" title="Enregistre la liste des candidats dans le fichier texte candidats.don." alt="" coords="256,5,365,31"/>
|
||||||
|
<area shape="rect" href="un_8c.html#adfbaa271f44d828c6a42ce7e9affee88" title="Affiche le menu principal et permet l'appel des menus candidats/administrateurs/responsables suivant ..." alt="" coords="104,5,208,31"/>
|
||||||
|
<area shape="rect" href="main_8c.html#a840291bc02cba5474a4cb46a9b9566fe" title=" " alt="" coords="5,5,56,31"/>
|
||||||
|
</map>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a id="a3bba1ba5f848dde11fbc93cab5278878" name="a3bba1ba5f848dde11fbc93cab5278878"></a>
|
||||||
|
<h2 class="memtitle"><span class="permalink"><a href="#a3bba1ba5f848dde11fbc93cab5278878">◆ </a></span>saveStatus()</h2>
|
||||||
|
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">void saveStatus </td>
|
||||||
|
<td>(</td>
|
||||||
|
<td class="paramtype">int </td>
|
||||||
|
<td class="paramname"><em>status</em></td><td>)</td>
|
||||||
|
<td></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
|
||||||
|
<p>Enregistre sur le fichier texte status.don le status actuel de la phase de candidature (0 si la phase est arrêtée et 1 si elle est lancée) </p>
|
||||||
|
<dl class="params"><dt>Parameters</dt><dd>
|
||||||
|
<table class="params">
|
||||||
|
<tr><td class="paramname">status</td><td>le status actuel de la phase de candidature </td></tr>
|
||||||
|
</table>
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
|
||||||
|
<p class="definition">Definition at line <a class="el" href="deux_8c_source.html#l00393">393</a> of file <a class="el" href="deux_8c_source.html">deux.c</a>.</p>
|
||||||
|
<div class="dynheader">
|
||||||
|
Here is the caller graph for this function:</div>
|
||||||
|
<div class="dyncontent">
|
||||||
|
<div class="center"><img src="deux_8h_a3bba1ba5f848dde11fbc93cab5278878_icgraph.png" border="0" usemap="#adeux_8h_a3bba1ba5f848dde11fbc93cab5278878_icgraph" alt=""/></div>
|
||||||
|
<map name="adeux_8h_a3bba1ba5f848dde11fbc93cab5278878_icgraph" id="adeux_8h_a3bba1ba5f848dde11fbc93cab5278878_icgraph">
|
||||||
|
<area shape="rect" title="Enregistre sur le fichier texte status.don le status actuel de la phase de candidature (0 si la phase..." alt="" coords="395,5,483,31"/>
|
||||||
|
<area shape="rect" href="un_8c.html#a7e91197935e5f2f6df2a2f2b6b05fd98" title="Affiche le menu des administrateurs et permet l'appel des fonctions suivant le choix de l'utilisateur..." alt="" coords="256,5,347,31"/>
|
||||||
|
<area shape="rect" href="un_8c.html#adfbaa271f44d828c6a42ce7e9affee88" title="Affiche le menu principal et permet l'appel des menus candidats/administrateurs/responsables suivant ..." alt="" coords="104,5,208,31"/>
|
||||||
|
<area shape="rect" href="main_8c.html#a840291bc02cba5474a4cb46a9b9566fe" title=" " alt="" coords="5,5,56,31"/>
|
||||||
|
</map>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div><!-- contents -->
|
||||||
|
<!-- start footer part -->
|
||||||
|
<hr class="footer"/><address class="footer"><small>
|
||||||
|
Generated by <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>
|
@ -0,0 +1,6 @@
|
|||||||
|
<map id="/Users/alloux/SAE102_2022_GOIGOUX_JEUDI/src/II/deux.h" name="/Users/alloux/SAE102_2022_GOIGOUX_JEUDI/src/II/deux.h">
|
||||||
|
<area shape="rect" id="node1" title="Partie 2 de la SAE 1.02." alt="" coords="5,5,201,60"/>
|
||||||
|
<area shape="rect" id="node2" href="$deux_8c.html" title="Partie 2 de la SAE 1.02." alt="" coords="5,108,201,163"/>
|
||||||
|
<area shape="rect" id="node3" href="$un_8c.html" title="Partie 1 de la SAE 1.02." alt="" coords="5,211,201,265"/>
|
||||||
|
<area shape="rect" id="node4" href="$main_8c.html" title="Exécutable principal du programme." alt="" coords="5,313,201,368"/>
|
||||||
|
</map>
|
@ -0,0 +1 @@
|
|||||||
|
4ed5606122c011ff9131eccad87dee6b
|
After Width: | Height: | Size: 22 KiB |
@ -0,0 +1,5 @@
|
|||||||
|
<map id="saveCandidats" name="saveCandidats">
|
||||||
|
<area shape="rect" id="node1" title="Enregistre la liste des candidats dans le fichier texte candidats.don." alt="" coords="256,5,365,31"/>
|
||||||
|
<area shape="rect" id="node2" href="$un_8c.html#adfbaa271f44d828c6a42ce7e9affee88" title="Affiche le menu principal et permet l'appel des menus candidats/administrateurs/responsables suivant ..." alt="" coords="104,5,208,31"/>
|
||||||
|
<area shape="rect" id="node3" href="$main_8c.html#a840291bc02cba5474a4cb46a9b9566fe" title=" " alt="" coords="5,5,56,31"/>
|
||||||
|
</map>
|
@ -0,0 +1 @@
|
|||||||
|
45b523d68a2926b19b987917d6467336
|
After Width: | Height: | Size: 4.0 KiB |
@ -0,0 +1,7 @@
|
|||||||
|
<map id="menuCandidat_candidater" name="menuCandidat_candidater">
|
||||||
|
<area shape="rect" id="node1" title="Permet au candidat de déposer une candidature." alt="" coords="5,80,179,105"/>
|
||||||
|
<area shape="rect" id="node2" href="$deux_8c.html#a581b991f3ee0dc610d684f27dce120ae" title="Ajoute une candidature dans la liste des candidatures associées au candidat correspondant dans les pa..." alt="" coords="227,5,357,31"/>
|
||||||
|
<area shape="rect" id="node3" href="$deux_8c.html#a6b5755efb0bb15c7ee98372c76763fa1" title="Verifie si la candidature à ajouter n'existe pas déjà" alt="" coords="229,55,355,80"/>
|
||||||
|
<area shape="rect" id="node4" href="$deux_8c.html#a8a7f12cc6517d640aea8a0d80797737a" title="Alloue de la mémoire de la taille d'une structure Candidature avec un malloc avec les valeurs par déf..." alt="" coords="231,104,353,129"/>
|
||||||
|
<area shape="rect" id="node5" href="$un_8c.html#a2a08d27051520d60755e7efa40492106" title="Fonction de recherche pour trouver la position de la ville recherchée dans le tableau tiut." alt="" coords="238,153,346,179"/>
|
||||||
|
</map>
|
@ -0,0 +1 @@
|
|||||||
|
062a180f30323c5eb32271d7cdd43d69
|
After Width: | Height: | Size: 13 KiB |
@ -0,0 +1,6 @@
|
|||||||
|
<map id="menuCandidat_candidater" name="menuCandidat_candidater">
|
||||||
|
<area shape="rect" id="node1" title="Permet au candidat de déposer une candidature." alt="" coords="411,5,584,31"/>
|
||||||
|
<area shape="rect" id="node2" href="$un_8c.html#afbbe421616435be6078263aaa641a2d0" title="Affiche le menu des candidats et permet l'appel des fonctions suivant le choix de l'utilisateur." alt="" coords="256,5,363,31"/>
|
||||||
|
<area shape="rect" id="node3" href="$un_8c.html#adfbaa271f44d828c6a42ce7e9affee88" title="Affiche le menu principal et permet l'appel des menus candidats/administrateurs/responsables suivant ..." alt="" coords="104,5,208,31"/>
|
||||||
|
<area shape="rect" id="node4" href="$main_8c.html#a840291bc02cba5474a4cb46a9b9566fe" title=" " alt="" coords="5,5,56,31"/>
|
||||||
|
</map>
|
@ -0,0 +1 @@
|
|||||||
|
54486522256e1d936facfee38276c3e1
|
After Width: | Height: | Size: 5.3 KiB |
@ -0,0 +1,6 @@
|
|||||||
|
<map id="saveStatus" name="saveStatus">
|
||||||
|
<area shape="rect" id="node1" title="Enregistre sur le fichier texte status.don le status actuel de la phase de candidature (0 si la phase..." alt="" coords="395,5,483,31"/>
|
||||||
|
<area shape="rect" id="node2" href="$un_8c.html#a7e91197935e5f2f6df2a2f2b6b05fd98" title="Affiche le menu des administrateurs et permet l'appel des fonctions suivant le choix de l'utilisateur..." alt="" coords="256,5,347,31"/>
|
||||||
|
<area shape="rect" id="node3" href="$un_8c.html#adfbaa271f44d828c6a42ce7e9affee88" title="Affiche le menu principal et permet l'appel des menus candidats/administrateurs/responsables suivant ..." alt="" coords="104,5,208,31"/>
|
||||||
|
<area shape="rect" id="node4" href="$main_8c.html#a840291bc02cba5474a4cb46a9b9566fe" title=" " alt="" coords="5,5,56,31"/>
|
||||||
|
</map>
|
@ -0,0 +1 @@
|
|||||||
|
65b9f1a0df9eb0e21c4f97971074add4
|
After Width: | Height: | Size: 4.4 KiB |
@ -0,0 +1,3 @@
|
|||||||
|
<map id="afficherCandidatures" name="afficherCandidatures">
|
||||||
|
<area shape="rect" id="node1" title="Affiche récursivement toutes les candidatures d'un seul candidat." alt="" coords="5,29,148,55"/>
|
||||||
|
</map>
|
@ -0,0 +1 @@
|
|||||||
|
68edd7d9ab636c84752c1057f54f0e1e
|
After Width: | Height: | Size: 3.3 KiB |
@ -0,0 +1,7 @@
|
|||||||
|
<map id="afficherCandidatures" name="afficherCandidatures">
|
||||||
|
<area shape="rect" id="node1" title="Affiche récursivement toutes les candidatures d'un seul candidat." alt="" coords="677,29,820,55"/>
|
||||||
|
<area shape="rect" id="node2" href="$quatre_8c.html#a2a562fa04bb68f6a95562a03689e587d" title="Permet de voir les candidatures et les décisions prises." alt="" coords="411,29,629,55"/>
|
||||||
|
<area shape="rect" id="node3" href="$un_8c.html#afbbe421616435be6078263aaa641a2d0" title="Affiche le menu des candidats et permet l'appel des fonctions suivant le choix de l'utilisateur." alt="" coords="256,29,363,55"/>
|
||||||
|
<area shape="rect" id="node4" href="$un_8c.html#adfbaa271f44d828c6a42ce7e9affee88" title="Affiche le menu principal et permet l'appel des menus candidats/administrateurs/responsables suivant ..." alt="" coords="104,29,208,55"/>
|
||||||
|
<area shape="rect" id="node5" href="$main_8c.html#a840291bc02cba5474a4cb46a9b9566fe" title=" " alt="" coords="5,29,56,55"/>
|
||||||
|
</map>
|
@ -0,0 +1 @@
|
|||||||
|
e7a60ece288fdec0095306c46582e9f7
|
After Width: | Height: | Size: 7.8 KiB |
@ -0,0 +1,7 @@
|
|||||||
|
<map id="ajouterCandidat" name="ajouterCandidat">
|
||||||
|
<area shape="rect" id="node1" title="Ajoute l'adresse du candidat dans le tableau de pointeur "liste"." alt="" coords="605,5,719,31"/>
|
||||||
|
<area shape="rect" id="node2" href="$un_8c.html#a56a001ef4c52c974a624fa17c000f927" title="Propose à l'utilisateur de se connecter avec son id ou de créer son compte étudiant...." alt="" coords="411,5,557,31"/>
|
||||||
|
<area shape="rect" id="node3" href="$un_8c.html#afbbe421616435be6078263aaa641a2d0" title="Affiche le menu des candidats et permet l'appel des fonctions suivant le choix de l'utilisateur." alt="" coords="256,5,363,31"/>
|
||||||
|
<area shape="rect" id="node4" href="$un_8c.html#adfbaa271f44d828c6a42ce7e9affee88" title="Affiche le menu principal et permet l'appel des menus candidats/administrateurs/responsables suivant ..." alt="" coords="104,5,208,31"/>
|
||||||
|
<area shape="rect" id="node5" href="$main_8c.html#a840291bc02cba5474a4cb46a9b9566fe" title=" " alt="" coords="5,5,56,31"/>
|
||||||
|
</map>
|
@ -0,0 +1 @@
|
|||||||
|
514a16c92bfe7ab41f9952dc644ea1cd
|
After Width: | Height: | Size: 6.0 KiB |
@ -0,0 +1,7 @@
|
|||||||
|
<map id="ajouterCandidature" name="ajouterCandidature">
|
||||||
|
<area shape="rect" id="node1" title="Ajoute une candidature dans la liste des candidatures associées au candidat correspondant dans les pa..." alt="" coords="632,5,763,31"/>
|
||||||
|
<area shape="rect" id="node2" href="$deux_8c.html#a346ec11b7cfecb53142039ba1125e31e" title="Permet au candidat de déposer une candidature." alt="" coords="411,5,584,31"/>
|
||||||
|
<area shape="rect" id="node3" href="$un_8c.html#afbbe421616435be6078263aaa641a2d0" title="Affiche le menu des candidats et permet l'appel des fonctions suivant le choix de l'utilisateur." alt="" coords="256,5,363,31"/>
|
||||||
|
<area shape="rect" id="node4" href="$un_8c.html#adfbaa271f44d828c6a42ce7e9affee88" title="Affiche le menu principal et permet l'appel des menus candidats/administrateurs/responsables suivant ..." alt="" coords="104,5,208,31"/>
|
||||||
|
<area shape="rect" id="node5" href="$main_8c.html#a840291bc02cba5474a4cb46a9b9566fe" title=" " alt="" coords="5,5,56,31"/>
|
||||||
|
</map>
|
@ -0,0 +1 @@
|
|||||||
|
f043de938efcd8fb44fee247023aad83
|
After Width: | Height: | Size: 5.6 KiB |
@ -0,0 +1,7 @@
|
|||||||
|
<map id="checkCandidature" name="checkCandidature">
|
||||||
|
<area shape="rect" id="node1" title="Verifie si la candidature à ajouter n'existe pas déjà" alt="" coords="632,5,759,31"/>
|
||||||
|
<area shape="rect" id="node2" href="$deux_8c.html#a346ec11b7cfecb53142039ba1125e31e" title="Permet au candidat de déposer une candidature." alt="" coords="411,5,584,31"/>
|
||||||
|
<area shape="rect" id="node3" href="$un_8c.html#afbbe421616435be6078263aaa641a2d0" title="Affiche le menu des candidats et permet l'appel des fonctions suivant le choix de l'utilisateur." alt="" coords="256,5,363,31"/>
|
||||||
|
<area shape="rect" id="node4" href="$un_8c.html#adfbaa271f44d828c6a42ce7e9affee88" title="Affiche le menu principal et permet l'appel des menus candidats/administrateurs/responsables suivant ..." alt="" coords="104,5,208,31"/>
|
||||||
|
<area shape="rect" id="node5" href="$main_8c.html#a840291bc02cba5474a4cb46a9b9566fe" title=" " alt="" coords="5,5,56,31"/>
|
||||||
|
</map>
|
@ -0,0 +1 @@
|
|||||||
|
be30538ce60476c6a366db1ca0b393f1
|
After Width: | Height: | Size: 5.9 KiB |
@ -0,0 +1,7 @@
|
|||||||
|
<map id="afficherCandidat" name="afficherCandidat">
|
||||||
|
<area shape="rect" id="node1" title="Affiche un candidat précis." alt="" coords="595,5,712,31"/>
|
||||||
|
<area shape="rect" id="node2" href="$deux_8c.html#af5b94a22bd855987ee7db353ce1cc00a" title="Affiche tous les candidats triés par nom." alt="" coords="395,5,547,31"/>
|
||||||
|
<area shape="rect" id="node3" href="$un_8c.html#a7e91197935e5f2f6df2a2f2b6b05fd98" title="Affiche le menu des administrateurs et permet l'appel des fonctions suivant le choix de l'utilisateur..." alt="" coords="256,5,347,31"/>
|
||||||
|
<area shape="rect" id="node4" href="$un_8c.html#adfbaa271f44d828c6a42ce7e9affee88" title="Affiche le menu principal et permet l'appel des menus candidats/administrateurs/responsables suivant ..." alt="" coords="104,5,208,31"/>
|
||||||
|
<area shape="rect" id="node5" href="$main_8c.html#a840291bc02cba5474a4cb46a9b9566fe" title=" " alt="" coords="5,5,56,31"/>
|
||||||
|
</map>
|