Last active
August 29, 2015 14:02
-
-
Save mazikwyry/993ad02b0037b59ccdd6 to your computer and use it in GitHub Desktop.
Job Offer C++
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using namespace System; | |
using namespace System::ComponentModel; | |
using namespace System::Collections; | |
using namespace System::Data; | |
using namespace System::Collections::Generic; | |
namespace JobOffer { | |
bool checkApplicant(JobApplicant^ applicant){ | |
if( applicant->languageExpirience.Contains("C++") && | |
applicant->languageExpirience.Contains("GDB") && | |
applicant->linuxKnowledge=="Very good" && | |
applicant->databaseKnowledge.Contains("SQL") && | |
applicant->databaseKnowledge.Contains("NoSQL") && | |
applicant->revisionControlSystemKnowledge.Contains(["Git", "Practical"]) && | |
applicant->englishLevel.Contains("Very good") && | |
applicant->personalSkills.Contains("Self-discipline") | |
){ | |
if( applicant->bonusKnowledge.Contains("Nvidia CUDA") || | |
applicant->bonusKnowledge.Contains("Parallel Algorithms") || | |
applicant->bonusKnowledge.Contains("IPC in POSIX") || | |
applicant->bonusKnowledge.Contains("Flex") || | |
applicant->bonusKnowledge.Contains("Bison/Yacc") | |
){ | |
applicant->bonusPoints=true; | |
} | |
applicant->Salary = JobApplicant::CalculateSalary(applicant->skills, applicant->expirience); | |
applicant->workHours = "Fully elastic"; | |
applicant->workPlace = "Spacious and modern office in Gliwice"; | |
applicant->canWorkRemotly = true; | |
applicant->Team = "Young and energetic (with a large dose of humor)"; | |
applicant->Bonuses.Add("Participation in events and business trips"); | |
applicant->professionalDevelopmentOpportunities = true; | |
return true; | |
} | |
}else{ | |
return false; | |
} | |
} | |
int main(array<System::String ^> ^args) | |
{ | |
JobApplicant^ applicant = gcnew JobApplicant(skills); | |
if(checkApplicant(applicant)){ | |
cout << "Contact our SEO Sebastion - [email protected]."; | |
if(applicant->bonusPoints) | |
cout << "Don't waste your time! We're looking just for you."; | |
}else{ | |
cout << "If you are ambitious and you are able to convince us that you would like to work for us - contact us."; | |
} | |
return 0; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment