Forum |  HardWare.fr | News | Articles | PC | S'identifier | S'inscrire | Shop Recherche
2113 connectés 

 

Sujet(s) à lire :
    - Who's who@Programmation
 

 Mot :   Pseudo :  
  Aller à la page :
 
 Page :   1  2  3  4  5  ..  20796  20797  20798  ..  27180  27181  27182  27183  27184  27185
Auteur Sujet :

[blabla@olympe] Le topic du modo, dieu de la fibre et du monde

n°2205958
Volkhen
Posté le 08-10-2013 à 19:41:53  profilanswer
 

Reprise du message précédent :
Putain mais en fait l'autolib' c'est über cher >_<. 6€ par demi-heure en plus de l'abonnement à l'année.

 

Edit: pour comparaison, ça revient moins cher d'aller à 1h de route avec sa voiture, se garer à l'arrache et recevoir un PV.

Message cité 1 fois
Message édité par Volkhen le 08-10-2013 à 19:42:48

---------------
Main/Alt1/Alt2/Alt3
mood
Publicité
Posté le 08-10-2013 à 19:41:53  profilanswer
 

n°2205959
Plam
Bear Metal
Posté le 08-10-2013 à 19:55:22  profilanswer
 

Énigme du jour, pour vous, experts en recherche Google :o

 
Citation :


au cours de la discussion relative à la loi Taubira 2001-434 du 21 mai 2001, un député regrettait que le héros national "ne soit plus le combattant mort pour la France, mais la victime (déporté, rapatrié ou esclave). Il voyait dans ce phénomène "la fin de l'enracinement de l'idéologie nationale pour mieux cultiver celles des droits de l'homme".

 

Qui est le lutain de député en question ? :fou: Impossible de trouver la source :fou:

 

edit : bon je jette l'éponge, ça n'existe pas sur Internet. Si quelqu'un trouve, je paye une pinte de {blonde,brune,blanche}

Message cité 2 fois
Message édité par Plam le 08-10-2013 à 20:03:02

---------------
Spécialiste du bear metal
n°2205960
Taiche
(╯°□°)╯︵ ┻━┻
Posté le 08-10-2013 à 20:11:40  profilanswer
 

Volkhen a écrit :

Putain mais en fait l'autolib' c'est über cher >_<. 6€ par demi-heure en plus de l'abonnement à l'année.
 
Edit: pour comparaison, ça revient moins cher d'aller à 1h de route avec sa voiture, se garer à l'arrache et recevoir un PV.


Oui ça revient moins cher si tu fais pas entrer le prix de ta voiture (+ entretien + assurance) en ligne de compte [:petrus75]


---------------
Everyone thinks of changing the world, but no one thinks of changing himself  |  It is the peculiar quality of a fool to perceive the faults of others and to forget his own  |  Early clumsiness is not a verdict, it’s an essential ingredient.
n°2205961
Volkhen
Posté le 08-10-2013 à 20:16:27  profilanswer
 

Taiche a écrit :


Oui ça revient moins cher si tu fais pas entrer le prix de ta voiture (+ entretien + assurance) en ligne de compte [:petrus75]


Disons que lorsque tu as déjà une voiture et que l'endroit où tu dois bosser ne propose pas de parking implique le choix suivant : TEC (lol ligne 13, j'ai cru que j'allais mourir ou tuer quelqu'un ce matin), autolib' ou parcmètre.
 
La solution alliant le meilleur rapport espace personnel pendant le trajet / prix est pour moi voiture perso + parcmètre. J'imagine que n'étant pas le seul dans ce cas, le succès de l'autolib' uniquement chez ceux qui n'ont pas de voiture s'explique. C'est con qu'au final ça ajoute des véhicules sur la route en virant des places de parking au lieu du but original qui était de diminuer le nombre de véhicules personnels en transit.


---------------
Main/Alt1/Alt2/Alt3
n°2205962
R3g
fonctionnaire certifié ITIL
Posté le 08-10-2013 à 20:17:06  profilanswer
 

Plam a écrit :

Énigme du jour, pour vous, experts en recherche Google :o

 
Citation :


au cours de la discussion relative à la loi Taubira 2001-434 du 21 mai 2001, un député regrettait que le héros national "ne soit plus le combattant mort pour la France, mais la victime (déporté, rapatrié ou esclave). Il voyait dans ce phénomène "la fin de l'enracinement de l'idéologie nationale pour mieux cultiver celles des droits de l'homme".

 

Qui est le lutain de député en question ? :fou: Impossible de trouver la source :fou:

 

edit : bon je jette l'éponge, ça n'existe pas sur Internet. Si quelqu'un trouve, je paye une pinte de {blonde,brune,blanche}


Normalement les minutes des débats sont sur le site de l'assemblée...


---------------
Au royaume des sourds, les borgnes sont sourds.
n°2205963
Plam
Bear Metal
Posté le 08-10-2013 à 20:17:47  profilanswer
 

R3g a écrit :


Normalement les minutes des débats sont sur le site de l'assemblée...


 
J'ai fait une recherche spécifiquement dessus, je suspecte la citation de ne pas être exacte, puisque je ne trouve rien.


---------------
Spécialiste du bear metal
n°2205971
Dion
Acceuil
Posté le 08-10-2013 à 20:40:41  profilanswer
 

___alt a écrit :

Bon, si vous deviez acheter un (Dion-proof edit) aspirateur Dyson, vous prendriez quoi ? :o


N'empêche que l'AM05 est top :o


---------------
It is not called show art
n°2205976
masklinn
í dag viðrar vel til loftárása
Posté le 08-10-2013 à 20:56:13  profilanswer
 

Plam a écrit :

Énigme du jour, pour vous, experts en recherche Google :o
 

Citation :


au cours de la discussion relative à la loi Taubira 2001-434 du 21 mai 2001, un député regrettait que le héros national "ne soit plus le combattant mort pour la France, mais la victime (déporté, rapatrié ou esclave). Il voyait dans ce phénomène "la fin de l'enracinement de l'idéologie nationale pour mieux cultiver celles des droits de l'homme".


 
Qui est le lutain de député en question ? :fou: Impossible de trouver la source :fou:
 
edit : bon je jette l'éponge, ça n'existe pas sur Internet. Si quelqu'un trouve, je paye une pinte de {blonde,brune,blanche}


Sur les deux séances de discussion publique (18 Février 1999 et 6 Avril 2000), je trouve rien, même en cherchait juste des mots de la citation. Pareil sur les comptes rendus des commissions.


---------------
I mean, true, a cancer will probably destroy its host organism. But what about the cells whose mutations allow them to think outside the box by throwing away the limits imposed by overbearing genetic regulations? Isn't that a good thing?
n°2205977
Jubijub
Parce que je le VD bien
Posté le 08-10-2013 à 21:03:05  profilanswer
 

___alt a écrit :

Bon, si vous deviez acheter un (Dion-proof edit) aspirateur Dyson, vous prendriez quoi ? :o


 
j'ai eu un dyson, je l'ai revendu direct : aucune puissance, même sur du parquet...
en plus le bac est merdique à vider genre dans une poubelle sous l'évier (le bac est volumineux, si la poubelle dépasse pas c'est la merde), j'en foutais partout...
 
j'ai pris un Miele, qui est super bien : grosse puissance, pratique (le sac se remplit pas si vite en fait)...il a tout un jeu de brosse pour coussins, etc...


---------------
Jubi Photos : Flickr - 500px
n°2205978
Profil sup​primé
Posté le 08-10-2013 à 21:08:06  answer
 

Allé les verts.  [:cend]

mood
Publicité
Posté le 08-10-2013 à 21:08:06  profilanswer
 

n°2205981
masklinn
í dag viðrar vel til loftárása
Posté le 08-10-2013 à 21:25:37  profilanswer
 

Citation :

Universum is incredible in the most literal sense of that word: actually challenging credulity. Aside from some freelanced modelling, all the work on pro-looking FPS/MOBA/RTS hybrid is being done by one man, Cyril Megem.


OK, sûrement un truc avec 3 pixels qui se battent en duel [:bakk37]

 

http://www.kickstarter.com/project [...] -one-space
 [:bakk66]

Message cité 3 fois
Message édité par masklinn le 08-10-2013 à 21:29:02

---------------
I mean, true, a cancer will probably destroy its host organism. But what about the cells whose mutations allow them to think outside the box by throwing away the limits imposed by overbearing genetic regulations? Isn't that a good thing?
n°2205982
Plam
Bear Metal
Posté le 08-10-2013 à 21:32:05  profilanswer
 

masklinn a écrit :


Sur les deux séances de discussion publique (18 Février 1999 et 6 Avril 2000), je trouve rien, même en cherchait juste des mots de la citation. Pareil sur les comptes rendus des commissions.


 
J'en suis arrivé à la même conclusion. Merci pour le coup de main :jap:


---------------
Spécialiste du bear metal
n°2205984
uriel
blood pt.2
Posté le 08-10-2013 à 21:36:26  profilanswer
 

Jubijub a écrit :


 
j'ai eu un dyson, je l'ai revendu direct : aucune puissance, même sur du parquet...
en plus le bac est merdique à vider genre dans une poubelle sous l'évier (le bac est volumineux, si la poubelle dépasse pas c'est la merde), j'en foutais partout...


:??: tu l'as achete chez un serbo-roumain ton aspirateur? le bac est clairement pas juste a retourner mais c'est quand meme super simple je trouve :D


---------------
IVG en france
n°2205985
el muchach​o
Comfortably Numb
Posté le 08-10-2013 à 21:41:34  profilanswer
 

Plam a écrit :


C'était un troll sur Java et ses piles d'exceptions à n'en plus finir :o
 
Ceci dit, je m'attendais à plus de stabilité sur Jenkins, ça fait deux mois que c'est la galère à chaque upgrade...


Toi t'as pas vu les erreurs de compile dans les templates C++ :o


---------------
Les aéroports où il fait bon attendre, voila un topic qu'il est bien
n°2205986
Plam
Bear Metal
Posté le 08-10-2013 à 21:42:31  profilanswer
 

el muchacho a écrit :


Toi t'as pas vu les erreurs de compile dans les templates C++ :o


 
Ça fait bien longtemps que j'ai pas fait de C++, donc oui c'est possible :o


---------------
Spécialiste du bear metal
n°2205994
koskoz
They see me trollin they hatin
Posté le 08-10-2013 à 22:13:50  profilanswer
 

masklinn a écrit :

Citation :

Universum is incredible in the most literal sense of that word: actually challenging credulity. Aside from some freelanced modelling, all the work on pro-looking FPS/MOBA/RTS hybrid is being done by one man, Cyril Megem.


OK, sûrement un truc avec 3 pixels qui se battent en duel [:bakk37]  
 
http://www.kickstarter.com/project [...] -one-space
 [:bakk66]


 
Ce travail :ouch:


---------------
Twitter
n°2205995
ratibus
Posté le 08-10-2013 à 22:24:54  profilanswer
 

___alt a écrit :

Bon, si vous deviez acheter un (Dion-proof edit) aspirateur Dyson, vous prendriez quoi ? :o


J'ai ça : Dyson Ball DC 37 Origin

___alt a écrit :

uriel> En fait le truc c'est qu'ils ont whatmille références et je sais pas trop faire le tri entre toutes.
Genre dans leur description, c'est tous des awesome aspirateurs of awesomeness mais en gros c'est quoi qui les différencie ? (hors modèles pour animaux)


En gros le nombre ça change le corps de l'aspi et le suffixe ça joue sur les accessoires fournis en standard (de mémoire).

n°2205996
___alt
Posté le 08-10-2013 à 22:36:04  profilanswer
 

Et sinon, quel SSD vraiment pas cher pour revivre un peu un netbook ?


---------------
TRIPS RIGHT BUNCH F SHUTTLE TOM AND JERRY RIGHT YELLOW
n°2205997
Jubijub
Parce que je le VD bien
Posté le 08-10-2013 à 22:57:52  profilanswer
 

uriel a écrit :


:??: tu l'as achete chez un serbo-roumain ton aspirateur? le bac est clairement pas juste a retourner mais c'est quand meme super simple je trouve :D


 
MediaMarkt  [:spamafote]


