Devenir membre club
Connectez vous
Aide & règlement
Votre 1ère visite
Le règlement
Contacter les admins
Contacter le webmaster
Questions & réponses
Comment soutenir CodeS-SourceS
Comment faire un lien vers CodeS-SourceS
Autres questions
A propos & don
A propos du réseau
Les modérateurs
Remerciements
Faire un don
Le livre d'or
Tous les livres
Les dernières parutions
Les plus consultés
Les critiques
Le top des ventes
Le top favoris des membres
Recevoir des livres blancs
Tous les thèmes
Les derniers messages
Les nouveaux messages
Poser une question
Le Chat - IRC
Tous les tutoriels
Ajouter un tutoriel
Les tutoriels en vidéo
Les formations vidéos
Tous les codes
Ajouter un code
Filtrer par catégorie
Filtrer par date
Les plus récents
Les mis à jour
Les codes par jour
Filtrer par niveau
Niveau débutant
Niveau initié
Niveau expert
Filtrer par type
Les codes avec capture
Les codes avec zip
Les codes .Net
Filtrer par qualité
Les plus populaires
Les plus populaires du mois
Les plus téléchargés
Les mieux notés
Top par catégorie
Top des favoris
Filtrer par auteur
Tous les auteurs
Le top des membres
Les snippets
Déposer votre CV
Consulter les offres d'emploi ou de stage
Consulter les CVs
Déposer une offre d'emploi ou de stage
Modèles de CV et lettres
Trouver une convention collective
Les écoles d'informatique
Toutes les écoles
Ajouter une école
Les outils
Outils pour développeurs
Trouver des ressources
Base de données de CodeS-SourceS
Télécharger les meilleurs logiciels
Comparer les prix
Envoyer des ecards
Création de bannières
Annuaire de la prog
Tous les sites
Ajouter votre site
Le dico de la prog
Toutes les définitions
Ajouter une définition
Les évènements
Tous les évènements
Les évènements à venir
Ajouter un évènement
Téléchargements
CodeS-SourceS Toolbox
CodeS-SourceS Toolbar
Toolbar pour FireFox
Fonds d'écran
Les compil's
Nos partenaires
Magazine Programmez
Frontier.fr
Xiti
ProgOnline
Winwise
Editions Eyrolles
Toute la liste
Les RFC
CS
VB, VB.NET
ASP.NET,ASP
C, C++
ColdFusion
PHP
Javascript
Delphi
Flash
Java
Graphisme
Irc
Assembleur
C#
Mobilité
SQL
Foxpro
Python
Regex
Flex
Windev
Ce site au démarrage
begin process at 2012 02 12 01:20:13
Accueil
Codes
Tutoriels
Forum
Livres
Emploi
Services
Connexion
Trouver un code source :
dans
Tout le site
Codes
Tutoriels
Forum
Blogs
Livres
RFC
Icones
News .NET
Boutique
[ Dernières recherches ]
Veuillez saisir votre recherche... Ex: smtp, lire un fichier, rs232
Options de recherche :
Tous les codes
Tous les codes en .Net
Tous les codes sauf .Net
Langages disponibles :
Tous les langages
ASP / ASP.NET
Assembleur
C / C++ / C++.NET
C# / C#.NET
ColdFusion
Delphi
Flash
Flex, Air, ActionScript
Foxpro
Graphisme
IRC
JAVA / J2EE
Javascript / Ajax / DHTML
PDA / PocketPC
PHP
Python
Regex, Regular Expression, Expression régulière
SQL
Visual Basic, VB6, VB.NET, VB 2005, VB
42 commentaire(s) de Arnold59
sur des sources sur tout
CodeS-SourceS
Déposé sur
Java : jeu othello - multi et solo (minmax)
Bonjour,
Problème de compilation sous JDK 1.6 update 12.
Impossible de compiler FenetreOthello.java, FenetresAide.java, Othello.java.
Voici les messages d'erreurs :
Othello v1.3/Fichier System Eclipse/Othello v1.3/src/JeuFinal$ javac Othello.java
Othello.java:32: warning: unmappable character for encoding UTF8
// m?morise les coups possibles ? jouer
^
Othello.java:32: warning: unmappable character for encoding UTF8
// m?morise les coups possibles ? jouer
^
Othello.java:35: warning: unmappable character for encoding UTF8
// m?morise le num?ro des cases graphiques par rapport aux coordonn?es
^
Othello.java:35: warning: unmappable character for encoding UTF8
// m?morise le num?ro des cases graphiques par rapport aux coordonn?es
^
Othello.java:35: warning: unmappable character for encoding UTF8
// m?morise le num?ro des cases graphiques par rapport aux coordonn?es
^
Othello.java:38: warning: unmappable character for encoding UTF8
// m?morise les coordonn?es des cases graphiques par rapport ? leurs num?ro
^
Othello.java:38: warning: unmappable character for encoding UTF8
// m?morise les coordonn?es des cases graphiques par rapport ? leurs num?ro
^
Othello.java:38: warning: unmappable character for encoding UTF8
// m?morise les coordonn?es des cases graphiques par rapport ? leurs num?ro
^
Othello.java:38: warning: unmappable character for encoding UTF8
// m?morise les coordonn?es des cases graphiques par rapport ? leurs num?ro
^
Othello.java:43: warning: unmappable character for encoding UTF8
protected int caseChoisie; // r?cup?re gr?ce au clic du joueur sur une case
^
Othello.java:43: warning: unmappable character for encoding UTF8
protected int caseChoisie; // r?cup?re gr?ce au clic du joueur sur une case
^
Othello.java:43: warning: unmappable character for encoding UTF8
protected int caseChoisie; // r?cup?re gr?ce au clic du joueur sur une case
^
Othello.java:46: warning: unmappable character for encoding UTF8
// compteurs des pions pr?sents sur le plateau
^
Othello.java:50: warning: unmappable character for encoding UTF8
// m?morise les coordonn?es des cases prises
^
Othello.java:50: warning: unmappable character for encoding UTF8
// m?morise les coordonn?es des cases prises
^
Othello.java:71: warning: unmappable character for encoding UTF8
// liste des mod?les
^
Othello.java:78: warning: unmappable character for encoding UTF8
// points des diff?rents case pour le choix de la case par l'IA
^
Othello.java:102: warning: unmappable character for encoding UTF8
// met ? false le tableau coupsPossibles
^
Othello.java:105: warning: unmappable character for encoding UTF8
// met ? 0 la liste des mod?les, le joueur en cours et met ? 0 le compteur de mod?le
^
Othello.java:105: warning: unmappable character for encoding UTF8
// met ? 0 la liste des mod?les, le joueur en cours et met ? 0 le compteur de mod?le
^
Othello.java:105: warning: unmappable character for encoding UTF8
// met ? 0 la liste des mod?les, le joueur en cours et met ? 0 le compteur de mod?le
^
Othello.java:105: warning: unmappable character for encoding UTF8
// met ? 0 la liste des mod?les, le joueur en cours et met ? 0 le compteur de mod?le
^
Othello.java:111: warning: unmappable character for encoding UTF8
// enregistre les num?ros des cases graphique par rapport aux coordonn?es
^
Othello.java:111: warning: unmappable character for encoding UTF8
// enregistre les num?ros des cases graphique par rapport aux coordonn?es
^
Othello.java:120: warning: unmappable character for encoding UTF8
// enregistre les lignes et colonnes par rapport aux coordonn?es des cases.
^
Othello.java:131: warning: unmappable character for encoding UTF8
ligneCases[i]= ligne; // un d?calage de 1 par rapport ? l'interface graphique
^
Othello.java:131: warning: unmappable character for encoding UTF8
ligneCases[i]= ligne; // un d?calage de 1 par rapport ? l'interface graphique
^
Othello.java:143: warning: unmappable character for encoding UTF8
// initialise ? z?ro le tableau des cases pris.
^
Othello.java:143: warning: unmappable character for encoding UTF8
// initialise ? z?ro le tableau des cases pris.
^
Othello.java:155: warning: unmappable character for encoding UTF8
// m?morise le nombre de points de chaque case.
^
Othello.java:181: warning: unmappable character for encoding UTF8
// si on poss?de les coins, on change la valeur des cases qui se
^
Othello.java:182: warning: unmappable character for encoding UTF8
// trouve ? proximit? car elles deviennent favorables.
^
Othello.java:182: warning: unmappable character for encoding UTF8
// trouve ? proximit? car elles deviennent favorables.
^
Othello.java:247: warning: unmappable character for encoding UTF8
// d?clare les cases qui se trouve hors du plateau de jeu
^
Othello.java:256: warning: unmappable character for encoding UTF8
// d?clare toutes les cases en statut libre
^
Othello.java:262: warning: unmappable character for encoding UTF8
// positionne les 4 pions de d?part sur les case 27, 28, 35 et 36
^
Othello.java:287: warning: unmappable character for encoding UTF8
// retourne la ligne d'une case en param?tre
^
Othello.java:293: warning: unmappable character for encoding UTF8
// retourne la colonne d'une case en param?tre
^
Othello.java:312: warning: unmappable character for encoding UTF8
// retourne le num?ro de la case gr?ce aux coordonn?es
^
Othello.java:312: warning: unmappable character for encoding UTF8
// retourne le num?ro de la case gr?ce aux coordonn?es
^
Othello.java:312: warning: unmappable character for encoding UTF8
// retourne le num?ro de la case gr?ce aux coordonn?es
^
Othello.java:337: warning: unmappable character for encoding UTF8
// retourne la case sur laquelle le joueur aura cliqu?
^
Othello.java:350: warning: unmappable character for encoding UTF8
// v?firie si le placement est correcte
^
Othello.java:362: warning: unmappable character for encoding UTF8
for (int b = -1; b < 2; b++) // par rapport ? la case choisie
^
Othello.java:364: warning: unmappable character for encoding UTF8
nbEtape = 0; // indique le nombre de pions adverses trouv?s
^
Othello.java:376: warning: unmappable character for encoding UTF8
// si au moins un pion d'une autre couleur est trouv?
^
Othello.java:378: warning: unmappable character for encoding UTF8
// et qu'un pion de m?me couleur est trouv?
^
Othello.java:378: warning: unmappable character for encoding UTF8
// et qu'un pion de m?me couleur est trouv?
^
Othello.java:384: warning: unmappable character for encoding UTF8
// m?morise les coordonn?es des pions pris
^
Othello.java:384: warning: unmappable character for encoding UTF8
// m?morise les coordonn?es des pions pris
^
Othello.java:392: warning: unmappable character for encoding UTF8
// si le coup est vraiment jou?, on ex?cute cette boucle
^
Othello.java:392: warning: unmappable character for encoding UTF8
// si le coup est vraiment jou?, on ex?cute cette boucle
^
Othello.java:423: warning: unmappable character for encoding UTF8
// remet ? 0 le tableau des cases prises
^
Othello.java:433: warning: unmappable character for encoding UTF8
// v?rifie si la partie est termin?e
^
Othello.java:433: warning: unmappable character for encoding UTF8
// v?rifie si la partie est termin?e
^
Othello.java:447: warning: unmappable character for encoding UTF8
// v?rifie si le joueur blanc ne peut plus jouer
^
Othello.java:460: warning: unmappable character for encoding UTF8
// v?rifie si le joueur noir ne peut plus jouer
^
Othello.java:473: warning: unmappable character for encoding UTF8
// permet de montrer les coups possibles ? jouer
^
Othello.java:495: warning: unmappable character for encoding UTF8
// remise ? 0 tableau coupPossibles
^
Othello.java:522: warning: unmappable character for encoding UTF8
// cr?er une copie du jeu
^
Othello.java:525: warning: unmappable character for encoding UTF8
// cr?e un nouveau mod?le
^
Othello.java:525: warning: unmappable character for encoding UTF8
// cr?e un nouveau mod?le
^
Othello.java:528: warning: unmappable character for encoding UTF8
// r?cup?re le statut des cases
^
Othello.java:528: warning: unmappable character for encoding UTF8
// r?cup?re le statut des cases
^
Othello.java:532: warning: unmappable character for encoding UTF8
// r?cup?re le joueurs en cours
^
Othello.java:532: warning: unmappable character for encoding UTF8
// r?cup?re le joueurs en cours
^
Othello.java:534: warning: unmappable character for encoding UTF8
// r?cup?re les points
^
Othello.java:534: warning: unmappable character for encoding UTF8
// r?cup?re les points
^
Othello.java:537: warning: unmappable character for encoding UTF8
// r?cup?re la case jou?
^
Othello.java:537: warning: unmappable character for encoding UTF8
// r?cup?re la case jou?
^
Othello.java:537: warning: unmappable character for encoding UTF8
// r?cup?re la case jou?
^
Othello.java:557: warning: unmappable character for encoding UTF8
// r?cup?re les statuts des cases
^
Othello.java:557: warning: unmappable character for encoding UTF8
// r?cup?re les statuts des cases
^
Othello.java:561: warning: unmappable character for encoding UTF8
// r?cup?re le joueurs en cours
^
Othello.java:561: warning: unmappable character for encoding UTF8
// r?cup?re le joueurs en cours
^
Othello.java:563: warning: unmappable character for encoding UTF8
// r?cup?re les points
^
Othello.java:563: warning: unmappable character for encoding UTF8
// r?cup?re les points
^
Othello.java:566: warning: unmappable character for encoding UTF8
// r?cup?re la case jou?
^
Othello.java:566: warning: unmappable character for encoding UTF8
// r?cup?re la case jou?
^
Othello.java:566: warning: unmappable character for encoding UTF8
// r?cup?re la case jou?
^
Othello.java:574: warning: unmappable character for encoding UTF8
// r?cup?re les statuts des cases
^
Othello.java:574: warning: unmappable character for encoding UTF8
// r?cup?re les statuts des cases
^
Othello.java:578: warning: unmappable character for encoding UTF8
// r?cup?re le joueurs en cours
^
Othello.java:578: warning: unmappable character for encoding UTF8
// r?cup?re le joueurs en cours
^
Othello.java:580: warning: unmappable character for encoding UTF8
// r?cup?re les points
^
Othello.java:580: warning: unmappable character for encoding UTF8
// r?cup?re les points
^
Othello.java:583: warning: unmappable character for encoding UTF8
// r?cup?re la case jou?
^
Othello.java:583: warning: unmappable character for encoding UTF8
// r?cup?re la case jou?
^
Othello.java:583: warning: unmappable character for encoding UTF8
// r?cup?re la case jou?
^
Othello.java:589: warning: unmappable character for encoding UTF8
// r?cup?re les statuts des cases
^
Othello.java:589: warning: unmappable character for encoding UTF8
// r?cup?re les statuts des cases
^
Othello.java:593: warning: unmappable character for encoding UTF8
// r?cup?re le joueurs en cours
^
Othello.java:593: warning: unmappable character for encoding UTF8
// r?cup?re le joueurs en cours
^
Othello.java:595: warning: unmappable character for encoding UTF8
// r?cup?re les points
^
Othello.java:595: warning: unmappable character for encoding UTF8
// r?cup?re les points
^
Othello.java:598: warning: unmappable character for encoding UTF8
// r?cup?re la case jou?
^
Othello.java:598: warning: unmappable character for encoding UTF8
// r?cup?re la case jou?
^
Othello.java:598: warning: unmappable character for encoding UTF8
// r?cup?re la case jou?
^
Othello.java:17: package interfaces does not exist
import interfaces.*;
^
Othello.java:19: cannot find symbol
symbol: class ModeleOthello
public class Othello implements ModeleOthello, Sauvegarde, Ordinateur, Historique, Serializable
^
Othello.java:19: cannot find symbol
symbol: class Sauvegarde
public class Othello implements ModeleOthello, Sauvegarde, Ordinateur, Historique, Serializable
^
Othello.java:19: cannot find symbol
symbol: class Ordinateur
public class Othello implements ModeleOthello, Sauvegarde, Ordinateur, Historique, Serializable
^
Othello.java:19: cannot find symbol
symbol: class Historique
public class Othello implements ModeleOthello, Sauvegarde, Ordinateur, Historique, Serializable
^
5 errors
100 warnings
------------------------------------------------------------
Othello v1.3/Fichier System Eclipse/Othello v1.3/src/JeuFinal$ javac FenetreOthello.java
FenetreOthello.java:5: warning: unmappable character for encoding UTF8
^
FenetreOthello.java:26: warning: unmappable character for encoding UTF8
// charge les diff?rentes images
^
FenetreOthello.java:63: warning: unmappable character for encoding UTF8
private JMenuItem aideRegles = new JMenuItem("* Les r?gles de jeu", imageAide);
^
FenetreOthello.java:68: warning: unmappable character for encoding UTF8
// diff?rents JPanel de la fen?tre
^
FenetreOthello.java:68: warning: unmappable character for encoding UTF8
// diff?rents JPanel de la fen?tre
^
FenetreOthello.java:79: warning: unmappable character for encoding UTF8
// Message en bas d'?cran
^
FenetreOthello.java:86: warning: unmappable character for encoding UTF8
// permet d'afficher le score sur le cot? droit.
^
FenetreOthello.java:92: warning: unmappable character for encoding UTF8
// Element sur le c?t? gauche
^
FenetreOthello.java:92: warning: unmappable character for encoding UTF8
// Element sur le c?t? gauche
^
FenetreOthello.java:97: warning: unmappable character for encoding UTF8
// boutons pour revenir en arri?re
^
FenetreOthello.java:102: warning: unmappable character for encoding UTF8
private String txt; // servira ? stocker le texte 'blanc' ou 'noir' en fonction du joueur
^
FenetreOthello.java:128: warning: unmappable character for encoding UTF8
// ajout les actions aux diff?rents boutons du menu.
^
FenetreOthello.java:148: warning: unmappable character for encoding UTF8
// ferme le programme gr?ce ? la croix
^
FenetreOthello.java:148: warning: unmappable character for encoding UTF8
// ferme le programme gr?ce ? la croix
^
FenetreOthello.java:152: warning: unmappable character for encoding UTF8
fondPrincipale = new JPanel(); // Contient les 3 panel d'apr?s
^
FenetreOthello.java:166: warning: unmappable character for encoding UTF8
// cr?er la barre menu
^
FenetreOthello.java:267: warning: unmappable character for encoding UTF8
// ajout les diff?rents panels au panel principale
^
FenetreOthello.java:269: warning: unmappable character for encoding UTF8
// cr?e une disposition et on l'applique au panel fondPrincipale
^
FenetreOthello.java:295: warning: unmappable character for encoding UTF8
coupJoue.setText(" Coup Jou? : ");
^
FenetreOthello.java:335: warning: unmappable character for encoding UTF8
// ajout les diff?rents panel Haut, droit, bas
^
FenetreOthello.java:394: warning: unmappable character for encoding UTF8
// cr?ations des cases
^
FenetreOthello.java:427: warning: unmappable character for encoding UTF8
// Affiche les pions au d?part d'une nouvelle partie
^
FenetreOthello.java:442: warning: unmappable character for encoding UTF8
// r?cup?re et affiche les coups possibles
^
FenetreOthello.java:442: warning: unmappable character for encoding UTF8
// r?cup?re et affiche les coups possibles
^
FenetreOthello.java:463: warning: unmappable character for encoding UTF8
// r?cup?re le joueur en cours pour connaitre la couleur
^
FenetreOthello.java:463: warning: unmappable character for encoding UTF8
// r?cup?re le joueur en cours pour connaitre la couleur
^
FenetreOthello.java:468: warning: unmappable character for encoding UTF8
infoMessage.setText("*Joueur " +txt +" ? vous de jouer !");
^
FenetreOthello.java:478: warning: unmappable character for encoding UTF8
// affiche les coordonn?es de la case jou? sur l'interface graphique
^
FenetreOthello.java:478: warning: unmappable character for encoding UTF8
// affiche les coordonn?es de la case jou? sur l'interface graphique
^
FenetreOthello.java:494: warning: unmappable character for encoding UTF8
// permet d'activer ou de d?sactiver les boutons pr?c?dent et suivant
^
FenetreOthello.java:494: warning: unmappable character for encoding UTF8
// permet d'activer ou de d?sactiver les boutons pr?c?dent et suivant
^
FenetreOthello.java:494: warning: unmappable character for encoding UTF8
// permet d'activer ou de d?sactiver les boutons pr?c?dent et suivant
^
FenetreOthello.java:497: warning: unmappable character for encoding UTF8
// pr?cedent
^
FenetreOthello.java:510: warning: unmappable character for encoding UTF8
// avec les valeurs donn?es par le joueur
^
FenetreOthello.java:521: warning: unmappable character for encoding UTF8
Methode pour ex?cuter le coup demand? et l'afficher ? l'?cran
^
FenetreOthello.java:521: warning: unmappable character for encoding UTF8
Methode pour ex?cuter le coup demand? et l'afficher ? l'?cran
^
FenetreOthello.java:521: warning: unmappable character for encoding UTF8
Methode pour ex?cuter le coup demand? et l'afficher ? l'?cran
^
FenetreOthello.java:521: warning: unmappable character for encoding UTF8
Methode pour ex?cuter le coup demand? et l'afficher ? l'?cran
^
FenetreOthello.java:530: warning: unmappable character for encoding UTF8
// si le 2? joueur est un humain
^
FenetreOthello.java:534: warning: unmappable character for encoding UTF8
// si le 2? joueur est le PC
^
FenetreOthello.java:544: warning: unmappable character for encoding UTF8
// r?cup?re la couleur et le texte du joueur en cours et celle de l'autre joueur
^
FenetreOthello.java:544: warning: unmappable character for encoding UTF8
// r?cup?re la couleur et le texte du joueur en cours et celle de l'autre joueur
^
FenetreOthello.java:571: warning: unmappable character for encoding UTF8
// incr?mente numeroMod?le
^
FenetreOthello.java:571: warning: unmappable character for encoding UTF8
// incr?mente numeroMod?le
^
FenetreOthello.java:586: warning: unmappable character for encoding UTF8
// remet ? z?ro le tableau des cases pris.
^
FenetreOthello.java:586: warning: unmappable character for encoding UTF8
// remet ? z?ro le tableau des cases pris.
^
FenetreOthello.java:602: warning: unmappable character for encoding UTF8
// r?initialise le tableau des coups possibles
^
FenetreOthello.java:605: warning: unmappable character for encoding UTF8
// r?cup?re les cases possibles ? jouer
^
FenetreOthello.java:605: warning: unmappable character for encoding UTF8
// r?cup?re les cases possibles ? jouer
^
FenetreOthello.java:605: warning: unmappable character for encoding UTF8
// r?cup?re les cases possibles ? jouer
^
FenetreOthello.java:611: warning: unmappable character for encoding UTF8
// affiche en bas de l'?cran le joueur en cours
^
FenetreOthello.java:627: warning: unmappable character for encoding UTF8
// test si le joueur ? rejouer pendant la navigation dans l'historique
^
FenetreOthello.java:628: warning: unmappable character for encoding UTF8
// si c'est le cas on met ? null le reste du tableau des historiques ? partir
^
FenetreOthello.java:628: warning: unmappable character for encoding UTF8
// si c'est le cas on met ? null le reste du tableau des historiques ? partir
^
FenetreOthello.java:629: warning: unmappable character for encoding UTF8
// du coup qui vient d'?tre jou?
^
FenetreOthello.java:629: warning: unmappable character for encoding UTF8
// du coup qui vient d'?tre jou?
^
FenetreOthello.java:630: warning: unmappable character for encoding UTF8
// cela permettra de d?sactiver le bouton suivant
^
FenetreOthello.java:634: warning: unmappable character for encoding UTF8
// affiche les coordonn?es de la case jou? sur l'interface
^
FenetreOthello.java:634: warning: unmappable character for encoding UTF8
// affiche les coordonn?es de la case jou? sur l'interface
^
FenetreOthello.java:637: warning: unmappable character for encoding UTF8
// active ou desactive boutons pr?c?dent et suivant
^
FenetreOthello.java:637: warning: unmappable character for encoding UTF8
// active ou desactive boutons pr?c?dent et suivant
^
FenetreOthello.java:644: warning: unmappable character for encoding UTF8
else JOptionPane.showMessageDialog(this, " Veuillez d?marrer une nouvelle partie ! ","Erreur", JOptionPane.ERROR_MESSAGE);
^
FenetreOthello.java:655: warning: unmappable character for encoding UTF8
Fin de la m?thode jouerUnCoup()
^
FenetreOthello.java:696: warning: unmappable character for encoding UTF8
Fin de la partie g?rant les images des cases
^
FenetreOthello.java:700: warning: unmappable character for encoding UTF8
// g?re le coup de l'IA
^
FenetreOthello.java:709: warning: unmappable character for encoding UTF8
D?but de la gestion des clics
^
FenetreOthello.java:716: warning: unmappable character for encoding UTF8
// r?cup?re la source du bouton cliqu?
^
FenetreOthello.java:716: warning: unmappable character for encoding UTF8
// r?cup?re la source du bouton cliqu?
^
FenetreOthello.java:716: warning: unmappable character for encoding UTF8
// r?cup?re la source du bouton cliqu?
^
FenetreOthello.java:719: warning: unmappable character for encoding UTF8
// g?re les boutons du menu
^
FenetreOthello.java:804: warning: unmappable character for encoding UTF8
oth.nomFichier = JOptionPane.showInputDialog(this, "Entrez le nom du fichier (au moins 5 caract?res) : ", "maPartie");
^
FenetreOthello.java:808: warning: unmappable character for encoding UTF8
JOptionPane.showMessageDialog(this, "Enregistrement de la partie : "+oth.nomFichier +" r?ussi !", "Enregistrement", JOptionPane.INFORMATION_MESSAGE) ;
^
FenetreOthello.java:829: warning: unmappable character for encoding UTF8
JOptionPane.showMessageDialog(this, "Chargement de la partie : <"+oth.nomFichier +" r?ussi !") ;
^
FenetreOthello.java:850: warning: unmappable character for encoding UTF8
// g?re les clics des boutons suivant et pr?c?dent
^
FenetreOthello.java:850: warning: unmappable character for encoding UTF8
// g?re les clics des boutons suivant et pr?c?dent
^
FenetreOthello.java:850: warning: unmappable character for encoding UTF8
// g?re les clics des boutons suivant et pr?c?dent
^
FenetreOthello.java:879: warning: unmappable character for encoding UTF8
String rouge = JOptionPane.showInputDialog(this, "Entrez le degr? de rouge (de 0 ? 255)", "0");
^
FenetreOthello.java:879: warning: unmappable character for encoding UTF8
String rouge = JOptionPane.showInputDialog(this, "Entrez le degr? de rouge (de 0 ? 255)", "0");
^
FenetreOthello.java:880: warning: unmappable character for encoding UTF8
String vert = JOptionPane.showInputDialog(this, "Entrez le degr? de vert (de 0 ? 255)", "220");
^
FenetreOthello.java:880: warning: unmappable character for encoding UTF8
String vert = JOptionPane.showInputDialog(this, "Entrez le degr? de vert (de 0 ? 255)", "220");
^
FenetreOthello.java:881: warning: unmappable character for encoding UTF8
String bleu = JOptionPane.showInputDialog(this, "Entrez le degr? de bleu (de 0 ? 255)", "20");
^
FenetreOthello.java:881: warning: unmappable character for encoding UTF8
String bleu = JOptionPane.showInputDialog(this, "Entrez le degr? de bleu (de 0 ? 255)", "20");
^
FenetreOthello.java:888: warning: unmappable character for encoding UTF8
JOptionPane.showMessageDialog(this, " Valeur(s) entr?e(s) incorrecte(s)","Erreur", JOptionPane.ERROR_MESSAGE);
^
FenetreOthello.java:893: warning: unmappable character for encoding UTF8
// g?re les boutons aide.
^
FenetreOthello.java:907: warning: unmappable character for encoding UTF8
fenetre.setTitle("R?gles du jeu");
^
FenetreOthello.java:912: warning: unmappable character for encoding UTF8
// g?re les cases du plateau
^
FenetreOthello.java:1147: warning: unmappable character for encoding UTF8
JOptionPane.showMessageDialog(this,"* Partie Finie : Egalit? !");
^
FenetreOthello.java:23: cannot find symbol
symbol : class Othello
location: class JeuFinal.FenetreOthello
private Othello oth = new Othello();
^
FenetreOthello.java:23: cannot find symbol
symbol : class Othello
location: class JeuFinal.FenetreOthello
private Othello oth = new Othello();
^
FenetreOthello.java:504: operator + cannot be applied to Othello.numeroModele,int
if ((oth.listeModele[oth.numeroModele+1] == null) || oth.partieEstFinie())
^
FenetreOthello.java:504: incompatible types
found : <nulltype>
required: int
if ((oth.listeModele[oth.numeroModele+1] == null) || oth.partieEstFinie())
^
FenetreOthello.java:596: operator < cannot be applied to java.lang.String,int
if ((oth.compteurBlanc + oth.compteurNoir) < 64)
^
FenetreOthello.java:615: incomparable types: java.lang.String and int
if ((oth.partieEstFinie()== true) || (oth.compteurBlanc + oth.compteurNoir == 64) ||
^
FenetreOthello.java:621: operator < cannot be applied to java.lang.String,int
(oth.compteurBlanc + oth.compteurNoir) < 64)
^
FenetreOthello.java:643: operator < cannot be applied to java.lang.String,int
{ if ((oth.compteurBlanc + oth.compteurNoir) < 64) infoMessage.setText("INTERDIT ! Joueur " +txt +" recommencez !");
^
FenetreOthello.java:649: operator < cannot be applied to java.lang.String,int
&& ((oth.compteurBlanc + oth.compteurNoir) < 64))
^
FenetreOthello.java:897: cannot find symbol
symbol : class FenetresAide
location: class JeuFinal.FenetreOthello
FenetresAide fenetre = new FenetresAide(frame);
^
FenetreOthello.java:897: cannot find symbol
symbol : class FenetresAide
location: class JeuFinal.FenetreOthello
FenetresAide fenetre = new FenetresAide(frame);
^
FenetreOthello.java:905: cannot find symbol
symbol : class FenetresAide
location: class JeuFinal.FenetreOthello
FenetresAide fenetre = new FenetresAide(frame);
^
FenetreOthello.java:905: cannot find symbol
symbol : class FenetresAide
location: class JeuFinal.FenetreOthello
FenetresAide fenetre = new FenetresAide(frame);
^
13 errors
88 warnings
--------------------------------------------------------------
/Bureau/Othello v1.3/Fichier System Eclipse/Othello v1.3/src/interfaces$ javac ModeleOthello.java
ModeleOthello.java:19: warning: unmappable character for encoding UTF8
/** permet de sauvegarde un mod?le dans une liste */
^
ModeleOthello.java:22: warning: unmappable character for encoding UTF8
/** permet de charger le mod?le qui pr?c?de un coup*/
^
ModeleOthello.java:22: warning: unmappable character for encoding UTF8
/** permet de charger le mod?le qui pr?c?de un coup*/
^
ModeleOthello.java:22: warning: unmappable character for encoding UTF8
/** permet de charger le mod?le qui pr?c?de un coup*/
^
ModeleOthello.java:25: warning: unmappable character for encoding UTF8
/** restitu le mod?le d'avant le chargement du mod?le pr?cedent */
^
ModeleOthello.java:25: warning: unmappable character for encoding UTF8
/** restitu le mod?le d'avant le chargement du mod?le pr?cedent */
^
ModeleOthello.java:25: warning: unmappable character for encoding UTF8
/** restitu le mod?le d'avant le chargement du mod?le pr?cedent */
^
ModeleOthello.java:28: warning: unmappable character for encoding UTF8
/** charge le mod?le en param?tre */
^
ModeleOthello.java:28: warning: unmappable character for encoding UTF8
/** charge le mod?le en param?tre */
^
ModeleOthello.java:16: package JeuFinal does not exist
import JeuFinal.Othello;
^
ModeleOthello.java:32: cannot find symbol
symbol : class Othello
location: interface interfaces.ModeleOthello
public void chargeModeleQuelconque(Othello modele);
^
2 errors
11 warnings
Posté le :
03/03/2009 23:21:45
Déposé sur
Jeu abalone
Compilation sous JDK 1.6 update 12.
L'exécution du jeu :
java jeu
--> Interface graphique : basique
--> Pb : Sous eeePc de Asus : je n'arrives pas à sélectionner de pièces ni les options.
Avez-vous remarquer la même chose de votre côté ?
Posté le :
03/03/2009 22:24:35
Déposé sur
Chiffrement aes (advanced encryption standard) 128 bits
Compilation réussie sous JDK 1.6 update 12.
Quand à l'exécution du programme Principale :
java Principale
test
--> Le résultat donne test
Est-ce normal ?
Posté le :
03/03/2009 22:02:35
Déposé sur
Puissance 4 c++
Bonjour,
Est-il possible d'utiliser ton programme sous Linux.
Dans ce cas, que faut-il rendre Générique ?
--> Compilation avec gcc 4.2.3
Puissance4/src$ gcc -c *
Dans le fichier inclus à partir de Game.cpp:1:
Game.hpp:3:21: erreur: windows.h : Aucun fichier ou dossier de ce type
Dans le fichier inclus à partir de Background.hpp:3,
à partir de Game.hpp:5,
à partir de Game.cpp:1:
MyPicture.hpp:29:7: attention : pas de retour chariot à la fin du fichier
Dans le fichier inclus à partir de Game.hpp:5,
à partir de Game.cpp:1:
Background.hpp:52:8: attention : pas de retour chariot à la fin du fichier
Dans le fichier inclus à partir de Game.hpp:6,
à partir de Game.cpp:1:
Player.hpp:23:7: attention : pas de retour chariot à la fin du fichier
Dans le fichier inclus à partir de Game.cpp:1:
Game.hpp:17:7: attention : pas de retour chariot à la fin du fichier
Game.cpp:64:2: attention : pas de retour chariot à la fin du fichier
In file included from Background.hpp:3,
from Game.hpp:5,
from Game.cpp:1:
MyPicture.hpp:8: erreur: «UINT» has not been declared
MyPicture.hpp:10: erreur: «HDC» has not been declared
MyPicture.hpp:11: erreur: «HDC» has not been declared
MyPicture.hpp:23: erreur: «HBITMAP» does not name a type
MyPicture.hpp:24: erreur: «COORD» does not name a type
MyPicture.hpp:25: erreur: «SIZE» does not name a type
MyPicture.hpp:26: erreur: «UINT» does not name a type
In file included from Game.hpp:5,
from Game.cpp:1:
Background.hpp:17: erreur: «HDC» has not been declared
In file included from Game.hpp:6,
from Game.cpp:1:
Player.hpp:11: erreur: «HDC» has not been declared
Player.hpp:14: erreur: «HDC» has not been declared
In file included from Game.cpp:1:
Game.hpp:11: erreur: «HWND» does not name a type
Game.hpp:12: erreur: ISO C++ forbids declaration of «HDC» with no type
Game.hpp:12: erreur: expected «;» before «*» token
Game.hpp:15: erreur: «DWORD» does not name a type
Game.cpp:3: erreur: «DWORD» does not name a type
Main.cpp:1:21: erreur: windows.h : Aucun fichier ou dossier de ce type
Dans le fichier inclus à partir de Background.hpp:3,
à partir de Game.hpp:5,
à partir de Main.cpp:2:
MyPicture.hpp:29:7: attention : pas de retour chariot à la fin du fichier
Dans le fichier inclus à partir de Game.hpp:5,
à partir de Main.cpp:2:
Background.hpp:52:8: attention : pas de retour chariot à la fin du fichier
Dans le fichier inclus à partir de Game.hpp:6,
à partir de Main.cpp:2:
Player.hpp:23:7: attention : pas de retour chariot à la fin du fichier
Dans le fichier inclus à partir de Main.cpp:2:
Game.hpp:17:7: attention : pas de retour chariot à la fin du fichier
In file included from Background.hpp:3,
from Game.hpp:5,
from Main.cpp:2:
MyPicture.hpp:8: erreur: «UINT» has not been declared
MyPicture.hpp:10: erreur: «HDC» has not been declared
MyPicture.hpp:11: erreur: «HDC» has not been declared
MyPicture.hpp:23: erreur: «HBITMAP» does not name a type
MyPicture.hpp:24: erreur: «COORD» does not name a type
MyPicture.hpp:25: erreur: «SIZE» does not name a type
MyPicture.hpp:26: erreur: «UINT» does not name a type
In file included from Game.hpp:5,
from Main.cpp:2:
Background.hpp:17: erreur: «HDC» has not been declared
In file included from Game.hpp:6,
from Main.cpp:2:
Player.hpp:11: erreur: «HDC» has not been declared
Player.hpp:14: erreur: «HDC» has not been declared
In file included from Main.cpp:2:
Game.hpp:11: erreur: «HWND» does not name a type
Game.hpp:12: erreur: ISO C++ forbids declaration of «HDC» with no type
Game.hpp:12: erreur: expected «;» before «*» token
Game.hpp:15: erreur: «DWORD» does not name a type
Main.cpp:4: erreur: «LRESULT» does not name a type
Main.cpp:6: erreur: expected initializer before «WinMain»
Dans le fichier inclus à partir de MyPicture.cpp:1:
MyPicture.hpp:3:21: erreur: windows.h : Aucun fichier ou dossier de ce type
MyPicture.hpp:29:7: attention : pas de retour chariot à la fin du fichier
MyPicture.cpp:76:2: attention : pas de retour chariot à la fin du fichier
In file included from MyPicture.cpp:1:
MyPicture.hpp:8: erreur: «UINT» has not been declared
MyPicture.hpp:10: erreur: «HDC» has not been declared
MyPicture.hpp:11: erreur: «HDC» has not been declared
MyPicture.hpp:23: erreur: «HBITMAP» does not name a type
MyPicture.hpp:24: erreur: «COORD» does not name a type
MyPicture.hpp:25: erreur: «SIZE» does not name a type
MyPicture.hpp:26: erreur: «UINT» does not name a type
MyPicture.cpp:3: erreur: «UINT» has not been declared
MyPicture.cpp: In constructor «MyPicture::MyPicture(int, int, int, int)»:
MyPicture.cpp:5: erreur: «hBitmap» was not declared in this scope
MyPicture.cpp:5: erreur: «GetModuleHandle» was not declared in this scope
MyPicture.cpp:5: erreur: «MAKEINTRESOURCE» was not declared in this scope
MyPicture.cpp:5: erreur: «LoadBitmap» was not declared in this scope
MyPicture.cpp:6: erreur: «NULL» was not declared in this scope
MyPicture.cpp:8: erreur: «CoordDest» was not declared in this scope
MyPicture.cpp:8: erreur: «CoordSrc» was not declared in this scope
MyPicture.cpp:12: erreur: «SizeDest» was not declared in this scope
MyPicture.cpp:12: erreur: «SizeSrc» was not declared in this scope
MyPicture.cpp:14: erreur: «class MyPicture» has no member named «Colorkey»
MyPicture.cpp:18: erreur: «MB_OK» was not declared in this scope
MyPicture.cpp:18: erreur: «MessageBox» was not declared in this scope
MyPicture.cpp: At global scope:
MyPicture.cpp:23: erreur: variable or field «Print» declared void
MyPicture.cpp:23: erreur: «HDC» was not declared in this scope
MyPicture.cpp:23: erreur: «hDC» was not declared in this scope
MyPicture.cpp:35: erreur: variable or field «Erase» declared void
MyPicture.cpp:35: erreur: «HDC» was not declared in this scope
MyPicture.cpp:35: erreur: «hDC» was not declared in this scope
MyPicture.cpp:35: erreur: expected primary-expression before «&» token
MyPicture.cpp:35: erreur: «background» was not declared in this scope
MyPicture.cpp: In member function «void MyPicture::MoveSRC(int, int)»:
MyPicture.cpp:55: erreur: «CoordSrc» was not declared in this scope
MyPicture.cpp: In member function «void MyPicture::MoveDEST(int, int)»:
MyPicture.cpp:60: erreur: «CoordDest» was not declared in this scope
MyPicture.cpp: In member function «void MyPicture::ResizeDEST(int, int)»:
MyPicture.cpp:65: erreur: «SizeDest» was not declared in this scope
MyPicture.cpp: In member function «void MyPicture::SetColorKey(int, int, int)»:
MyPicture.cpp:70: erreur: «Colorkey» was not declared in this scope
MyPicture.cpp:70: erreur: «RGB» was not declared in this scope
MyPicture.cpp: In destructor «MyPicture::~MyPicture()»:
MyPicture.cpp:75: erreur: «hBitmap» was not declared in this scope
MyPicture.cpp:75: erreur: «DeleteObject» was not declared in this scope
Dans le fichier inclus à partir de Player.hpp:3,
à partir de Player.cpp:1:
MyPicture.hpp:3:21: erreur: windows.h : Aucun fichier ou dossier de ce type
MyPicture.hpp:29:7: attention : pas de retour chariot à la fin du fichier
Dans le fichier inclus à partir de Player.hpp:4,
à partir de Player.cpp:1:
Background.hpp:52:8: attention : pas de retour chariot à la fin du fichier
Dans le fichier inclus à partir de Player.cpp:1:
Player.hpp:23:7: attention : pas de retour chariot à la fin du fichier
Player.cpp:40:2: attention : pas de retour chariot à la fin du fichier
In file included from Player.hpp:3,
from Player.cpp:1:
MyPicture.hpp:8: erreur: «UINT» has not been declared
MyPicture.hpp:10: erreur: «HDC» has not been declared
MyPicture.hpp:11: erreur: «HDC» has not been declared
MyPicture.hpp:23: erreur: «HBITMAP» does not name a type
MyPicture.hpp:24: erreur: «COORD» does not name a type
MyPicture.hpp:25: erreur: «SIZE» does not name a type
MyPicture.hpp:26: erreur: «UINT» does not name a type
In file included from Player.hpp:4,
from Player.cpp:1:
Background.hpp:17: erreur: «HDC» has not been declared
In file included from Player.cpp:1:
Player.hpp:11: erreur: «HDC» has not been declared
Player.hpp:14: erreur: «HDC» has not been declared
Player.cpp: In constructor «Player::Player(int, int)»:
Player.cpp:6: erreur: «RGB» was not declared in this scope
Player.cpp: At global scope:
Player.cpp:8: erreur: «HDC» has not been declared
Player.cpp:24: erreur: «HDC» has not been declared
Posté le :
07/08/2008 22:01:15
Déposé sur
Algorithme: problème du voyageur de commerce ( pvc )
Bonjour,
J'ai compilé ta source sous Linux avec le JDK 1.6 update 7
Résultat :
----------
cd /Bureau/javafr_ALGORITHME-PROBLEME-VOYAGEUR-COMMERCE-PVC
arnaud@tux-laptop:~/Bureau/javafr_ALGORITHME-PROBLEME-VOYAGEUR-COMMERCE-PVC$ javac *.java
Algo2opt.java:3: warning: unmappable character for encoding UTF8
Algorithme de deux-?change
^
Algo2opt.java:25: warning: unmappable character for encoding UTF8
M?thode lan?ant le calcul
^
Algo2opt.java:25: warning: unmappable character for encoding UTF8
M?thode lan?ant le calcul
^
Algo2opt.java:30: warning: unmappable character for encoding UTF8
tCalcul.start(); //D?but chrono
^
Algo2opt.java:87: warning: unmappable character for encoding UTF8
//Inverse les arr?te entre i et j
^
Algo2opt.java:124: warning: unmappable character for encoding UTF8
M?thode toString de l'algo 2-Opt
^
Algo2opt.java:125: warning: unmappable character for encoding UTF8
@return repr?sentation sous forme de chaine du resulat de l'algo
^
AlgoElastique.java:7: warning: unmappable character for encoding UTF8
private double k = 0.5; // requit de 1% toutes les n it?ration
^
AlgoElastique.java:11: warning: unmappable character for encoding UTF8
protected PointElastique [] elastique; // points de l'?lastique
^
AlgoElastique.java:12: warning: unmappable character for encoding UTF8
private Point cGravite; // centre de gravit? de l'ensemble de points
^
AlgoElastique.java:33: warning: unmappable character for encoding UTF8
M?thode lan?ant le calcul - l'algo
^
AlgoElastique.java:33: warning: unmappable character for encoding UTF8
M?thode lan?ant le calcul - l'algo
^
AlgoElastique.java:42: warning: unmappable character for encoding UTF8
// ajout de la premiere etape ? tabDessin
^
AlgoElastique.java:50: warning: unmappable character for encoding UTF8
tCalcul.start(); //d?marage du chrono
^
AlgoElastique.java:58: warning: unmappable character for encoding UTF8
//resistance de l'?lastique
^
AlgoElastique.java:100: warning: unmappable character for encoding UTF8
Methode de calcul du centre de gravit? en fonction des point du graphe
^
AlgoElastique.java:101: warning: unmappable character for encoding UTF8
@return le centre de gravit?
^
AlgoElastique.java:136: warning: unmappable character for encoding UTF8
// calcul des coordonn?es
^
Algo.java:4: warning: unmappable character for encoding UTF8
Classe Abstraite commune ? tout algorithme du probl?me de voyageur de commerce
^
Algo.java:4: warning: unmappable character for encoding UTF8
Classe Abstraite commune ? tout algorithme du probl?me de voyageur de commerce
^
Algo.java:9: warning: unmappable character for encoding UTF8
ArrayList tabDessin;// contient les ?tapes du dessin
^
AlgoPpv.java:27: warning: unmappable character for encoding UTF8
M?thode lan?ant le calcul
^
AlgoPpv.java:27: warning: unmappable character for encoding UTF8
M?thode lan?ant le calcul
^
AlgoPpv.java:31: warning: unmappable character for encoding UTF8
tCalcul.start(); //d?marage du chrono
^
AlgoPpv.java:52: warning: unmappable character for encoding UTF8
M?thode de recherche du plus proche voisin d'un point
^
AlgoPpv.java:75: warning: unmappable character for encoding UTF8
M?thode toString de l'algo du plus proche voisin
^
AlgoPpv.java:76: warning: unmappable character for encoding UTF8
@return une chaine repr?sentant l'objet
^
AlgoPrim.java:13: warning: unmappable character for encoding UTF8
* Constructeur par d?faut
^
AlgoPrim.java:33: warning: unmappable character for encoding UTF8
* Construction des ar?tes de l'arbre recouvrant avec l'algorithme de Prim.
^
AlgoPrim.java:34: warning: unmappable character for encoding UTF8
* @return le tableau des ar?tes de l'arbre recouvrant.
^
AlgoPrim.java:39: warning: unmappable character for encoding UTF8
Vector tableauArete = new Vector();// tableau d'ar?tes
^
AlgoPrim.java:45: warning: unmappable character for encoding UTF8
// on cr?e le circuit
^
AlgoPrim.java:51: warning: unmappable character for encoding UTF8
// pour tous les sommets stock?s
^
AlgoPrim.java:55: warning: unmappable character for encoding UTF8
// pour tous les sommets n'?tant pas inclus dans le circuit
^
AlgoPrim.java:82: warning: unmappable character for encoding UTF8
tCalcul.start(); //d?marage du chrono
^
AlgoPrim.java:84: warning: unmappable character for encoding UTF8
Vector v =arbreRecouvrant(); // cr?ation de l'arbre recouvrant
^
AlgoPrim.java:86: warning: unmappable character for encoding UTF8
MonArbre monarbre = new MonArbre(); // cr?ation effective de l'arbre
^
AlgoPrim.java:89: warning: unmappable character for encoding UTF8
// cr?ation du circuit par un parcours pr?fixe de l'arbre recouvrant
^
AlgoPrim.java:89: warning: unmappable character for encoding UTF8
// cr?ation du circuit par un parcours pr?fixe de l'arbre recouvrant
^
AlgoRecuit.java:4: warning: unmappable character for encoding UTF8
Algorithme du r?cuit simul?
^
AlgoRecuit.java:4: warning: unmappable character for encoding UTF8
Algorithme du r?cuit simul?
^
AlgoRecuit.java:9: warning: unmappable character for encoding UTF8
Algo ppv; // Circuit de d?part
^
AlgoRecuit.java:15: warning: unmappable character for encoding UTF8
@param g le graphe sur lequel l'algorithme doit ?tre appliqu?
^
AlgoRecuit.java:15: warning: unmappable character for encoding UTF8
@param g le graphe sur lequel l'algorithme doit ?tre appliqu?
^
AlgoRecuit.java:38: warning: unmappable character for encoding UTF8
M?thode run lan?ant le calcul
^
AlgoRecuit.java:38: warning: unmappable character for encoding UTF8
M?thode run lan?ant le calcul
^
AlgoRecuit.java:88: warning: unmappable character for encoding UTF8
M?thode de copie d'un circuit
^
AlgoRecuit.java:90: warning: unmappable character for encoding UTF8
@param c le circuit a copi? dans oldC
^
AlgoRecuit.java:102: warning: unmappable character for encoding UTF8
M?thode qui calcul la distance totale d'un circuit c
^
AlgoRecuit.java:116: warning: unmappable character for encoding UTF8
M?thode de calcul du gain d'un ?change
^
AlgoRecuit.java:116: warning: unmappable character for encoding UTF8
M?thode de calcul du gain d'un ?change
^
AlgoRecuit.java:129: warning: unmappable character for encoding UTF8
@param j l'indice du deuxi?me arc
^
AlgoRecuit.java:157: warning: unmappable character for encoding UTF8
//Inverse les arr?te entre i et j
^
AlgoRecuit.java:194: warning: unmappable character for encoding UTF8
M?thode toString de l'algo R?cuit Simul?
^
AlgoRecuit.java:194: warning: unmappable character for encoding UTF8
M?thode toString de l'algo R?cuit Simul?
^
AlgoRecuit.java:194: warning: unmappable character for encoding UTF8
M?thode toString de l'algo R?cuit Simul?
^
AlgoRecuit.java:195: warning: unmappable character for encoding UTF8
@return une chaine repr?sentant l'objet
^
AlgoRecuit.java:198: warning: unmappable character for encoding UTF8
String tmp="\n Resultat R?cuit Simul?: \n\n";
^
AlgoRecuit.java:198: warning: unmappable character for encoding UTF8
String tmp="\n Resultat R?cuit Simul?: \n\n";
^
ArcDessin.java:27: warning: unmappable character for encoding UTF8
return "{"+p1+" ? "+p2+"}";
^
Arc.java:2: warning: unmappable character for encoding UTF8
Classe repr?sentant un Arc (arrete entre deux point)
^
Arc.java:23: warning: unmappable character for encoding UTF8
@param p2 le deuxi?me point
^
Arc.java:49: warning: unmappable character for encoding UTF8
M?thode toString de l'arc
^
Arc.java:50: warning: unmappable character for encoding UTF8
@return une chaine repr?sentant l'objet
^
Arc.java:53: warning: unmappable character for encoding UTF8
return "{"+p1+" ? "+p2+" -dist: "+distance+"}";
^
Chrono.java:9: warning: unmappable character for encoding UTF8
/** Methode qui retourne le temps ecoul? depuis le demarrage du chronom?tre
^
Chrono.java:9: warning: unmappable character for encoding UTF8
/** Methode qui retourne le temps ecoul? depuis le demarrage du chronom?tre
^
Chrono.java:15: warning: unmappable character for encoding UTF8
/** Methode qui stop le chronom?tre et conserve le temps ecoule depuis son demarrage
^
Chrono.java:20: warning: unmappable character for encoding UTF8
/** Methode qui retourne le temps ecoule entre le demarrage(methode start()) et l'arret du chronom?tre (methode stop())
^
Chrono.java:21: warning: unmappable character for encoding UTF8
*@return long repr?sentant le temps ecoule
^
Graphe.java:3: warning: unmappable character for encoding UTF8
Repr?sentation d'un Graphe (ensemble de points)
^
Graphe.java:49: warning: unmappable character for encoding UTF8
Construit al?atoirment les points
^
Graphe.java:64: warning: unmappable character for encoding UTF8
Cherche si un point est d?j? dans le graphe
^
Graphe.java:64: warning: unmappable character for encoding UTF8
Cherche si un point est d?j? dans le graphe
^
Graphe.java:66: warning: unmappable character for encoding UTF8
@return vrai si le point est d?j? dans le graphe, faux sinon
^
Graphe.java:66: warning: unmappable character for encoding UTF8
@return vrai si le point est d?j? dans le graphe, faux sinon
^
Graphe.java:93: warning: unmappable character for encoding UTF8
@param j Indice du deuxi?me point
^
Graphe.java:105: warning: unmappable character for encoding UTF8
M?thode to String
^
Graphe.java:106: warning: unmappable character for encoding UTF8
@return repr?sentation sous forme de chaine de l'objet
^
InsertionPlusProche.java:6: warning: unmappable character for encoding UTF8
* Construit une approche du probl?me du voyageur de commerce ? l'aide de
^
InsertionPlusProche.java:6: warning: unmappable character for encoding UTF8
* Construit une approche du probl?me du voyageur de commerce ? l'aide de
^
InsertionPlusProche.java:7: warning: unmappable character for encoding UTF8
* l'heuristique appel?e insertion du plus proche
^
InsertionPlusProche.java:15: warning: unmappable character for encoding UTF8
* Constructeur par d?faut
^
InsertionPlusProche.java:35: warning: unmappable character for encoding UTF8
tCalcul.start(); //d?marage du chrono
^
InsertionPlusProche.java:37: warning: unmappable character for encoding UTF8
int taille = g.nbPoint; // nombre de points ? relier
^
InsertionPlusProche.java:39: warning: unmappable character for encoding UTF8
// point d?j? ?t? reli?.
^
InsertionPlusProche.java:39: warning: unmappable character for encoding UTF8
// point d?j? ?t? reli?.
^
InsertionPlusProche.java:39: warning: unmappable character for encoding UTF8
// point d?j? ?t? reli?.
^
InsertionPlusProche.java:39: warning: unmappable character for encoding UTF8
// point d?j? ?t? reli?.
^
InsertionPlusProche.java:39: warning: unmappable character for encoding UTF8
// point d?j? ?t? reli?.
^
InsertionPlusProche.java:41: warning: unmappable character for encoding UTF8
// initialisation du tableau des points visit?s.
^
InsertionPlusProche.java:45: warning: unmappable character for encoding UTF8
// Au debut, le circuit est r?duit ? 1 point.
^
InsertionPlusProche.java:45: warning: unmappable character for encoding UTF8
// Au debut, le circuit est r?duit ? 1 point.
^
InsertionPlusProche.java:77: warning: unmappable character for encoding UTF8
// mise ? jour du tableau de points
^
InsertionPlusProche.java:80: warning: unmappable character for encoding UTF8
// recherche de l'endroit o? a lieu l'insertion
^
InsertionPlusProche.java:83: warning: unmappable character for encoding UTF8
// par d?faut on insere en seconde position
^
InsertionPlusProche.java:86: warning: unmappable character for encoding UTF8
// recherche de l'endroit o? on va faire l'insertion
^
InterfaceGraphique.java:15: warning: unmappable character for encoding UTF8
int typeOptimisation=1; // 1 pour vitesse, 2 pour m?moire
^
InterfaceGraphique.java:18: warning: unmappable character for encoding UTF8
static String[] nomAlgo={"Plus Proche Voisin","Insertion Plus Proche","2-?change","Prim","L'?lastique","Le r?cuit simul?","S?paration et ?valuation"};
^
InterfaceGraphique.java:18: warning: unmappable character for encoding UTF8
static String[] nomAlgo={"Plus Proche Voisin","Insertion Plus Proche","2-?change","Prim","L'?lastique","Le r?cuit simul?","S?paration et ?valuation"};
^
Note: Main.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
100 warnings
Erreur d'execution :
--------------------
/Bureau/javafr_ALGORITHME-PROBLEME-VOYAGEUR-COMMERCE-PVC$ java Main
Exception in thread "main" java.awt.AWTError: Cannot load AWT toolkit: gnu.java.awt.peer.gtk.GtkToolkit
at java.awt.Toolkit.getDefaultToolkit(libgcj.so.81)
at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(libgcj.so.81)
at java.awt.Window.<init>(libgcj.so.81)
at java.awt.Frame.<init>(libgcj.so.81)
at javax.swing.JFrame.<init>(libgcj.so.81)
at InterfaceGraphique.<init>(InterfaceGraphique.java:63)
at Main.main(Main.java:5)
Caused by: java.lang.UnsatisfiedLinkError: libgtkpeer: libgtkpeer.so: Ne peut ouvrir le fichier d'objet partagé: Aucun fichier ou dossier de ce type
at java.lang.Runtime._load(libgcj.so.81)
at java.lang.Runtime.loadLibrary(libgcj.so.81)
at java.lang.System.loadLibrary(libgcj.so.81)
at gnu.java.awt.peer.gtk.GtkToolkit.<clinit>(libgcj.so.81)
at java.lang.Class.initializeClass(libgcj.so.81)
at java.lang.Class.forName(libgcj.so.81)
at java.awt.Toolkit.getDefaultToolkit(libgcj.so.81)
...6 more
Que faut-il faire ?
Posté le :
27/07/2008 23:38:38
Déposé sur
Jmsnmessenger java web msn messenger
Bonjour,
Je n'arrives pas à exécuter le fichier sous Linux :
Pour information, j'ai ajouté les lignes suivantes dans la variable d'environnement de la home :
contenu du .bashrc
# Variable Java 6 update 7
export JAVA_HOME=/usr/local/Java/jdk1.6.0_07
export PATH=$PATH:$JAVA_HOME/bin
Est-ce correct ?
--> Problème avec le Jar :
/Bureau/Java_Messenger/javafr_JMSNMESSENGER-JAVA-WEB-MSN-MESSENGER___Page/JMSNMessenger$ java -jar JMSNMessenger.jar
Exception in thread "main" java.awt.AWTError: Cannot load AWT toolkit: gnu.java.awt.peer.gtk.GtkToolkit
at java.awt.Toolkit.getDefaultToolkit(libgcj.so.81)
at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(libgcj.so.81)
at java.awt.Window.<init>(libgcj.so.81)
at java.awt.Frame.<init>(libgcj.so.81)
at javax.swing.JFrame.<init>(libgcj.so.81)
at com.coded.jmsn.GUIMsnLogin.instancierComponsants(GUIMsnLogin.java:82)
at com.coded.jmsn.GUIMsnLogin.<init>(GUIMsnLogin.java:76)
at com.coded.jmsn.Application.main(Application.java:43)
Caused by: java.lang.UnsatisfiedLinkError: libgtkpeer: libgtkpeer.so: Ne peut ouvrir le fichier d'objet partagé: Aucun fichier ou dossier de ce type
at java.lang.Runtime._load(libgcj.so.81)
at java.lang.Runtime.loadLibrary(libgcj.so.81)
at java.lang.System.loadLibrary(libgcj.so.81)
at gnu.java.awt.peer.gtk.GtkToolkit.<clinit>(libgcj.so.81)
at java.lang.Class.initializeClass(libgcj.so.81)
at java.lang.Class.forName(libgcj.so.81)
at java.awt.Toolkit.getDefaultToolkit(libgcj.so.81)
...7 more
Comment faire tourner ce programme sous JDK 1.6 update 7 ?
Posté le :
27/07/2008 23:18:49
Déposé sur
Jeu du cent (applet)
Bonjour,
J'ai testé le programme sous Linux, mais il plante ??
/Bureau/Jeuducent/bin/jeuducent$ java Jeuducent
java Jeuducent Exception in thread "main" java.lang.NoClassDefFoundError: loaded class Jeuducent was in fact named jeuducent.Jeuducent
at java.lang.VMClassLoader.defineClass(libgcj.so.81)
at java.lang.ClassLoader.defineClass(libgcj.so.81)
at java.security.SecureClassLoader.defineClass(libgcj.so.81)
at java.net.URLClassLoader.findClass(libgcj.so.81)
at gnu.gcj.runtime.SystemClassLoader.findClass(libgcj.so.81)
at java.lang.ClassLoader.loadClass(libgcj.so.81)
at java.lang.ClassLoader.loadClass(libgcj.so.81)
at gnu.java.lang.MainThread.run(libgcj.so.81)
Pour information, la version de Java JDK est 1.6 update 7
De ce fait, j'ai compilé les fichiers sources :
/Bureau/Jeuducent/src/jeuducent$ javac Jeuducent.java
Jeuducent.java:4: warning: unmappable character for encoding UTF8
Un jeu qui se joue avec 3 pi?ces par joueur et 3 d?s
^
Jeuducent.java:4: warning: unmappable character for encoding UTF8
Un jeu qui se joue avec 3 pi?ces par joueur et 3 d?s
^
Jeuducent.java:10: warning: unmappable character for encoding UTF8
Le joueur va lancer autant de d? qu'il a de pieces devant lui jusqu'a un maximum de 3.
^
Jeuducent.java:11: warning: unmappable character for encoding UTF8
Pour chacun des d?s :
^
Jeuducent.java:14: warning: unmappable character for encoding UTF8
Si il fait 5, il donne un jeton au joueur ? sa droite
^
Jeuducent.java:565: warning: unmappable character for encoding UTF8
Lancer.setText("Lancer les d?s");
^
6 warnings
--> Impossible d'exécuter le programme :
/Bureau/Jeuducent/src/jeuducent$ java Jeuducent
Exception in thread "main" java.lang.NoClassDefFoundError: loaded class Jeuducent was in fact named jeuducent.Jeuducent
at java.lang.VMClassLoader.defineClass(libgcj.so.81)
at java.lang.ClassLoader.defineClass(libgcj.so.81)
at java.security.SecureClassLoader.defineClass(libgcj.so.81)
at java.net.URLClassLoader.findClass(libgcj.so.81)
at gnu.gcj.runtime.SystemClassLoader.findClass(libgcj.so.81)
at java.lang.ClassLoader.loadClass(libgcj.so.81)
at java.lang.ClassLoader.loadClass(libgcj.so.81)
at gnu.java.lang.MainThread.run(libgcj.so.81)
Comment corriger ce problème ?
Posté le :
27/07/2008 23:05:27
Déposé sur
Jeux du taquin
Bonjour,
Je n'arrives pas l'utiliser sous Linux ?
-> Linux (Ubuntu & Mandriva)
Environnement Java : (contenu du .bashrc dans /home/users)
--------------------
# Variables java 1.6 update 6
export PATH=/usr/local/Java/jdk1.6.0_06/bin:.:${PATH}
Mode Console:
-------------
1) Compilation
--------------
users@ubuntu:~/Bureau/Java_Taquin$ javac Taquin.java
Taquin.java:5: warning: unmappable character for encoding UTF8
* Date cr?ation : 12 janvier 2004 *
^
Taquin.java:215: warning: unmappable character for encoding UTF8
fin.showMessageDialog(null,"Vous avez gagn? avec "+(50-nbEssaie)+" essais !!!","Bravo",JOptionPane.INFORMATION_MESSAGE);
^
Note: Taquin.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
2 warnings
2) Execution :
--------------
arnaud@ubuntu:~/Bureau/Java_Taquin$ java Taquin
Exception in thread "main" java.awt.AWTError: Cannot load AWT toolkit: gnu.java.awt.peer.gtk.GtkToolkit
at java.awt.Toolkit.getDefaultToolkit(libgcj.so.81)
at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(libgcj.so.81)
at java.awt.Window.<init>(libgcj.so.81)
at java.awt.Frame.<init>(libgcj.so.81)
at javax.swing.JFrame.<init>(libgcj.so.81)
at Taquin.<init>(Taquin.java:35)
at Taquin.main(Taquin.java:291)
Caused by: java.lang.UnsatisfiedLinkError: libgtkpeer: libgtkpeer.so: Ne peut ouvrir le fichier d'objet partagé: Aucun fichier ou dossier de ce type
at java.lang.Runtime._load(libgcj.so.81)
at java.lang.Runtime.loadLibrary(libgcj.so.81)
at java.lang.System.loadLibrary(libgcj.so.81)
at gnu.java.awt.peer.gtk.GtkToolkit.<clinit>(libgcj.so.81)
at java.lang.Class.initializeClass(libgcj.so.81)
at java.lang.Class.forName(libgcj.so.81)
at java.awt.Toolkit.getDefaultToolkit(libgcj.so.81)
...6 more
Comment d?boguer ?
Posté le :
21/05/2008 11:34:44
Déposé sur
Calculatrice standard et scientifique version beta
Bonjour,
Je l'avais développé sous Visual Basic 6, depuis il existe une nouvelle version de Visual Basic.
Comment améliorer et optimiser le programme ?
Posté le :
06/11/2007 10:33:39
Déposé sur
Abalone java
Bonjour,
Tres bon programme, mais comment réaliser le fichier exécutable JAR ?
Posté le :
16/09/2007 15:21:23
1
2
3
4
5
Nos sponsors
Derniers Blogs
SESSION SILVERLIGHT 5 3D : SLIDES ET DEMOS
SESSION SILVERLIGHT 5 3D : SLIDES ET DEMOS
par Groc
Durant les techdays, j'ai eu le plaisir d'animer une session sur Silverlight 5 et la 3D avec Simon Ferquel. Comme promis, voici nos slides et mes démos (celles avec le viper BSG) ici et là. Pour mémoire, les démos utilisent toutes le viper BSG...
Cliquez pour lire la suite de l'article
par Groc
[TECHDAYS 2012] SESSION WEBMATRIX 2 : LE COUTEAU SUISSE GRATUIT POUR VOS DéVELOPPEMENTS WEB - SLIDES
[TECHDAYS 2012] SESSION WEBMATRIX 2 : LE COUTEAU SUISSE GRATUIT POUR VOS DéVELOPPEMENTS WEB - SLIDES
par gpommier
Suite à la session que j'ai présenté sur WebMatrix 2, vous pouvez trouver les slides ici, ainsi que les démos en packages nuget : démos1 et démos2 J'en profite pour remercier chaleureusement tous ceux qui sont venus très nombreux à cette sess...
Cliquez pour lire la suite de l'article
par gpommier
[SHAREPOINT] LES SESSIONS TECHDAYS 2012.
[SHAREPOINT] LES SESSIONS TECHDAYS 2012.
par Patrick Guimonet
Voici donc pour ceux qui n'ont pas pu venir, ou ceux qui n'ont pas pu toutes les suivre la liste des sessions SharePoint aux TechDays 2012, que je mettrais à jour dès que les liens des vidéo seront disponibles. Ou ici : http...
Cliquez pour lire la suite de l'article
par Patrick Guimonet
TECHDAYS PARIS 2012 : SESSION PLEINIèRE JOUR 3
TECHDAYS PARIS 2012 : SESSION PLEINIèRE JOUR 3
par ROMELARD Fabrice
Speaker: Bernard Ourghanlian Cette session est comme chaque jour transmise en live par BrainSonic, et j'ai donc suivi cette troisième pleinière par ce moyen sur mon iPad . Elle est dédiée comme chaque année à la mise en perspective de l'é...
Cliquez pour lire la suite de l'article
par ROMELARD Fabrice
MISHRA READER : UN LECTEUR RSS TRèS ZUNE STYLE EN OPEN SOURCE !
MISHRA READER : UN LECTEUR RSS TRèS ZUNE STYLE EN OPEN SOURCE !
par Vko
Hier durant une session dédiée aux Techdays 2012, j'ai eu le plaisir d'annoncer la sortie de la Béta 2 de Mishra Reader. C'est quoi ? Pour les utilisateurs, c'est une vraie expérience de lecture de flux RSS sur Windows. Rien à voir avec les produit...
Cliquez pour lire la suite de l'article
par Vko
La suite
RSS
Côté IT
Utiliser Office 365 pour un projet d?équipe - PART 2
Utiliser Office 365 pour un projet d?équipe - PART 1
SharePoint 2007 : Installation du Service Pack 3 de MOSS
SharePoint 2007 : Installation du Service Pack 3 de WSS V3
Installation de SQL Server DENALI CTP3
Mise à jour de Windows 2003 R2 vers Windows 2008 R2
Upgrade de SQL Server 2005 vers SQL Server 2008 R2
La suite
RSS
Offres d'emploi
Recherche Recherche développeur web ASP et ASP.Net
Recherche Analyste Programmeur Adélia
Recherche Développeur eZ Publish confirmé
Recherche AP (H/F) ACCESS EXCEL VBA
Recherche SUPPORT INFORMATIQUE / DEVELOPPEUR
Recherche Developpeur web
Recherche développeur Web
Déposer une offre
La suite
RSS
Formations Video
Coffret : Ateliers sur la mode
Atelier sur la mode : Motifs et matières
Atelier sur la mode : La planche tendance
Atelier sur la mode : De retour de pige et repérage
Corel Painter 12 : Les fondamentaux
Coffret : Microsoft Office 2010 de A à Z
De Microsoft Office 2003 à 2007 et 2010
La suite
RSS
Appels d'offres
Passerelle Pericles sur site Joomla 17
Budget :
499€
Infogerance Serveur Debian Linux
Budget :
2 400€
Developpeur applications iphone - ipad - android
Budget :
800€
La suite
RSS
Logiciels
Tribler (2012)
TRIBLER (2012)
Tribler est un client pair à pair (P2P/Peer-to-Peer) open source avec la capacité de regarder des...
Cliquez pour télécharger Tribler
OneSwarm (2012)
ONESWARM (2012)
Le peer-to-peer qui protège votre vie privée, c'est OneSwarm. Ce logiciel de peer-to-peer crypté...
Cliquez pour télécharger OneSwarm
PONAMEDIA PREMIUM - HELLLOOO FLASH DEMO (V8.4)
PONAMEDIA PREMIUM - HELLLOOO FLASH DEMO (V8.4)
PONAMEDIA TV DEVIENS HELLLOOO FLASH LA TV SUR VOTRE ORDINATEUR. Toute une plateforme Multi...
Cliquez pour télécharger PONAMEDIA PREMIUM - HELLLOOO FLASH DEMO
Academy System (17.2.1.0)
ACADEMY SYSTEM (17.2.1.0)
Logiciel de gestion des établissements. - élèves/étudiants (inscription, dossier, absence...) -...
Cliquez pour télécharger Academy System
Easy-Planning (1.0.0.1)
EASY-PLANNING (1.0.0.1)
Basé sur les mêmes principes que MyPlanning, Easy-Planning permet de créer des plannings sous la ...
Cliquez pour télécharger Easy-Planning
+ de logiciels à télécharger
Vidéos drôles
Halloween Party
Terry Tate Office Linebacker Superbowl 2003
Jeu vidéo instructif
C'est un véritable vol !
Banana Song
Comment attraper la grippe A
Parodie Pub Window 7
La suite
RSS
Sondage...
Votre navigateur n'utilise pas le javascript, pour
voter aux sondages de ce site, cliquez ici
Statistiques
1 873 716
membres
10
nouveaux aujourd'hui
16 151
membres club
Comparez les prix
Apple iPhone 4 Noir (32 Go)
Entre 1290€ et 1333€
Visiter le guide achat
CalendriCode
Février
2012
L
M
M
J
V
S
D
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
Consulter la suite du CalendriCode
Photothèque
Visiter la photothèque
CS Tool Box