fifou:~$ gcc -Wall test.c
test.c:1:22: erreur: blabla.h : Aucun fichier ou répertoire de ce type
test.c:10: attention : return type defaults to «int"
test.c: In function «main":
test.c:13: attention : implicit declaration of function «printf"
test.c:13: attention : incompatible implicit declaration of built-in function «printf"
test.c:13: erreur: «BANDE" undeclared (first use in this function)
test.c:13: erreur: (Each undeclared identifier is reported only once
test.c:13: erreur: for each function it appears in.)
test.c:13: erreur: expected «)" before «DE"
test.c: In function «carre":
test.c:30: attention : déclaration sasn effet
test.c:30: erreur: expected «;" before «return"
test.c:31: attention : control reaches end of non-void function
for (idx_Spec = 0; idx_Spec < nb_Spec; idx_Spec++)
{
int LgAid;
if ((ctx->CurOp.Card.TailleAIDTerm[0] & 0xff) == 0xff)
LgAid = (int)ctx->CurOp.Card.TailleAID[0];
else
LgAid = (int)ctx->CurOp.Card.TailleAIDTerm[0];
memset(&puTEmv->Union.Spec_emv, 0x00 , sizeof (puTEmv->Union.Spec_emv) );
/* Lire la donnee */
_GetValueFromDisk(&puTEmv->Union.Spec_emv ,puTEmv->szBuf, pointeur.SpecEmv + 3 + idx_Spec * sizeof(puTEmv->Union.Spec_emv), sizeof(puTEmv->Union.Spec_emv));
/* if (memcmp(puTEmv->Union.Spec_emv.D838_AID, ctx->CurOp.Card.RidEmv ,NATOI(puTEmv->Union.Spec_emv.lgAID,2)) == 0) */
/*il faut utilise la longueur de l aid du terminal qui nous a permis de choisisr l AID de la transaction 23/01/03 */
if (memcmp(puTEmv->Union.Spec_emv.D838_AID, ctx->CurOp.Card.RidEmv ,LgAid) == 0)
{
memcpy(Donnees, puTEmv->Union.Spec_emv.Lg_Donnees,1);
memcpy(Donnees + 1, puTEmv->Union.Spec_emv.Donnees,puTEmv->Union.Spec_emv.Lg_Donnees[0]);
break;
}
}
t'es nul, j'avais commencé un casse brique sur MO6 a l'epoque ca roulaize nickel, la raquette, la balle, le rebond .... apres quand il a fallut rajouter des briques qui tombent j'ai capitulé par contre :D
bon j'avais un peu 13 ans aussi :D
aujourd'hui tu capitulerais aussi :o
KeyserSoze
Moi 10, et finalement j'ai fait un bac L je crois qu'il y a un lien :D
Moi j'ai fait du BASIC sur amstrad :) marchait jamais [:keysersoze:28]
t'es nul, j'avais commencé un casse brique sur MO6 a l'epoque ca roulaize nickel, la raquette, la balle, le rebond .... apres quand il a fallut rajouter des briques qui tombent j'ai capitulé par contre :D
bon j'avais un peu 13 ans aussi :D
Neoryuki
Code :
#include <stdio.h>
#include <stdlib.h>
#include <conio.h>
#include <alloc.h>
#include <string.h>
#include <mem.h>
#include <dos.h>
#define MAXI 38400
union REGS regs ;
struct SREGS sregs ;
unsignedchar huge *Plan_0 ;
unsignedchar huge *Plan_1 ;
unsignedchar huge *Plan_2 ;
unsignedchar huge *Plan_3 ;
void Mode_640x480()
{
regs.x.ax = 0x00 ;
regs.h.al = 0x12 ;
int86x(0x10,®s,®s,®s) ;
}
void Mode_Texte()
{
regs.x.ax = 0x00 ;
regs.h.al = 0x03 ;
int86x(0x10,®s,®s,®s) ;
}
void Mettre_pixel()
{
int i ;
//int couleur ;
for(i=0;i<5000;i++)
{
regs.h.ah = 0x0C ;
regs.x.dx = random(480) ;
regs.x.cx = random(640) ;
regs.h.al = random(15+1) ;
int86x(0x10,®s,®s,®s) ;
}
}
void place_haute()
{
printf("Memoire libre dans le tas externe\n" ) ;
printf("au segment de donnees : %lu octets\n",(unsignedlong)farcoreleft()) ;
}
void place_basse()
{
printf("Memoire libre dans le tas interne\n" ) ;
printf("au segment de donnees : %lu octets\n",(unsignedlong)coreleft()) ;
fifou:~$ gcc -Wall test.c
test.c:1:22: erreur: blabla.h : Aucun fichier ou répertoire de ce type
test.c:10: attention : return type defaults to «int"
test.c: In function «main":
test.c:13: attention : implicit declaration of function «printf"
test.c:13: attention : incompatible implicit declaration of built-in function «printf"
test.c:13: erreur: «BANDE" undeclared (first use in this function)
test.c:13: erreur: (Each undeclared identifier is reported only once
test.c:13: erreur: for each function it appears in.)
test.c:13: erreur: expected «)" before «DE"
test.c: In function «carre":
test.c:30: attention : déclaration sasn effet
test.c:30: erreur: expected «;" before «return"
test.c:31: attention : control reaches end of non-void function
15 000 000 € la librairie blabla :p
KeyserSoze
Moi j'ai fait du BASIC sur amstrad :) marchait jamais [:keysersoze:28]
fifou3101
ça compile pas!
Edit :
Spoiler :
fifou:~$ gcc -Wall test.c
test.c:1:22: erreur: blabla.h : Aucun fichier ou répertoire de ce type
test.c:10: attention : return type defaults to «int"
test.c: In function «main":
test.c:13: attention : implicit declaration of function «printf"
test.c:13: attention : incompatible implicit declaration of built-in function «printf"
test.c:13: erreur: «BANDE" undeclared (first use in this function)
test.c:13: erreur: (Each undeclared identifier is reported only once
test.c:13: erreur: for each function it appears in.)
test.c:13: erreur: expected «)" before «DE"
test.c: In function «carre":
test.c:30: attention : déclaration sasn effet
test.c:30: erreur: expected «;" before «return"
test.c:31: attention : control reaches end of non-void function
MickeyNox
putain ça remonte a loin
#include <blabla.h>
#define DEBUT -10
#define FIN 10
#define MSG "SALUT LES COPAINS \n"
int carre(int x);
int cube(int x);
main()
{
int i;
printf(BANDE DE GLANDS);
for ( i = DEBUT; i <= FIN ; i++ )
{
printf("%d carré: %d cube: %d\n", i
, carre(i)
, cube(i) );
}
return 0;
}
int blabla(int x) {
return x * blabla(x);
}
int carre(int x) { -10
return x * x;
}
c'est nul ton jeu pire que moi en C [:une porte qui claque]
drouvre
Je commence :o vous reprenez la suite en ajoutant des ligne, on verra si ça compile :D