---------------
Jubi Photos : Flickr - 500px
n°2205998
el muchach​o
Comfortably Numb
Posté le 08-10-2013 à 23:01:56  profilanswer
 

masklinn a écrit :

Citation :

Universum is incredible in the most literal sense of that word: actually challenging credulity. Aside from some freelanced modelling, all the work on pro-looking FPS/MOBA/RTS hybrid is being done by one man, Cyril Megem.


OK, sûrement un truc avec 3 pixels qui se battent en duel [:bakk37]

 

http://www.kickstarter.com/project [...] -one-space
 [:bakk66]

 

WTFFFFFFF ??? Le truc est fait par un seul gars ????

 

Art, graphiques, modélisation, programmation, musique, tout ça par UN SEUL MEC ?????


Message édité par el muchacho le 08-10-2013 à 23:04:08

---------------
Les aéroports où il fait bon attendre, voila un topic qu'il est bien
n°2205999
beel1
Posté le 08-10-2013 à 23:34:34  profilanswer
 

http://boutique.orange.fr/publicationASN/vf/tel_maison/n-1/bannieres/740x196_pack_bienvenue.jpg
 
p'tin ça fait des mois que c'est comme ça, apparemment ça dérange personne... [:fing fang fung]

n°2206001
uriel
blood pt.2
Posté le 09-10-2013 à 00:07:48  profilanswer
 
n°2206004
Shinuza
This is unexecpected
Posté le 09-10-2013 à 00:51:42  profilanswer
 

Blackyell a écrit :

Putain, perdre une main au Texas Hold'em avec A A A K Q :fou: :fou: :fou:

Elle est un peu limitée ta main pourtant, si t'as rien après le flop faut pas faire le fou si y'a de la force en face [:spamafote]


---------------
Mains power can kill, and it will hurt the entire time you’re dying from it.
n°2206006
XaTriX
Posté le 09-10-2013 à 06:24:41  profilanswer
 

[:drapo]

 

Je me pose une question en passant : ça existe des ghosts d'install clean de Windows avec VC++ 2012 et SDK, headers, libs, tout ça configuré et ready to compile pour win32/x64 ?
C'est un d'un chiant de mettre ça en place :o
Ah j'peux me faire des vms tiens.. Qui fait ça :??:

 

XaT


Message édité par XaTriX le 09-10-2013 à 06:28:04

---------------
Proxytaf ? non rien
n°2206008
el_barbone
too old for this shit ...
Posté le 09-10-2013 à 08:31:30  profilanswer
 

[:zytra] salut les gros.


---------------
En théorie, la théorie et la pratique sont identiques, en pratique, non.
n°2206010
koskoz
They see me trollin they hatin
Posté le 09-10-2013 à 09:02:45  profilanswer
 

J'ai débuté GTA IV (oui, je suis à la bourre) et ça me gave déjà. Entre le jeu qui met une plombe à se lancer tout ça pour charger une popup de connexion à leur social club, pour ensuite avoir 30sec de vidéo où l'on voit le logo rockstar pour finalement arriver sur un jeu qui n'est pas fluide tout à fond en 1680 sur ma config (il commence à dater maintenant, et j'ai pas l'impression d'avoir une config si pourrie que ça) où tu dois pousser la luminosité et les contraste à fond [:natas] [:natas] [:natas]


---------------
Twitter
n°2206011
lorill
Posté le 09-10-2013 à 09:08:40  profilanswer
 

Volkhen a écrit :


Disons que lorsque tu as déjà une voiture et que l'endroit où tu dois bosser ne propose pas de parking implique le choix suivant : TEC (lol ligne 13, j'ai cru que j'allais mourir ou tuer quelqu'un ce matin), autolib' ou parcmètre.
 
La solution alliant le meilleur rapport espace personnel pendant le trajet / prix est pour moi voiture perso + parcmètre. J'imagine que n'étant pas le seul dans ce cas, le succès de l'autolib' uniquement chez ceux qui n'ont pas de voiture s'explique. C'est con qu'au final ça ajoute des véhicules sur la route en virant des places de parking au lieu du but original qui était de diminuer le nombre de véhicules personnels en transit.


t'as pas de vélo ?

n°2206012
XaTriX
Posté le 09-10-2013 à 09:11:27  profilanswer
 

koskoz a écrit :

J'ai débuté GTA IV (oui, je suis à la bourre) et ça me gave déjà. Entre le jeu qui met une plombe à se lancer tout ça pour charger une popup de connexion à leur social club, pour ensuite avoir 30sec de vidéo où l'on voit le logo rockstar pour finalement arriver sur un jeu qui n'est pas fluide tout à fond en 1680 sur ma config (il commence à dater maintenant, et j'ai pas l'impression d'avoir une config si pourrie que ça) où tu dois pousser la luminosité et les contraste à fond [:natas] [:natas] [:natas]


Pas normal, ça devrait tourner au poil sur ta config, tu peux même moder et améliorer grandement les graphismes :o
 
XaT


---------------
Proxytaf ? non rien
n°2206013
Blackyell
$question = $to_be || !$to_be;
Posté le 09-10-2013 à 09:22:29  profilanswer
 

Shinuza a écrit :

Elle est un peu limitée ta main pourtant, si t'as rien après le flop faut pas faire le fou si y'a de la force en face [:spamafote]

 

Oué je me suis planté, ma main c'était A A A K K

 

J'ai démarré avec une paire d'As, un As et un Roi sont sortis dans le Flop, un 10 dans le Turn et la dame dans la River, et fallait que l'enculé d'en face ait un J Q :o

 

Enfin bref, du coup j'étais énervé, alors je suis parti à la chasse buter quelques cerfs et dragon Komodo :whistle:

Message cité 3 fois
Message édité par Blackyell le 09-10-2013 à 09:22:51
n°2206016
drasche
Posté le 09-10-2013 à 09:58:09  profilanswer
 

koskoz a écrit :

