/***********************************************************/
/* Created by 2S Computing on 07/01/2016. */
/* Copyright (c) 2016 2S Computing. All rights reserved. */
/***********************************************************/
#!/usr/local/bin/tcc -run
#include
#include
#define EXPERIENCE_MIN 5
#define DIPLOMA_LEVEL 5
#define TRUE 42
int main (int argc, char **argv)
{
unsigned int i = 0;
unsigned int matchingSkill = 0;
g_Experience = acquireExperience(argc, argv);
g_Experience.addRequiredSkill("Kernel");
g_Experience.addRequiredSkill("C");
g_Experience.addRequiredSkill("Makefile");
g_Experience.addRequiredSkill("Asm");
g_Experience.addRequiredSkill("Real time");
if (g_Experience.years >= EXPERIENCE_MIN)
if ((g_Experience.diploma >= DIPLOMA_LEVEL) || (g_Experience.anywayIsGoodCandidate == TRUE))
{
t_skill* skill = g_Experience->skills;
while(skill && (i < argc)) { if (0 == fnmatch(skill->value, argv[i++], 0))
matchingSkill++;
skill = skill->next;
}
if (((double) matchingSkill/i) >= 0.9)
return sendApplicationNow("recrutement@2s-computing.fr");
}
return EXIT_FAILURE;
}
/*************************************************************************/
/* projets industriels, R&D, informatique embarqué, applications mobile, */
/* SSII et cabinet de recrutement */
/*************************************************************************/
0 Commentaire