La Bombe !

Pour tout ce qui ne touche ni à Rayman, ni à la communauté.
DesLife
Foutch
Posts: 19946
Joined: Sat Jun 12, 2004 12:42 pm
Tings: 186263

Re: La Bombe !

Post by DesLife »

2873 ! :proud:
LoveMetal
André
Posts: 15108
Joined: Fri Oct 09, 2009 6:11 pm
Tings: 225055

Re: La Bombe !

Post by LoveMetal »

Code: Select all

number++;
number++;
PluMGMK
Annetta Fish
Posts: 40517
Joined: Fri Jul 31, 2009 9:00 pm
Location: https://www.youtube.com/watch?v=cErgMJSgpv0
Contact:
Tings: 136651

Re: La Bombe !

Post by PluMGMK »

Code: Select all

number++;
:D
Rayray1994
Lamasticot
Posts: 7182
Joined: Tue Sep 25, 2007 12:41 pm
Location: 43°4018N;03°6966E
Contact:
Tings: 78952

Re: La Bombe !

Post by Rayray1994 »

ans+1.
LoveMetal
André
Posts: 15108
Joined: Fri Oct 09, 2009 6:11 pm
Tings: 225055

Re: La Bombe !

Post by LoveMetal »

PluMGMK wrote:

Code: Select all

number++;
:D
Ah, content de voir que je ne suis pas le seul ! :D

Code: Select all

number =+ 2
PluMGMK
Annetta Fish
Posts: 40517
Joined: Fri Jul 31, 2009 9:00 pm
Location: https://www.youtube.com/watch?v=cErgMJSgpv0
Contact:
Tings: 136651

Re: La Bombe !

Post by PluMGMK »

Code: Select all

number++
DesLife
Foutch
Posts: 19946
Joined: Sat Jun 12, 2004 12:42 pm
Tings: 186263

Re: La Bombe !

Post by DesLife »

2879 !
PluMGMK
Annetta Fish
Posts: 40517
Joined: Fri Jul 31, 2009 9:00 pm
Location: https://www.youtube.com/watch?v=cErgMJSgpv0
Contact:
Tings: 136651

Re: La Bombe !

Post by PluMGMK »

Code: Select all

number=+2
LoveMetal
André
Posts: 15108
Joined: Fri Oct 09, 2009 6:11 pm
Tings: 225055

Re: La Bombe !

Post by LoveMetal »

main.c :

Code: Select all

#include "main.h"

int main()
{
     double number = 2880;
     double *pointeurNumber = &number;
     incrementation(&number, 0);
}

void incrementation(double *pointeurNumber, int NombreDeMessagesSansNumber)
{
     for(NombreDeMessagesSansNumber; NombreDeMessagesSansNumber == 0; NombreDeMessagesSansNumber--)
     {
          pointeurNumber++;
     }
pointeurNumber++;
}
main.h :

Code: Select all

#ifndef DEF_MAIN
#define DEF_MAIN

void incrementation(double *pointeurNumber, int NombreDeMessagesSansNumber);

#endif
Et maintenant, on a plus qu'à faire incrementation(number, messagessansnumber); à chaque post ! Ceux qui veulent encore plus améliorer ce programme sont les bienvenus ^^
Last edited by LoveMetal on Sun Feb 13, 2011 3:23 pm, edited 1 time in total.
DesLife
Foutch
Posts: 19946
Joined: Sat Jun 12, 2004 12:42 pm
Tings: 186263

Re: La Bombe !

Post by DesLife »

2882 yeah palindrome !
LoveMetal
André
Posts: 15108
Joined: Fri Oct 09, 2009 6:11 pm
Tings: 225055

Re: La Bombe !

Post by LoveMetal »

Pourquoi personne n'utilise pas fonction ? :(

Code: Select all

incrementation(&number, 1);
Itooh
Carmen
Posts: 3057
Joined: Fri Mar 20, 2009 8:33 pm
Location: Perdu, quelque part dans le Grand Raccourci... >< Help !
Tings: 41812

Re: La Bombe !

Post by Itooh »

LOVΣ_MΞTΛL wrote:Pourquoi personne n'utilise pas fonction ? :(
<troll>
Ils utilisent le français ! :p
</troll>

Mais sinon je suis d'accord, au bout de 2884 posts, les gens devraient comprendre que les machines sont plus pratiques pour compter... :p

Code: Select all

incrementation(&number, 1);
LoveMetal
André
Posts: 15108
Joined: Fri Oct 09, 2009 6:11 pm
Tings: 225055

Re: La Bombe !

Post by LoveMetal »

FanBoo wrote:

Code: Select all

incrementation(&number, 1);
Halte-là, malheureux ! C'était

Code: Select all

incrementation(&number, 0);
pour toi ! Et oui faut lire les fonctions pour savoir à quoi elles servent quand même :P.
Bon ben t'as compté pour moi, alors :

Code: Select all

number
:mrgreen:
Rayray1994
Lamasticot
Posts: 7182
Joined: Tue Sep 25, 2007 12:41 pm
Location: 43°4018N;03°6966E
Contact:
Tings: 78952

Re: La Bombe !

Post by Rayray1994 »

Du coup on en est à 2886 ou 2887?
LoveMetal
André
Posts: 15108
Joined: Fri Oct 09, 2009 6:11 pm
Tings: 225055

Re: La Bombe !

Post by LoveMetal »

On en est à

Code: Select all

incrementation(&number, 0);
Tenderz
Mechanical Dragon
Posts: 2170
Joined: Sat Jul 03, 2010 4:35 pm
Location: Unknown
Contact:
Tings: 26977

Re: La Bombe !

Post by Tenderz »

Code: Select all

mov eax,2888
add eax,1
:P
LoveMetal
André
Posts: 15108
Joined: Fri Oct 09, 2009 6:11 pm
Tings: 225055

Re: La Bombe !

Post by LoveMetal »

Ça serait bien que les membres indiquent dans quel langage ils écrivent.
incrementation(&number, 1);
DesLife
Foutch
Posts: 19946
Joined: Sat Jun 12, 2004 12:42 pm
Tings: 186263

Re: La Bombe !

Post by DesLife »

number:=number+1;
LoveMetal
André
Posts: 15108
Joined: Fri Oct 09, 2009 6:11 pm
Tings: 225055

Re: La Bombe !

Post by LoveMetal »

Des variables multi-langage, comme c'est intéressant :P

Code: Select all

incrementation(&number, 0);
DesLife
Foutch
Posts: 19946
Joined: Sat Jun 12, 2004 12:42 pm
Tings: 186263

Re: La Bombe !

Post by DesLife »

2893.
Post Reply