J'ai débuté GTA IV (oui, je suis à la bourre) et ça me gave déjà. Entre le jeu qui met une plombe à se lancer tout ça pour charger une popup de connexion à leur social club, pour ensuite avoir 30sec de vidéo où l'on voit le logo rockstar pour finalement arriver sur un jeu qui n'est pas fluide tout à fond en 1680 sur ma config (il commence à dater maintenant, et j'ai pas l'impression d'avoir une config si pourrie que ça) où tu dois pousser la luminosité et les contraste à fond [:natas] [:natas] [:natas]


Avec ta config "fixe"? Comment tu fais? Même ma config précédente à base de Core i5 première génération et une HD 5770 le faisait tourner au poil :o

Message cité 1 fois
Message édité par drasche le 09-10-2013 à 09:58:46

---------------
Whichever format the fan may want to listen is fine with us – vinyl, wax cylinders, shellac, 8-track, iPod, cloud storage, cranial implants – just as long as it’s loud and rockin' (Billy Gibbons, ZZ Top)
n°2206017
masklinn
í dag viðrar vel til loftárása
Posté le 09-10-2013 à 10:04:45  profilanswer
 

koskoz a écrit :

J'ai débuté GTA IV (oui, je suis à la bourre) et ça me gave déjà. Entre le jeu qui met une plombe à se lancer tout ça pour charger une popup de connexion à leur social club, pour ensuite avoir 30sec de vidéo où l'on voit le logo rockstar pour finalement arriver sur un jeu qui n'est pas fluide tout à fond en 1680 sur ma config (il commence à dater maintenant, et j'ai pas l'impression d'avoir une config si pourrie que ça) où tu dois pousser la luminosité et les contraste à fond [:natas] [:natas] [:natas]


Pour les vidéos toussa, regardes si tu peux pas fixer ça en éditant la config :o
 
Dans Xcom t'as 4 vidéos d'intro pas skippables, mais tu peux les dégager dans le fichier de conf et arriver directement au jeu.


---------------
I mean, true, a cancer will probably destroy its host organism. But what about the cells whose mutations allow them to think outside the box by throwing away the limits imposed by overbearing genetic regulations? Isn't that a good thing?
n°2206018
Taiche
(╯°□°)╯︵ ┻━┻
Posté le 09-10-2013 à 10:15:36  profilanswer
 

masklinn a écrit :


Pour les vidéos toussa, regardes si tu peux pas fixer ça en éditant la config :o
 
Dans Xcom t'as 4 vidéos d'intro pas skippables, mais tu peux les dégager dans le fichier de conf et arriver directement au jeu.


http://pcgamingwiki.com/wiki/Grand [...] ion_movies [:aloy]


---------------
Everyone thinks of changing the world, but no one thinks of changing himself  |  It is the peculiar quality of a fool to perceive the faults of others and to forget his own  |  Early clumsiness is not a verdict, it’s an essential ingredient.
n°2206019
Xavier_OM
Monarchiste régicide (fr quoi)
Posté le 09-10-2013 à 10:22:05  profilanswer
 

Plam a écrit :


 
Ça fait bien longtemps que j'ai pas fait de C++, donc oui c'est possible :o


 

Code :
  1. #include <string>
  2. #include <iostream>
  3. struct Student {
  4. std::string surname;
  5. std::string givenname;
  6. }
  7. std::ostream& operator<<(std::ostream& out, Student const& s) {
  8.   return out << "{" << s.surname << ", " << s.givenname << "}";
  9. }
  10. int main() {
  11.   Student me = { "Doe", "John" };
  12.   std::cout << me << "\n";
  13. }


 

prog.cpp:9: error: expected initializer before ‘&’ token
prog.cpp: In function ‘int main()’:
prog.cpp:15: error: no match for ‘operator<<’ in ‘std::cout << me’
/usr/lib/gcc/i686-pc-linux-gnu/4.3.4/include/g++-v4/ostream:112: note: candidates are: std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::operator<<(std::basic_ostream<_CharT, _Traits>& (*)(std::basic_ostream<_CharT, _Traits>& )) [with _CharT = char, _Traits = std::char_traits<char>]
/usr/lib/gcc/i686-pc-linux-gnu/4.3.4/include/g++-v4/ostream:121: note:                 std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::operator<<(std::basic_ios<_CharT, _Traits>& (*)(std::basic_ios<_CharT, _Traits>& )) [with _CharT = char, _Traits = std::char_traits<char>]
/usr/lib/gcc/i686-pc-linux-gnu/4.3.4/include/g++-v4/ostream:131: note:                 std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::operator<<(std::ios_base& (*)(std::ios_base& )) [with _CharT = char, _Traits = std::char_traits<char>]
/usr/lib/gcc/i686-pc-linux-gnu/4.3.4/include/g++-v4/ostream:169: note:                 std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::operator<<(long int) [with _CharT = char, _Traits = std::char_traits<char>]
/usr/lib/gcc/i686-pc-linux-gnu/4.3.4/include/g++-v4/ostream:173: note:                 std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::operator<<(long unsigned int) [with _CharT = char, _Traits = std::char_traits<char>]
/usr/lib/gcc/i686-pc-linux-gnu/4.3.4/include/g++-v4/ostream:177: note:                 std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::operator<<(bool) [with _CharT = char, _Traits = std::char_traits<char>]
/usr/lib/gcc/i686-pc-linux-gnu/4.3.4/include/g++-v4/bits/ostream.tcc:97: note:                 std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::operator<<(short int) [with _CharT = char, _Traits = std::char_traits<char>]
/usr/lib/gcc/i686-pc-linux-gnu/4.3.4/include/g++-v4/ostream:184: note:                 std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::operator<<(short unsigned int) [with _CharT = char, _Traits = std::char_traits<char>]
/usr/lib/gcc/i686-pc-linux-gnu/4.3.4/include/g++-v4/bits/ostream.tcc:111: note:                 std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::operator<<(int) [with _CharT = char, _Traits = std::char_traits<char>]
/usr/lib/gcc/i686-pc-linux-gnu/4.3.4/include/g++-v4/ostream:195: note:                 std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::operator<<(unsigned int) [with _CharT = char, _Traits = std::char_traits<char>]
/usr/lib/gcc/i686-pc-linux-gnu/4.3.4/include/g++-v4/ostream:204: note:                 std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::operator<<(long long int) [with _CharT = char, _Traits = std::char_traits<char>]
/usr/lib/gcc/i686-pc-linux-gnu/4.3.4/include/g++-v4/ostream:208: note:                 std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::operator<<(long long unsigned int) [with _CharT = char, _Traits = std::char_traits<char>]
/usr/lib/gcc/i686-pc-linux-gnu/4.3.4/include/g++-v4/ostream:213: note:                 std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::operator<<(double) [with _CharT = char, _Traits = std::char_traits<char>]
/usr/lib/gcc/i686-pc-linux-gnu/4.3.4/include/g++-v4/ostream:217: note:                 std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::operator<<(float) [with _CharT = char, _Traits = std::char_traits<char>]
/usr/lib/gcc/i686-pc-linux-gnu/4.3.4/include/g++-v4/ostream:225: note:                 std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::operator<<(long double) [with _CharT = char, _Traits = std::char_traits<char>]
/usr/lib/gcc/i686-pc-linux-gnu/4.3.4/include/g++-v4/ostream:229: note:                 std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::operator<<(const void*) [with _CharT = char, _Traits = std::char_traits<char>]
/usr/lib/gcc/i686-pc-linux-gnu/4.3.4/include/g++-v4/bits/ostream.tcc:125: note:                 std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::operator<<(std::basic_streambuf<_CharT, _Traits>*) [with _CharT = char, _Traits = std::char_traits<char>]


 
ce qui veut dire "tiens t'as oublié le ; après la déclaration de Student"


