This file contains hidden or 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
eNrdXNty27qSfd76CparzrxkHBMAQYAZ50xZli9KfItkO8l-SYEgaDGmSIWk7ChT8-_TIEWJlEiZztm7pmZcFUeiunFZ3eheDUA-_M-f09B4UkkaxNH7PfTW3DNUJGMviB7e793dnu7zvf_8Z-_wRmSTa78_D0L9yT97fxzmr41QPanw_Z5D9oxMJA8quy-bIt-gKVdEXpBdxclUgNRVHKny2fu9ozBIRPn2UiUyCFWallIyFGl6Jabq_d54Irz4ec8QqVSRd1z5QLhxpubJnjEVQTSO5aPKzpJ4Pnu_x_aMp0A9X8YeyA0vb65Ht2VXx8lclYOBifxxeBOKhUrGmciMFH7ByAAP8aDOgwxaEeEcmnAoQuQtNh1CbOrQvYOdmgMxhd-vVR7PlPJWSuitRdhfInuTqBPfVzILntRxAgBMRCTXo6P4LeOtyg0KjL1lJoMe2U6ty3mYBbMwUMlK03pLnTaV861-kGm2Cd_GmQgHN-O1LLEZpm8x4RZGhO7Wi9d2be1h-BAFmap14ZgAMzc5ZhYnqNUFEiWu_QLwkfCCebpugbUpXYpIHMdph3GNszWc2OFtYiP1oyqJrFbJgfq5FrPRjgZrkmZrg8NoPQ3SbgposCqJ2j3jIvAr3go_OxaFfKelh5GsNIx3NXwXJSpVyVNlNe3qoq5yA1FLVSfR7rFacaQeVLS2nmm9dXZO-kIpOTmD0Ab9VIORucuNKv5KzJ1IaekqUg7e1W4DULt6qKu8AiitWAeKoV2yrwbpJFLJw2I8CVS4ngqjZCdWVaUqZu2eUtWoz6fTyF4_rSehE-_avSjiu6dUKFRn075aL1WoFGh4aiNIm3-dxk0Sf9dZKnyd2lEyjeeVUEcY3jnvQr46bdw-pMkiDSSkjDyhj5Q3h_FVQEbt04-f1BRcPk_UQEMqudpsdbV-CBxmY954V7gLwyaVdqiyTMjHQew9dEY37-RVGqdBAkilQSWb7SAKsV4dHYUvgodJFgH_7N78RMTphvR-O6LroV8DkTsW |
This file contains hidden or 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
<?xml version="1.0" encoding="utf-8"?> | |
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
xmlns:tools="http://schemas.android.com/tools" | |
android:layout_width="match_parent" | |
android:layout_height="match_parent" | |
android:paddingBottom="@dimen/activity_vertical_margin" | |
android:paddingLeft="@dimen/activity_horizontal_margin" | |
android:paddingRight="@dimen/activity_horizontal_margin" | |
android:paddingTop="@dimen/activity_vertical_margin" | |
tools:context="dragomitch.me.testexam.MainActivity"> |
This file contains hidden or 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
try { | |
String text = "3;1;BDI;SMS;FAME;1;Cégep Édouard Montpetit"; | |
byte[] tbyte = text.getBytes("UTF-8"); | |
FileOutputStream fos = new FileOutputStream(filename); | |
fos.write(239); | |
fos.write(187); | |
fos.write(191); | |
fos.write(tbyte); | |
fos.close(); |
This file contains hidden or 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
$(function(){ | |
var machines= []; | |
data=$.ajax({ | |
url: 'http://localhost:8080/Machines', | |
type: 'GET', | |
dataType: 'json', | |
success: function(reponse) { | |
for(i=0; i< reponse.length; i++){ | |
machines[i]= machine(reponse[i].local, | |
reponse[i].localisationDansLocal, |
This file contains hidden or 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
class Guerrier{ | |
private String nom; | |
//Some other parameters | |
public Guerrier(String nom){ | |
if(nom == null || nom == "") | |
throw new IllegalArgumentException("Guerrier invalide"); | |
this.nom= nom; | |
} |
This file contains hidden or 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
\begin{flushleft} | |
Afin d’appliquer les méthodologies et les notions enseignées au cours \href{http://ecampus.ipl.be/claroline/course/index.php?cid=2BIN_SQL}{I2040 - DB : Langage de Requêtes et de Programmation}, nous avions pour objectif de réaliser, par groupe de deux, une application de gestion de devis. | |
\par | |
En effet l'objectif du projet était d'informatiser le processus de soumission et d'acceptation des devis pour les maisons de WCrhoo et de leurs clients. Ils nous ont donc demandés de mettre en place une plateforme permettant de regrouper les demandes de devis des clients et permettant aux différentes maisons de pouvoir soumettre des devis à ces demandes. | |
\par | |
La solution qui vous est présentée ci-après est celle du groupe composé de Dragomir Philippe et de Jeremy Wagemans. | |
\par |
This file contains hidden or 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
public class TableauTrieDEntiers{ | |
private int [] tableDEntiers; | |
private int nombreDEntiers; | |
private static final int TAILLE = 10; | |
public TableauTrieDEntiers(){ | |
this.tableDEntiers = new int[TAILLE]; | |
this.nombreDEntiers = 0; | |
} |
This file contains hidden or 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
public class TestTableauTrieDEntiers{ | |
public static java.util.Scanner scanner = new java.util.Scanner(System.in); | |
/** | |
* Cette methode verifie qu'un resultat attendu est bien un resultat obtenu. | |
* | |
* @param messageErreur | |
* message a afficher en cas de probleme | |
* @param attendu |
This file contains hidden or 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
/** methode qui decale toutes les cases à partir de [posDepart] de [decalage] cases vers la gauche. | |
Ainsi pour decalageGauche(2,2) sur la liste [1,2,3,4,5] l'on obtient [3,4,5] | |
@param posDepart la position de depart du décalage | |
@param decalage le nombre de cases à décaller | |
*/ | |
private void decalageGauche(int posDepart, int decalage){ | |
for(int i= posDepart; i< nombreDEntiers-decalage; i++) | |
tableDEntiers[i]= tableDEntiers[i+decalage]; | |
} |
This file contains hidden or 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
/** Renvoie la longueur de la Suite courante */ | |
public int longueur(){ | |
/** | |
*1ere manière de faire: | |
*int result; | |
*if(estVide()){ | |
* result=0; | |
*}else{ | |
* resultat=1+corps().longueur(); | |
*} |
NewerOlder