---------------
Il y a autant d'atomes d'oxygène dans une molécule d'eau que d'étoiles dans le système solaire.
n°2206020
Plam
Bear Metal
Posté le 09-10-2013 à 10:30:02  profilanswer
 

J'ai vomi.
 
Deux fois.


---------------
Spécialiste du bear metal
n°2206021
___alt
Posté le 09-10-2013 à 10:36:11  profilanswer
 

Xavier_OM a écrit :


ce qui veut dire "tiens t'as oublié le ; après la déclaration de Student"


 
So true [:rofl]


---------------
TRIPS RIGHT BUNCH F SHUTTLE TOM AND JERRY RIGHT YELLOW
n°2206022
masklinn
í dag viðrar vel til loftárása
Posté le 09-10-2013 à 10:41:35  profilanswer
 

Xavier_OM a écrit :


 

Code :
  1. #include <string>
  2. #include <iostream>
  3. struct Student {
  4. std::string surname;
  5. std::string givenname;
  6. }
  7. std::ostream& operator<<(std::ostream& out, Student const& s) {
  8.   return out << "{" << s.surname << ", " << s.givenname << "}";
  9. }
  10. int main() {
  11.   Student me = { "Doe", "John" };
  12.   std::cout << me << "\n";
  13. }


 

prog.cpp:9: error: expected initializer before ‘&’ token
prog.cpp: In function ‘int main()’:
prog.cpp:15: error: no match for ‘operator<<’ in ‘std::cout << me’
/usr/lib/gcc/i686-pc-linux-gnu/4.3.4/include/g++-v4/ostream:112: note: candidates are: std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::operator<<(std::basic_ostream<_CharT, _Traits>& (*)(std::basic_ostream<_CharT, _Traits>& )) [with _CharT = char, _Traits = std::char_traits<char>]
/usr/lib/gcc/i686-pc-linux-gnu/4.3.4/include/g++-v4/ostream:121: note:                 std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::operator<<(std::basic_ios<_CharT, _Traits>& (*)(std::basic_ios<_CharT, _Traits>& )) [with _CharT = char, _Traits = std::char_traits<char>]
/usr/lib/gcc/i686-pc-linux-gnu/4.3.4/include/g++-v4/ostream:131: note:                 std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::operator<<(std::ios_base& (*)(std::ios_base& )) [with _CharT = char, _Traits = std::char_traits<char>]
/usr/lib/gcc/i686-pc-linux-gnu/4.3.4/include/g++-v4/ostream:169: note:                 std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::operator<<(long int) [with _CharT = char, _Traits = std::char_traits<char>]
/usr/lib/gcc/i686-pc-linux-gnu/4.3.4/include/g++-v4/ostream:173: note:                 std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::operator<<(long unsigned int) [with _CharT = char, _Traits = std::char_traits<char>]
/usr/lib/gcc/i686-pc-linux-gnu/4.3.4/include/g++-v4/ostream:177: note:                 std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::operator<<(bool) [with _CharT = char, _Traits = std::char_traits<char>]
/usr/lib/gcc/i686-pc-linux-gnu/4.3.4/include/g++-v4/bits/ostream.tcc:97: note:                 std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::operator<<(short int) [with _CharT = char, _Traits = std::char_traits<char>]
/usr/lib/gcc/i686-pc-linux-gnu/4.3.4/include/g++-v4/ostream:184: note:                 std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::operator<<(short unsigned int) [with _CharT = char, _Traits = std::char_traits<char>]
/usr/lib/gcc/i686-pc-linux-gnu/4.3.4/include/g++-v4/bits/ostream.tcc:111: note:                 std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::operator<<(int) [with _CharT = char, _Traits = std::char_traits<char>]
/usr/lib/gcc/i686-pc-linux-gnu/4.3.4/include/g++-v4/ostream:195: note:                 std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::operator<<(unsigned int) [with _CharT = char, _Traits = std::char_traits<char>]
/usr/lib/gcc/i686-pc-linux-gnu/4.3.4/include/g++-v4/ostream:204: note:                 std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::operator<<(long long int) [with _CharT = char, _Traits = std::char_traits<char>]
/usr/lib/gcc/i686-pc-linux-gnu/4.3.4/include/g++-v4/ostream:208: note:                 std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::operator<<(long long unsigned int) [with _CharT = char, _Traits = std::char_traits<char>]
/usr/lib/gcc/i686-pc-linux-gnu/4.3.4/include/g++-v4/ostream:213: note:                 std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::operator<<(double) [with _CharT = char, _Traits = std::char_traits<char>]
/usr/lib/gcc/i686-pc-linux-gnu/4.3.4/include/g++-v4/ostream:217: note:                 std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::operator<<(float) [with _CharT = char, _Traits = std::char_traits<char>]
/usr/lib/gcc/i686-pc-linux-gnu/4.3.4/include/g++-v4/ostream:225: note:                 std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::operator<<(long double) [with _CharT = char, _Traits = std::char_traits<char>]
/usr/lib/gcc/i686-pc-linux-gnu/4.3.4/include/g++-v4/ostream:229: note:                 std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::operator<<(const void*) [with _CharT = char, _Traits = std::char_traits<char>]
/usr/lib/gcc/i686-pc-linux-gnu/4.3.4/include/g++-v4/bits/ostream.tcc:125: note:                 std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::operator<<(std::basic_streambuf<_CharT, _Traits>*) [with _CharT = char, _Traits = std::char_traits<char>]


 
ce qui veut dire "tiens t'as oublié le ; après la déclaration de Student"


C'est une vieille version de g++ ça,  à cause de Clang ils ont amélioré les messages d'erreur depuis :o
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

test.cpp:7:13: error: expected initializer before '&' token
 std::ostream& operator<<(std::ostream& out, Student const& s) {
             ^
test.cpp: In function 'int main()':
test.cpp:12:13: error: no match for 'operator<<' (operand types are 'std::ostream {aka std::basic_ostream<char>}' and 'Student')
   std::cout << me << "\n";
             ^
test.cpp:12:13: note: candidates are:
In file included from /opt/local/include/gcc48/c++/iostream:39:0,
                 from test.cpp:2:
/opt/local/include/gcc48/c++/ostream:108:7: note: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(std::basic_ostream<_CharT, _Traits>::__ostream_type& (*)(std::basic_ostream<_CharT, _Traits>::__ostream_type& )) [with _CharT = char; _Traits = std::char_traits<char>; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<char>]
       operator<<(__ostream_type& (*__pf)(__ostream_type& ))
       ^
/opt/local/include/gcc48/c++/ostream:108:7: note:   no known conversion for argument 1 from 'Student' to 'std::basic_ostream<char>::__ostream_type& (*)(std::basic_ostream<char>::__ostream_type& ) {aka std::basic_ostream<char>& (*)(std::basic_ostream<char>& )}'
/opt/local/include/gcc48/c++/ostream:117:7: note: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(std::basic_ostream<_CharT, _Traits>::__ios_type& (*)(std::basic_ostream<_CharT, _Traits>::__ios_type& )) [with _CharT = char; _Traits = std::char_traits<char>; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<char>; std::basic_ostream<_CharT, _Traits>::__ios_type = std::basic_ios<char>]
       operator<<(__ios_type& (*__pf)(__ios_type& ))
       ^
/opt/local/include/gcc48/c++/ostream:117:7: note:   no known conversion for argument 1 from 'Student' to 'std::basic_ostream<char>::__ios_type& (*)(std::basic_ostream<char>::__ios_type& ) {aka std::basic_ios<char>& (*)(std::basic_ios<char>& )}'
/opt/local/include/gcc48/c++/ostream:127:7: note: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(std::ios_base& (*)(std::ios_base& )) [with _CharT = char; _Traits = std::char_traits<char>; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<char>]
       operator<<(ios_base& (*__pf) (ios_base& ))
       ^
/opt/local/include/gcc48/c++/ostream:127:7: note:   no known conversion for argument 1 from 'Student' to 'std::ios_base& (*)(std::ios_base& )'
/opt/local/include/gcc48/c++/ostream:166:7: note: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(long int) [with _CharT = char; _Traits = std::char_traits<char>; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<char>]
       operator<<(long __n)
       ^
/opt/local/include/gcc48/c++/ostream:166:7: note:   no known conversion for argument 1 from 'Student' to 'long int'
/opt/local/include/gcc48/c++/ostream:170:7: note: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(long unsigned int) [with _CharT = char; _Traits = std::char_traits<char>; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<char>]
       operator<<(unsigned long __n)
       ^
/opt/local/include/gcc48/c++/ostream:170:7: note:   no known conversion for argument 1 from 'Student' to 'long unsigned int'
/opt/local/include/gcc48/c++/ostream:174:7: note: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(bool) [with _CharT = char; _Traits = std::char_traits<char>; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<char>]
       operator<<(bool __n)
       ^
/opt/local/include/gcc48/c++/ostream:174:7: note:   no known conversion for argument 1 from 'Student' to 'bool'
In file included from /opt/local/include/gcc48/c++/ostream:609:0,
                 from /opt/local/include/gcc48/c++/iostream:39,
                 from test.cpp:2:
/opt/local/include/gcc48/c++/bits/ostream.tcc:91:5: note: std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::operator<<(short int) [with _CharT = char; _Traits = std::char_traits<char>]
     basic_ostream<_CharT, _Traits>::
     ^
/opt/local/include/gcc48/c++/bits/ostream.tcc:91:5: note:   no known conversion for argument 1 from 'Student' to 'short int'
In file included from /opt/local/include/gcc48/c++/iostream:39:0,
                 from test.cpp:2:
/opt/local/include/gcc48/c++/ostream:181:7: note: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(short unsigned int) [with _CharT = char; _Traits = std::char_traits<char>; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<char>]
       operator<<(unsigned short __n)
       ^
/opt/local/include/gcc48/c++/ostream:181:7: note:   no known conversion for argument 1 from 'Student' to 'short unsigned int'
In file included from /opt/local/include/gcc48/c++/ostream:609:0,
                 from /opt/local/include/gcc48/c++/iostream:39,
                 from test.cpp:2:
/opt/local/include/gcc48/c++/bits/ostream.tcc:105:5: note: std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::operator<<(int) [with _CharT = char; _Traits = std::char_traits<char>]
     basic_ostream<_CharT, _Traits>::
     ^
/opt/local/include/gcc48/c++/bits/ostream.tcc:105:5: note:   no known conversion for argument 1 from 'Student' to 'int'
In file included from /opt/local/include/gcc48/c++/iostream:39:0,
                 from test.cpp:2:
/opt/local/include/gcc48/c++/ostream:192:7: note: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(unsigned int) [with _CharT = char; _Traits = std::char_traits<char>; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<char>]
       operator<<(unsigned int __n)
       ^
/opt/local/include/gcc48/c++/ostream:192:7: note:   no known conversion for argument 1 from 'Student' to 'unsigned int'
/opt/local/include/gcc48/c++/ostream:201:7: note: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(long long int) [with _CharT = char; _Traits = std::char_traits<char>; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<char>]
       operator<<(long long __n)
       ^
/opt/local/include/gcc48/c++/ostream:201:7: note:   no known conversion for argument 1 from 'Student' to 'long long int'
/opt/local/include/gcc48/c++/ostream:205:7: note: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(long long unsigned int) [with _CharT = char; _Traits = std::char_traits<char>; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<char>]
       operator<<(unsigned long long __n)
       ^
/opt/local/include/gcc48/c++/ostream:205:7: note:   no known conversion for argument 1 from 'Student' to 'long long unsigned int'
/opt/local/include/gcc48/c++/ostream:220:7: note: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(double) [with _CharT = char; _Traits = std::char_traits<char>; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<char>]
       operator<<(double __f)
       ^
/opt/local/include/gcc48/c++/ostream:220:7: note:   no known conversion for argument 1 from 'Student' to 'double'
/opt/local/include/gcc48/c++/ostream:224:7: note: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(float) [with _CharT = char; _Traits = std::char_traits<char>; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<char>]
       operator<<(float __f)
       ^
/opt/local/include/gcc48/c++/ostream:224:7: note:   no known conversion for argument 1 from 'Student' to 'float'
/opt/local/include/gcc48/c++/ostream:232:7: note: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(long double) [with _CharT = char; _Traits = std::char_traits<char>; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<char>]
       operator<<(long double __f)
       ^
/opt/local/include/gcc48/c++/ostream:232:7: note:   no known conversion for argument 1 from 'Student' to 'long double'
/opt/local/include/gcc48/c++/ostream:245:7: note: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(const void*) [with _CharT = char; _Traits = std::char_traits<char>; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<char>]
       operator<<(const void* __p)
       ^
/opt/local/include/gcc48/c++/ostream:245:7: note:   no known conversion for argument 1 from 'Student' to 'const void*'
In file included from /opt/local/include/gcc48/c++/ostream:609:0,
                 from /opt/local/include/gcc48/c++/iostream:39,
                 from test.cpp:2:
/opt/local/include/gcc48/c++/bits/ostream.tcc:119:5: note: std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::operator<<(std::basic_ostream<_CharT, _Traits>::__streambuf_type*) [with _CharT = char; _Traits = std::char_traits<char>; std::basic_ostream<_CharT, _Traits>::__streambuf_type = std::basic_streambuf<char>]
     basic_ostream<_CharT, _Traits>::
     ^
/opt/local/include/gcc48/c++/bits/ostream.tcc:119:5: note:   no known conversion for argument 1 from 'Student' to 'std::basic_ostream<char>::__streambuf_type* {aka std::basic_streambuf<char>*}'
In file included from /opt/local/include/gcc48/c++/iostream:39:0,
                 from test.cpp:2:
/opt/local/include/gcc48/c++/ostream:548:5: note: template<class _Traits> std::basic_ostream<char, _Traits>& std::operator<<(std::basic_ostream<char, _Traits>&, const unsigned char*)
     operator<<(basic_ostream<char, _Traits>& __out, const unsigned char* __s)
     ^
/opt/local/include/gcc48/c++/ostream:548:5: note:   template argument deduction/substitution failed:
test.cpp:12:16: note:   cannot convert 'me' (type 'Student') to type 'const unsigned char*'
   std::cout << me << "\n";
                ^
In file included from /opt/local/include/gcc48/c++/iostream:39:0,
                 from test.cpp:2:
/opt/local/include/gcc48/c++/ostream:543:5: note: template<class _Traits> std::basic_ostream<char, _Traits>& std::operator<<(std::basic_ostream<char, _Traits>&, const signed char*)
     operator<<(basic_ostream<char, _Traits>& __out, const signed char* __s)
     ^
/opt/local/include/gcc48/c++/ostream:543:5: note:   template argument deduction/substitution failed:
test.cpp:12:16: note:   cannot convert 'me' (type 'Student') to type 'const signed char*'
   std::cout << me << "\n";
                ^
In file included from /opt/local/include/gcc48/c++/iostream:39:0,
                 from test.cpp:2:
/opt/local/include/gcc48/c++/ostream:530:5: note: template<class _Traits> std::basic_ostream<char, _Traits>& std::operator<<(std::basic_ostream<char, _Traits>&, const char*)
     operator<<(basic_ostream<char, _Traits>& __out, const char* __s)
     ^
/opt/local/include/gcc48/c++/ostream:530:5: note:   template argument deduction/substitution failed:
test.cpp:12:16: note:   cannot convert 'me' (type 'Student') to type 'const char*'
   std::cout << me << "\n";
                ^
In file included from /opt/local/include/gcc48/c++/ostream:609:0,
                 from /opt/local/include/gcc48/c++/iostream:39,
                 from test.cpp:2:
/opt/local/include/gcc48/c++/bits/ostream.tcc:321:5: note: template<class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const char*)
     operator<<(basic_ostream<_CharT, _Traits>& __out, const char* __s)
     ^
/opt/local/include/gcc48/c++/bits/ostream.tcc:321:5: note:   template argument deduction/substitution failed:
test.cpp:12:16: note:   cannot convert 'me' (type 'Student') to type 'const char*'
   std::cout << me << "\n";
                ^
In file included from /opt/local/include/gcc48/c++/iostream:39:0,
                 from test.cpp:2:
/opt/local/include/gcc48/c++/ostream:513:5: note: template<class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const _CharT*)
     operator<<(basic_ostream<_CharT, _Traits>& __out, const _CharT* __s)
     ^
/opt/local/include/gcc48/c++/ostream:513:5: note:   template argument deduction/substitution failed:
test.cpp:12:16: note:   mismatched types 'const _CharT*' and 'Student'
   std::cout << me << "\n";
                ^
In file included from /opt/local/include/gcc48/c++/iostream:39:0,
                 from test.cpp:2:
/opt/local/include/gcc48/c++/ostream:493:5: note: template<class _Traits> std::basic_ostream<char, _Traits>& std::operator<<(std::basic_ostream<char, _Traits>&, unsigned char)
     operator<<(basic_ostream<char, _Traits>& __out, unsigned char __c)
     ^
/opt/local/include/gcc48/c++/ostream:493:5: note:   template argument deduction/substitution failed:
test.cpp:12:16: note:   cannot convert 'me' (type 'Student') to type 'unsigned char'
   std::cout << me << "\n";
                ^
In file included from /opt/local/include/gcc48/c++/iostream:39:0,
                 from test.cpp:2:
/opt/local/include/gcc48/c++/ostream:488:5: note: template<class _Traits> std::basic_ostream<char, _Traits>& std::operator<<(std::basic_ostream<char, _Traits>&, signed char)
     operator<<(basic_ostream<char, _Traits>& __out, signed char __c)
     ^
/opt/local/include/gcc48/c++/ostream:488:5: note:   template argument deduction/substitution failed:
test.cpp:12:16: note:   cannot convert 'me' (type 'Student') to type 'signed char'
   std::cout << me << "\n";
                ^
In file included from /opt/local/include/gcc48/c++/iostream:39:0,
                 from test.cpp:2:
/opt/local/include/gcc48/c++/ostream:482:5: note: template<class _Traits> std::basic_ostream<char, _Traits>& std::operator<<(std::basic_ostream<char, _Traits>&, char)
     operator<<(basic_ostream<char, _Traits>& __out, char __c)
     ^
/opt/local/include/gcc48/c++/ostream:482:5: note:   template argument deduction/substitution failed:
test.cpp:12:16: note:   cannot convert 'me' (type 'Student') to type 'char'
   std::cout << me << "\n";
                ^
In file included from /opt/local/include/gcc48/c++/iostream:39:0,
                 from test.cpp:2:
/opt/local/include/gcc48/c++/ostream:476:5: note: template<class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, char)
     operator<<(basic_ostream<_CharT, _Traits>& __out, char __c)
     ^
/opt/local/include/gcc48/c++/ostream:476:5: note:   template argument deduction/substitution failed:
test.cpp:12:16: note:   cannot convert 'me' (type 'Student') to type 'char'
   std::cout << me << "\n";
                ^
In file included from /opt/local/include/gcc48/c++/iostream:39:0,
                 from test.cpp:2:
/opt/local/include/gcc48/c++/ostream:471:5: note: template<class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, _CharT)
     operator<<(basic_ostream<_CharT, _Traits>& __out, _CharT __c)
     ^
/opt/local/include/gcc48/c++/ostream:471:5: note:   template argument deduction/substitution failed:
test.cpp:12:16: note:   deduced conflicting types for parameter '_CharT' ('char' and 'Student')
   std::cout << me << "\n";
                ^
In file included from /opt/local/include/gcc48/c++/string:52:0,
                 from test.cpp:1:
/opt/local/include/gcc48/c++/bits/basic_string.h:2753:5: note: template<class _CharT, class _Traits, class _Alloc> std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const std::basic_string<_CharT, _Traits, _Alloc>& )
     operator<<(basic_ostream<_CharT, _Traits>& __os,
     ^
/opt/local/include/gcc48/c++/bits/basic_string.h:2753:5: note:   template argument deduction/substitution failed:
test.cpp:12:16: note:   'Student' is not derived from 'const std::basic_string<_CharT, _Traits, _Alloc>'
   std::cout << me << "\n";
                ^


 [:kolombin]


Message édité par masklinn le 09-10-2013 à 10:42:41

---------------
I mean, true, a cancer will probably destroy its host organism. But what about the cells whose mutations allow them to think outside the box by throwing away the limits imposed by overbearing genetic regulations? Isn't that a good thing?
n°2206023
Xavier_OM
Monarchiste régicide (fr quoi)
Posté le 09-10-2013 à 10:44:11  profilanswer
 

:love: je me mets à jour de suite


---------------
Il y a autant d'atomes d'oxygène dans une molécule d'eau que d'étoiles dans le système solaire.
n°2206024
Taiche
(╯°□°)╯︵ ┻━┻
Posté le 09-10-2013 à 10:46:00  profilanswer
 

Putain la caricature [:rofl]


---------------
Everyone thinks of changing the world, but no one thinks of changing himself  |  It is the peculiar quality of a fool to perceive the faults of others and to forget his own  |  Early clumsiness is not a verdict, it’s an essential ingredient.
n°2206025
sligor
Posté le 09-10-2013 à 10:50:38  profilanswer
 

utilisez un vrai compilo merde  :fou:  
 

clang++ ~/test.cpp  
/home/sligor/test.cpp:9:6: error: redefinition of 'ostream' as different kind of symbol
std::ostream& operator<<(std::ostream& out, Student const& s) {
     ^
/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../../include/c++/4.7/iosfwd:137:33: note: previous definition is here
  typedef basic_ostream<char>           ostream;
                                        ^
/home/sligor/test.cpp:9:13: error: expected ';' after top level declarator
std::ostream& operator<<(std::ostream& out, Student const& s) {
            ^
            ;
2 errors generated.

n°2206026
kadreg
profil: Utilisateur
Posté le 09-10-2013 à 10:54:05  profilanswer
 

personnellement gcc de faire du C++ :o


---------------
brisez les rêves des gens, il en restera toujours quelque chose...  -- laissez moi troller sur discu !
n°2206027
flo850
moi je
Posté le 09-10-2013 à 10:56:17  profilanswer
 

kadreg a écrit :

personnellement gcc de faire du C++ :o


 [:skyx%40v]


---------------

mood
Publicité
Posté le   profilanswer
 

 Page :   1  2  3  4  5  ..  20796  20797  20798  ..  27180  27181  27182  27183  27184  27185

Aller à :
Ajouter une réponse
 

Sujets relatifs
Plus de sujets relatifs à : [blabla@olympe] Le topic du modo, dieu de la fibre et du monde


Copyright © 1997-2025 Groupe LDLC (Signaler un contenu illicite / Données personnelles)