Accueil > > > DETECTION DES ERREURS PAR LES CODES POLYNOMIAUX
DETECTION DES ERREURS PAR LES CODES POLYNOMIAUX
Information sur la source
Description
compiler par borland (dos) c'est t'un tp sur la detection d'erreurs a l'aide de la division polynomial baser sur le Schéma électronique d'un diviseur polynomial Procédé : o (i) les registres ri sont mis à zéros o (ii) les bits du mot à diviser sont insérés en entrée (k étapes), bits de poids fort en tête. o (iii) les registres ri contiennent alors le reste, qu'on extrait (n-k étapes). De nombreuses optimisations sont possibles : o Lorsque gi=0 on supprime simplement la connexion et la porte ET ! o phase spécifique d'initialisation je laisse une image du Schéma électronique ansi l 'exe (ex_)
Source
- #include<stdio.h>
- #include<stdlib.h>
- #include<conio.h>
- #include<iostream.h>
- #include<dos.h>
- /////////////////////////////////////////////////////////
- void sup(int j,int *t,int &n)
- {
- for(int i=j;i<n;i++) t[i]=t[i+1];
- n--;
- }
- /////////////////////////////////////////////////////////
- void ajout(int j,int *t,int &n,int k)
- {
- for(int i=n-1;i>=j;i--) t[i+1]=t[i];
- t[j]=k;
- n++;
- }
- /////////////////////////////////////////////////////////
- void mossica()
- { for (int i=0;i<2000;i+=400){sound(i);delay(50);nosound();}}
- //////////////////////////////////////////////////////////
- void msg_error(char *msg)
- {
- gotoxy(10,2);mossica();
- highvideo();cprintf("%s ",msg);
-
- }
- /////////////////////////////////////////////////////////
- void clean()
- {
- gotoxy(10,2);
- highvideo();
- cprintf(" ");
-
- }
- ////////////////////////////////////////////////////////////
- class poly_gene
- {
- private: int *g,ng;
- public:
- poly_gene(){g=new int [28];ng=0;}
- void principal_g();
- int *getg();
- int getng();
- };
- int *poly_gene::getg(){return g;}
- int poly_gene::getng(){return ng;}
- void poly_gene::principal_g()
- {
- char s;
- int r=1;int pos=0;//ng max28
- gotoxy(2+ng,19);
- while(r)
- {
- s=getch();int t=(int)s;
-
- if(s=='1'){{if(ng<27){gotoxy(2+pos,19);putchar(s);ajout(pos++,g,ng,1);
- gotoxy(2,19);puts(" ");
- gotoxy(2,19);for(int i=0;i<ng;i++)cout<<g[i];
- clean();msg_error("ok->");gotoxy(2+pos,19);}
- }}
- if(s=='0'){{if(ng<27){gotoxy(2+pos,19);putchar(s);ajout(pos++,g,ng,0);
- gotoxy(2,19);puts(" ");
- gotoxy(2,19);for(int i=0;i<ng;i++)cout<<g[i];
- clean();msg_error("ok->");
- gotoxy(2+pos,19);
- } }}
- if(s==8){{ if(pos>0){sup(pos-1,g,ng);
- gotoxy(2,19);puts(" ");
- gotoxy(2,19);for(int i=0;i<ng;i++)cout<<g[i];
- gotoxy(2+--pos,19);}}}
- if(t==0){ t=getch();
- if(t==75){if(pos>0)gotoxy(1+pos--,19);}//deplacement gauche
- if(t==77){if(pos<27&&pos<ng)gotoxy(3+pos++,19);}
- }
- if(s==13){{
- if(g[0]&&g[ng-1]&&ng>1)
- {clean();msg_error("validation ok->");r=0;gotoxy(2+pos,19);}
- else{clean();msg_error("le polynome doit commencer et finir avec 1");
- gotoxy(2+pos,19);}
- }}
-
-
- }
- }
- //////////////////////////////////////////////////////////////////////////
- class trame
- {
- private: int *t,nt;
- public: trame(){t=new int [56];nt=0;}
- void t_princip();
- int *gett();
- int getnt();
- };
- int *trame::gett(){return t;}
- int trame::getnt(){return nt;}
- void trame::t_princip()
- {
- char s;
- int r=1;int pos=0;//nt max81
- gotoxy(2+nt,23);
- while(r)
- {
- s=getch();int l=(int)s;
- if(s=='1'){if(nt<27){
- gotoxy(2+pos,23);putchar(s);ajout(pos++,t,nt,1);
- gotoxy(2,23);puts(" ");
- gotoxy(2,23);for(int i=0;i<nt;i++)cout<<t[i];
- clean();msg_error("ok->");
- gotoxy(2+pos,23);}
- }
- if(s=='0'){if(nt<27){gotoxy(2+pos,23);putchar(s);ajout(pos++,t,nt,0);
- gotoxy(2,23);puts(" ");
- gotoxy(2,23);for(int i=0;i<nt;i++)cout<<t[i];
- clean();msg_error("ok->");
- gotoxy(2+pos,23);
-
- } }
- if(s==8){ if(pos>0){sup(pos-1,t,nt);
- gotoxy(2,23);puts(" ");
- gotoxy(2,23);for(int i=0;i<nt;i++)cout<<t[i];
- gotoxy(2+--pos,23);} }
- if(l==0){l=getch();
- if(l==75){if(pos>0)gotoxy(1+pos--,23);}//deplacement gauche
- if(l==77){if(pos<27&&pos<nt)gotoxy(3+pos++,23);}//deplacement droit
- }
- if(s==13){if(nt>1){clean();msg_error("ok->");r=0;gotoxy(2+pos,23);}
- else{clean();msg_error("au mois deg 2");r=1;gotoxy(2+pos,23);}}
-
- }
-
- }
- ////////////////////////////////////////////////////////////////////
- void f_dep()
- {
- textcolor(GREEN);
- gotoxy(1,2);mossica();cprintf("Messages:");
- gotoxy(1,14);highvideo();cprintf("ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ»\n\r");
- gotoxy(1,15);cprintf("º station du depart º\n\r");
- gotoxy(1,16);cprintf("ÌÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÊÍÍÍÍÍÍ»\n\r");
- gotoxy(1,17);cprintf("º polynome genarateur º\n\r");
- gotoxy(1,18);cprintf("ÌÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ͹\n\r");
- gotoxy(1,19);cprintf("º º\n\r");
- gotoxy(1,20);cprintf("ÌÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ͹\n\r");
- gotoxy(1,21);cprintf("º trame emise º\n\r");
- gotoxy(1,22);cprintf("ÌÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ͹\n\r");
- gotoxy(1,23);cprintf("º º\n\r");
- gotoxy(1,24);cprintf("ÈÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍͼ\n\r");
- }
- ////////////////////////////////////////////////////////////////////////
- void f_arr()
- {
- gotoxy(50,14); highvideo();
- cprintf(" ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ»\n\r");
- gotoxy(50,15); cprintf(" º station d'arriv‚e º\n\r");
- gotoxy(50,16); cprintf("ÉÍÍÍÍÍÍÊÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ͹\n\r");
- gotoxy(50,17); cprintf("º polynome genarateur º\n\r");
- gotoxy(50,18); cprintf("ÌÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ͹\n\r");
- gotoxy(50,19); cprintf("º º\n\r");
- gotoxy(50,20); cprintf("ÌÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ͹\n\r");
- gotoxy(50,21); cprintf("º trame recue º\n\r");
- gotoxy(50,22); cprintf("ÌÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ͹\n\r");
- gotoxy(50,23); cprintf("º º\n\r");
- gotoxy(50,24); cprintf("ÈÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍͼ");
- }
- ////////////////////////////////////////////////////////////////////////
- void dep_sd()
- {
- for(int i=0;i<7;i++)
- {gotoxy(1,14+i);highvideo();cprintf(" \n\r");
- gotoxy(1,14+i);cprintf("ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ»\n\r");
- gotoxy(1,15+i);cprintf("º station du depart º\n\r");
- gotoxy(1,16+i);cprintf("ÌÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÊÍÍÍÍÍÍ»\n\r");
- delay(100);}
- for(i=0;i<7;i++){gotoxy(1,13+i);puts(" ");delay(100);}
- gotoxy(25,21);puts(" ");
- gotoxy(1,2);
- cprintf(" ");
- }
- /////////////////////////////////////////////////////////////////////////
- int xor(int a,int b)
- {
- return a!=b;
- }
- /////////////////////////////////////////////////////////////////////////
- void send_1()
- {
- int x=3,y=24;
- for(int i=0;i<10;i++)
- {
- gotoxy(x,y-3);textcolor(GREEN);highvideo();
- cprintf("ÉÍÍÍÍÍÍÍÍÍÍÍ»");
- gotoxy(x,y-2);
- cprintf("º");cprintf("sending msg");cprintf("º");
- gotoxy(x,y-1);
- cprintf("ÈÍÍÍÍÍÍÍÍÍÍͼ");
- delay(100);
- gotoxy(x,y-3);
- cprintf("ÉÍÍÍÍÍÍÍÍÍÍÍ»");
- gotoxy(x,y-2);
- cprintf("º º");
- gotoxy(x,y-1);
- cprintf("ÈÍÍÍÍÍÍÍÍÍÍͼ");
- x++;y--;
- }
- for(i=0;i<10;i++)
- {
- gotoxy(x,y-3);textcolor(GREEN);highvideo();
- cprintf("ÉÍÍÍÍÍÍÍÍÍÍÍ»");
- gotoxy(x,y-2);
- cprintf("ºsending msgº");
- gotoxy(x,y-1);
- cprintf("ÈÍÍÍÍÍÍÍÍÍÍͼ");
- delay(100);
- gotoxy(x,y-3);
- cprintf("ÉÍÍÍÍÍÍÍÍÍÍÍ»");
- gotoxy(x,y-2);
- cprintf("º º");
- gotoxy(x,y-1);
- cprintf("ÈÍÍÍÍÍÍÍÍÍÍͼ");
- x+=2 ;y--;
- }
- gotoxy(32,3);cprintf(" >le msg<");
- }
- /////////////////////////////////////////////////////////
- void eff_1()
- {
- int x=3,y=24;
- gotoxy(1,22);cprintf(" ");
- gotoxy(1,23);cprintf(" ");
- gotoxy(1,24);cprintf(" ");
- for(int i=0;i<10;i++)
- {
- gotoxy(x,y-3);textcolor(GREEN);highvideo();
- cprintf(" ");
- gotoxy(x,y-2);cprintf(" ");
- gotoxy(x,y-1);cprintf(" ");
- delay(100);
- x++;y--;
- }
- for(i=0;i<7;i++)
- {
- gotoxy(x,y-3);textcolor(GREEN);highvideo();
- cprintf(" ");
- gotoxy(x,y-2);cprintf(" ");
- gotoxy(x,y-1);cprintf(" ");
- delay(100);
- x+=2 ;y--;
- }
- gotoxy(18,3);cprintf(" ");
- gotoxy(18,4);cprintf(" ");
- gotoxy(18,5);cprintf(" ");
- gotoxy(27,5);cprintf(" ");
- gotoxy(27,6);cprintf(" ");
-
- }
- ///////////////
- void send_2()
- {
- int x=33,y=4;
- for(int i=1;i<10;i++)
- {
- gotoxy(x,y-3);textcolor(GREEN);highvideo();
- cprintf("ÉÍÍÍÍÍÍÍÍÍÍÍ»");
- gotoxy(x,y-2);
- cprintf("ºsending msgº");
- gotoxy(x,y-1);
- cprintf("ÈÍÍÍÍÍÍÍÍÍÍͼ");
- delay(100);
- gotoxy(x,y-3);
- cprintf("ÉÍÍÍÍÍÍÍÍÍÍÍ»");
- gotoxy(x,y-2);
- cprintf("º º");
- gotoxy(x,y-1);
- cprintf("ÈÍÍÍÍÍÍÍÍÍÍͼ");
- x+=2 ;y++;
- }
- for(i=0;i<13;i++)
- {
-
- gotoxy(x,y-3);textcolor(GREEN);highvideo();
- cprintf("ÉÍÍÍÍÍÍÍÍÍÍÍ»");
- gotoxy(x,y-2);
- cprintf("ºsending msgº");
- gotoxy(x,y-1);
- cprintf("ÈÍÍÍÍÍÍÍÍÍÍͼ");
- delay(100);
- gotoxy(x,y-3);
- cprintf("ÉÍÍÍÍÍÍÍÍÍÍÍ»");
- gotoxy(x,y-2);
- cprintf("º º");
- gotoxy(x,y-1);
- cprintf("ÈÍÍÍÍÍÍÍÍÍÍͼ");
- y++;x++;
- }
- gotoxy(x,y-3);textcolor(GREEN);highvideo();
- cprintf("ÉÍÍÍÍÍÍÍÍÍÍÍ»");
- gotoxy(x,y-2);
- cprintf("º msg recu º");
- gotoxy(x,y-1);
- cprintf("ÈÍÍÍÍÍÍÍÍÍÍͼ");
-
- }
- /////////////////////////
- void eff_2()
- { int x=33,y=4;
- for(int i=1;i<10;i++)
- {
- gotoxy(x,y-3);textcolor(GREEN);highvideo();
- cprintf(" ");
- gotoxy(x,y-2);
- cprintf(" ");
- gotoxy(x,y-1);
- cprintf(" ");
- delay(100);
- x+=2 ;y++;
- }
- for(i=0;i<13;i++)
- {
-
- gotoxy(x,y-3);textcolor(GREEN);highvideo();
- cprintf(" ");
- gotoxy(x,y-2);
- cprintf(" ");
- gotoxy(x,y-1);
- cprintf(" ");
- delay(100);
- y++;x++;
- }
- gotoxy(x,y-3);textcolor(GREEN);highvideo();
- cprintf(" ");
- gotoxy(x,y-2);
- cprintf(" ");
- gotoxy(x,y-1);
- cprintf(" ");}
-
- /////////////////////////////////////////////////////////////////////////
- //////////////////////////////////////////////////////////////////////////
- /////////////////////////////////////////////////////////////////////////
- void main()
- {
- ohi: clrscr();
- f_dep();
- //////////////////////////////////////////////////////////
- poly_gene PG;
- PG.principal_g();
- /////////////////////////////////////////////////////////
- trame T;
- T.t_princip();
- ///////////////////////////////////////////////////////////
- int *t_;t_=new int [28];t_=T.gett();
- int *g_;g_=new int [28];g_=PG.getg();
- int nt_=T.getnt();
- int ng_=PG.getng();
-
- int matrix[48][28];
- for(int i=0;i<nt_+ng_;i++)
- for(int j=0;j<ng_;j++)
- matrix[i][j]=0;
-
- for(i=0;i<nt_;i++) matrix[i+1][ng_-1]=t_[i];
- for( i=0;i<ng_-1;i++) matrix[1][i]=matrix[1][i+1];
- for(int k=1;k<nt_+ng_-1;k++)
- {
- for(int j=ng_-1;j>=0;j--)
- {
- if(!matrix[k][0])
- { for(int i=0;i<ng_-2;i++) matrix[k+1][i]=matrix[k][i+1];
- matrix[k+1][ng_-2]=matrix[k+1][ng_-1];
- }
-
- else
- {
- if(j==ng_-1){ matrix[k+1][ng_-2]=xor(matrix[k+1][ng_-1],1);}
- else
- {
- if(g_[j])
- matrix[k+1][j-1]=xor(matrix[k][j],1);
-
- else
- matrix[k+1][j-1]=matrix[k][j];
- }
- }
- }
- }
- dep_sd();
- if(ng_+nt_<20)
- {
- gotoxy(18,1);textcolor(GREEN);
- highvideo();
- cprintf("<simulation du traittement matriciel>\n");
- char al[27]={'a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t','u','v','w','x','y','z','#'};
- gotoxy(30,2);
- for(i=0;i<ng_-1;i++) cprintf("º%c",al[i]);cprintf("º");
-
- for(i=0;i<nt_+ng_;i++)
- {gotoxy(30,3+i);
- for(int j=0;j<ng_;j++) {cprintf("º%d",matrix[i][j]);}
- cprintf("º");
- }
- for(int j=nt_+ng_+ng_;j<24;j++)
- { gotoxy(30,j);
- for(i=0;i<ng_-1;i++) cprintf(" %d",matrix[nt_+ng_-1][i]);
- delay(100);
- }
- cprintf("\n");
- for(j=(nt_+ng_+ng_);j<23;j++)
- {
- for(i=0;i<ng_-1;i++) {gotoxy(30,j);cprintf(" "); }
- delay(100);
- }
-
- for(i=30;i>1+nt_;i--)
- {gotoxy(i,23);
- for(int j=0;j<ng_-1;j++)cprintf("%d",matrix[nt_+ng_-1][j]);
- delay(100);gotoxy(i+ng_-1,23);cprintf(" ");
- }
- clrscr();
- for(i=0;i<PG.getng()-1;i++) t_[i+nt_]=matrix[ng_+nt_-1][i];
- gotoxy(1,20);cprintf("ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ»\n\r");
- gotoxy(1,21);cprintf("º station du depart º\n\r");
- gotoxy(1,22);cprintf("ÌÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÊÍÍÍÍÍÍ»\n\r");
- gotoxy(1,23);cprintf("º º\n\r");
- gotoxy(1,24);cprintf("ÈÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍͼ");
- gotoxy(2,23);for(i=0;i<nt_+ng_-1;i++) cprintf("%d",t_[i]);
- for(i=0;i<3;i++)
- {gotoxy(1,i+20);cprintf("ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ»\n\r");
- delay(100);gotoxy(1,i+19);cprintf(" ");
- }
- for(int k=0;k<20;k++)
- { gotoxy(30-k,20);cprintf(" ");
- gotoxy(30-k,21);cprintf(" \n\r");
- gotoxy(30-k,22);cprintf("»\n\r");
- gotoxy(30-k,23);cprintf("º\n\r");
- gotoxy(30-k,24);cprintf("¼\n\r");
- delay(100);
- gotoxy(31-k,20);cprintf(" ");
- gotoxy(31-k,21);cprintf(" ");
- gotoxy(31-k,22);cprintf(" ");
- gotoxy(31-k,23);cprintf(" ");
- gotoxy(31-k,24);cprintf(" ");
- }
- send_1();eff_1();
- gotoxy(21,10);cprintf("voullez vous intercepter le message Y/N");
- char s;
- s=getch();
- if(s=='Y'||s=='y'){
- clrscr();gotoxy(28,2);cprintf("interception du message");
- gotoxy(28,20);cprintf("ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ»\n\r");
- gotoxy(28,21);cprintf("º Interception du msg º\n\r");
- gotoxy(28,22);cprintf("ÌÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÊÍÍÍÍÍÍ»\n\r");
- gotoxy(28,23);cprintf("º º\n\r");
- gotoxy(28,24);cprintf("ÈÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍͼ");
- int r=1;int pos=0;gotoxy(29+pos,23);
- for(int i=0;i<nt_+ng_-1;i++) cprintf("%d",t_[i]);gotoxy(29+pos,23);
- while(r)
- {
- s=getch();int t=(int)s;
- if(s=='1'){gotoxy(29+pos,23);putchar(s);t_[pos]=1;
- gotoxy(29,23);puts(" ");
- gotoxy(29,23);for(int i=0;i<nt_+ng_-1;i++)cout<<t_[i];
- clean();msg_error("ok->");
- gotoxy(29+pos,23);
- }
- if(s=='0'){gotoxy(29+pos,23);putchar(s);t_[pos]=0;
- gotoxy(29,23);puts(" ");
- gotoxy(29,23);for(int i=0;i<nt_+ng_-1;i++)cout<<t_[i];
- clean();msg_error("ok->");
- gotoxy(29+pos,23);
- }
- if(t==0){t=getch();
- if(t==75)
- {if(pos>1)gotoxy(27+pos--,23);}//deplacement gauche
- if(t==77){if(pos<nt_+ng_-2)gotoxy(30+pos++,23);}
- }//deplacement droit
- if(s==13){clean();msg_error("ok->");r=0;gotoxy(29+pos,23);}
-
-
- }
- }
-
- clrscr();send_2();eff_2();f_arr();
- gotoxy(51,19);for(i=0;i<ng_;i++) cprintf("%d",g_[i]);
- gotoxy(51,23);for(i=0;i<nt_+ng_-1;i++) cprintf("%d",t_[i]);
- for(int i=0;i<nt_+ng_;i++)
- for(int j=0;j<ng_;j++)
- matrix[i][j]=0;
-
- for(i=0;i<nt_+ng_-1;i++) matrix[i+1][ng_-1]=t_[i];
- for( i=0;i<ng_-1;i++) matrix[1][i]=matrix[1][i+1];
- for(k=1;k<nt_+ng_-1;k++)
- {
- for(int j=ng_-1;j>=0;j--)
- {
- if(!matrix[k][0])
- { for(int i=0;i<ng_-2;i++) matrix[k+1][i]=matrix[k][i+1];
- matrix[k+1][ng_-2]=matrix[k+1][ng_-1];
- }
-
- else
- {
- if(j==ng_-1){ matrix[k+1][ng_-2]=xor(matrix[k+1][ng_-1],1);}
- else
- {
- if(g_[j])
- matrix[k+1][j-1]=xor(matrix[k][j],1);
-
- else
- matrix[k+1][j-1]=matrix[k][j];
- }
- }
- }
- }
- for(i=0;(i<ng_-1)&&(!matrix[nt_+ng_-1][i]);i++);
-
- if(i!=ng_-1) { gotoxy(18,12);cprintf("message mal transmit");}
- else{ gotoxy(18,12);cprintf("message bien recu");}
- }
- else{clean();msg_error("memoire insufisante simulation impossible");}
- gotoxy(18,14);cprintf("voullez vous continuer Y/N");
- char s;
- s=getch();
- if(s=='Y'||s=='y') goto ohi;
-
-
- }
#include<stdio.h>
#include<stdlib.h>
#include<conio.h>
#include<iostream.h>
#include<dos.h>
/////////////////////////////////////////////////////////
void sup(int j,int *t,int &n)
{
for(int i=j;i<n;i++) t[i]=t[i+1];
n--;
}
/////////////////////////////////////////////////////////
void ajout(int j,int *t,int &n,int k)
{
for(int i=n-1;i>=j;i--) t[i+1]=t[i];
t[j]=k;
n++;
}
/////////////////////////////////////////////////////////
void mossica()
{ for (int i=0;i<2000;i+=400){sound(i);delay(50);nosound();}}
//////////////////////////////////////////////////////////
void msg_error(char *msg)
{
gotoxy(10,2);mossica();
highvideo();cprintf("%s ",msg);
}
/////////////////////////////////////////////////////////
void clean()
{
gotoxy(10,2);
highvideo();
cprintf(" ");
}
////////////////////////////////////////////////////////////
class poly_gene
{
private: int *g,ng;
public:
poly_gene(){g=new int [28];ng=0;}
void principal_g();
int *getg();
int getng();
};
int *poly_gene::getg(){return g;}
int poly_gene::getng(){return ng;}
void poly_gene::principal_g()
{
char s;
int r=1;int pos=0;//ng max28
gotoxy(2+ng,19);
while(r)
{
s=getch();int t=(int)s;
if(s=='1'){{if(ng<27){gotoxy(2+pos,19);putchar(s);ajout(pos++,g,ng,1);
gotoxy(2,19);puts(" ");
gotoxy(2,19);for(int i=0;i<ng;i++)cout<<g[i];
clean();msg_error("ok->");gotoxy(2+pos,19);}
}}
if(s=='0'){{if(ng<27){gotoxy(2+pos,19);putchar(s);ajout(pos++,g,ng,0);
gotoxy(2,19);puts(" ");
gotoxy(2,19);for(int i=0;i<ng;i++)cout<<g[i];
clean();msg_error("ok->");
gotoxy(2+pos,19);
} }}
if(s==8){{ if(pos>0){sup(pos-1,g,ng);
gotoxy(2,19);puts(" ");
gotoxy(2,19);for(int i=0;i<ng;i++)cout<<g[i];
gotoxy(2+--pos,19);}}}
if(t==0){ t=getch();
if(t==75){if(pos>0)gotoxy(1+pos--,19);}//deplacement gauche
if(t==77){if(pos<27&&pos<ng)gotoxy(3+pos++,19);}
}
if(s==13){{
if(g[0]&&g[ng-1]&&ng>1)
{clean();msg_error("validation ok->");r=0;gotoxy(2+pos,19);}
else{clean();msg_error("le polynome doit commencer et finir avec 1");
gotoxy(2+pos,19);}
}}
}
}
//////////////////////////////////////////////////////////////////////////
class trame
{
private: int *t,nt;
public: trame(){t=new int [56];nt=0;}
void t_princip();
int *gett();
int getnt();
};
int *trame::gett(){return t;}
int trame::getnt(){return nt;}
void trame::t_princip()
{
char s;
int r=1;int pos=0;//nt max81
gotoxy(2+nt,23);
while(r)
{
s=getch();int l=(int)s;
if(s=='1'){if(nt<27){
gotoxy(2+pos,23);putchar(s);ajout(pos++,t,nt,1);
gotoxy(2,23);puts(" ");
gotoxy(2,23);for(int i=0;i<nt;i++)cout<<t[i];
clean();msg_error("ok->");
gotoxy(2+pos,23);}
}
if(s=='0'){if(nt<27){gotoxy(2+pos,23);putchar(s);ajout(pos++,t,nt,0);
gotoxy(2,23);puts(" ");
gotoxy(2,23);for(int i=0;i<nt;i++)cout<<t[i];
clean();msg_error("ok->");
gotoxy(2+pos,23);
} }
if(s==8){ if(pos>0){sup(pos-1,t,nt);
gotoxy(2,23);puts(" ");
gotoxy(2,23);for(int i=0;i<nt;i++)cout<<t[i];
gotoxy(2+--pos,23);} }
if(l==0){l=getch();
if(l==75){if(pos>0)gotoxy(1+pos--,23);}//deplacement gauche
if(l==77){if(pos<27&&pos<nt)gotoxy(3+pos++,23);}//deplacement droit
}
if(s==13){if(nt>1){clean();msg_error("ok->");r=0;gotoxy(2+pos,23);}
else{clean();msg_error("au mois deg 2");r=1;gotoxy(2+pos,23);}}
}
}
////////////////////////////////////////////////////////////////////
void f_dep()
{
textcolor(GREEN);
gotoxy(1,2);mossica();cprintf("Messages:");
gotoxy(1,14);highvideo();cprintf("ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ»\n\r");
gotoxy(1,15);cprintf("º station du depart º\n\r");
gotoxy(1,16);cprintf("ÌÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÊÍÍÍÍÍÍ»\n\r");
gotoxy(1,17);cprintf("º polynome genarateur º\n\r");
gotoxy(1,18);cprintf("ÌÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ͹\n\r");
gotoxy(1,19);cprintf("º º\n\r");
gotoxy(1,20);cprintf("ÌÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ͹\n\r");
gotoxy(1,21);cprintf("º trame emise º\n\r");
gotoxy(1,22);cprintf("ÌÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ͹\n\r");
gotoxy(1,23);cprintf("º º\n\r");
gotoxy(1,24);cprintf("ÈÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍͼ\n\r");
}
////////////////////////////////////////////////////////////////////////
void f_arr()
{
gotoxy(50,14); highvideo();
cprintf(" ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ»\n\r");
gotoxy(50,15); cprintf(" º station d'arriv‚e º\n\r");
gotoxy(50,16); cprintf("ÉÍÍÍÍÍÍÊÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ͹\n\r");
gotoxy(50,17); cprintf("º polynome genarateur º\n\r");
gotoxy(50,18); cprintf("ÌÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ͹\n\r");
gotoxy(50,19); cprintf("º º\n\r");
gotoxy(50,20); cprintf("ÌÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ͹\n\r");
gotoxy(50,21); cprintf("º trame recue º\n\r");
gotoxy(50,22); cprintf("ÌÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ͹\n\r");
gotoxy(50,23); cprintf("º º\n\r");
gotoxy(50,24); cprintf("ÈÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍͼ");
}
////////////////////////////////////////////////////////////////////////
void dep_sd()
{
for(int i=0;i<7;i++)
{gotoxy(1,14+i);highvideo();cprintf(" \n\r");
gotoxy(1,14+i);cprintf("ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ»\n\r");
gotoxy(1,15+i);cprintf("º station du depart º\n\r");
gotoxy(1,16+i);cprintf("ÌÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÊÍÍÍÍÍÍ»\n\r");
delay(100);}
for(i=0;i<7;i++){gotoxy(1,13+i);puts(" ");delay(100);}
gotoxy(25,21);puts(" ");
gotoxy(1,2);
cprintf(" ");
}
/////////////////////////////////////////////////////////////////////////
int xor(int a,int b)
{
return a!=b;
}
/////////////////////////////////////////////////////////////////////////
void send_1()
{
int x=3,y=24;
for(int i=0;i<10;i++)
{
gotoxy(x,y-3);textcolor(GREEN);highvideo();
cprintf("ÉÍÍÍÍÍÍÍÍÍÍÍ»");
gotoxy(x,y-2);
cprintf("º");cprintf("sending msg");cprintf("º");
gotoxy(x,y-1);
cprintf("ÈÍÍÍÍÍÍÍÍÍÍͼ");
delay(100);
gotoxy(x,y-3);
cprintf("ÉÍÍÍÍÍÍÍÍÍÍÍ»");
gotoxy(x,y-2);
cprintf("º º");
gotoxy(x,y-1);
cprintf("ÈÍÍÍÍÍÍÍÍÍÍͼ");
x++;y--;
}
for(i=0;i<10;i++)
{
gotoxy(x,y-3);textcolor(GREEN);highvideo();
cprintf("ÉÍÍÍÍÍÍÍÍÍÍÍ»");
gotoxy(x,y-2);
cprintf("ºsending msgº");
gotoxy(x,y-1);
cprintf("ÈÍÍÍÍÍÍÍÍÍÍͼ");
delay(100);
gotoxy(x,y-3);
cprintf("ÉÍÍÍÍÍÍÍÍÍÍÍ»");
gotoxy(x,y-2);
cprintf("º º");
gotoxy(x,y-1);
cprintf("ÈÍÍÍÍÍÍÍÍÍÍͼ");
x+=2 ;y--;
}
gotoxy(32,3);cprintf(" >le msg<");
}
/////////////////////////////////////////////////////////
void eff_1()
{
int x=3,y=24;
gotoxy(1,22);cprintf(" ");
gotoxy(1,23);cprintf(" ");
gotoxy(1,24);cprintf(" ");
for(int i=0;i<10;i++)
{
gotoxy(x,y-3);textcolor(GREEN);highvideo();
cprintf(" ");
gotoxy(x,y-2);cprintf(" ");
gotoxy(x,y-1);cprintf(" ");
delay(100);
x++;y--;
}
for(i=0;i<7;i++)
{
gotoxy(x,y-3);textcolor(GREEN);highvideo();
cprintf(" ");
gotoxy(x,y-2);cprintf(" ");
gotoxy(x,y-1);cprintf(" ");
delay(100);
x+=2 ;y--;
}
gotoxy(18,3);cprintf(" ");
gotoxy(18,4);cprintf(" ");
gotoxy(18,5);cprintf(" ");
gotoxy(27,5);cprintf(" ");
gotoxy(27,6);cprintf(" ");
}
///////////////
void send_2()
{
int x=33,y=4;
for(int i=1;i<10;i++)
{
gotoxy(x,y-3);textcolor(GREEN);highvideo();
cprintf("ÉÍÍÍÍÍÍÍÍÍÍÍ»");
gotoxy(x,y-2);
cprintf("ºsending msgº");
gotoxy(x,y-1);
cprintf("ÈÍÍÍÍÍÍÍÍÍÍͼ");
delay(100);
gotoxy(x,y-3);
cprintf("ÉÍÍÍÍÍÍÍÍÍÍÍ»");
gotoxy(x,y-2);
cprintf("º º");
gotoxy(x,y-1);
cprintf("ÈÍÍÍÍÍÍÍÍÍÍͼ");
x+=2 ;y++;
}
for(i=0;i<13;i++)
{
gotoxy(x,y-3);textcolor(GREEN);highvideo();
cprintf("ÉÍÍÍÍÍÍÍÍÍÍÍ»");
gotoxy(x,y-2);
cprintf("ºsending msgº");
gotoxy(x,y-1);
cprintf("ÈÍÍÍÍÍÍÍÍÍÍͼ");
delay(100);
gotoxy(x,y-3);
cprintf("ÉÍÍÍÍÍÍÍÍÍÍÍ»");
gotoxy(x,y-2);
cprintf("º º");
gotoxy(x,y-1);
cprintf("ÈÍÍÍÍÍÍÍÍÍÍͼ");
y++;x++;
}
gotoxy(x,y-3);textcolor(GREEN);highvideo();
cprintf("ÉÍÍÍÍÍÍÍÍÍÍÍ»");
gotoxy(x,y-2);
cprintf("º msg recu º");
gotoxy(x,y-1);
cprintf("ÈÍÍÍÍÍÍÍÍÍÍͼ");
}
/////////////////////////
void eff_2()
{ int x=33,y=4;
for(int i=1;i<10;i++)
{
gotoxy(x,y-3);textcolor(GREEN);highvideo();
cprintf(" ");
gotoxy(x,y-2);
cprintf(" ");
gotoxy(x,y-1);
cprintf(" ");
delay(100);
x+=2 ;y++;
}
for(i=0;i<13;i++)
{
gotoxy(x,y-3);textcolor(GREEN);highvideo();
cprintf(" ");
gotoxy(x,y-2);
cprintf(" ");
gotoxy(x,y-1);
cprintf(" ");
delay(100);
y++;x++;
}
gotoxy(x,y-3);textcolor(GREEN);highvideo();
cprintf(" ");
gotoxy(x,y-2);
cprintf(" ");
gotoxy(x,y-1);
cprintf(" ");}
/////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////
void main()
{
ohi: clrscr();
f_dep();
//////////////////////////////////////////////////////////
poly_gene PG;
PG.principal_g();
/////////////////////////////////////////////////////////
trame T;
T.t_princip();
///////////////////////////////////////////////////////////
int *t_;t_=new int [28];t_=T.gett();
int *g_;g_=new int [28];g_=PG.getg();
int nt_=T.getnt();
int ng_=PG.getng();
int matrix[48][28];
for(int i=0;i<nt_+ng_;i++)
for(int j=0;j<ng_;j++)
matrix[i][j]=0;
for(i=0;i<nt_;i++) matrix[i+1][ng_-1]=t_[i];
for( i=0;i<ng_-1;i++) matrix[1][i]=matrix[1][i+1];
for(int k=1;k<nt_+ng_-1;k++)
{
for(int j=ng_-1;j>=0;j--)
{
if(!matrix[k][0])
{ for(int i=0;i<ng_-2;i++) matrix[k+1][i]=matrix[k][i+1];
matrix[k+1][ng_-2]=matrix[k+1][ng_-1];
}
else
{
if(j==ng_-1){ matrix[k+1][ng_-2]=xor(matrix[k+1][ng_-1],1);}
else
{
if(g_[j])
matrix[k+1][j-1]=xor(matrix[k][j],1);
else
matrix[k+1][j-1]=matrix[k][j];
}
}
}
}
dep_sd();
if(ng_+nt_<20)
{
gotoxy(18,1);textcolor(GREEN);
highvideo();
cprintf("<simulation du traittement matriciel>\n");
char al[27]={'a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t','u','v','w','x','y','z','#'};
gotoxy(30,2);
for(i=0;i<ng_-1;i++) cprintf("º%c",al[i]);cprintf("º");
for(i=0;i<nt_+ng_;i++)
{gotoxy(30,3+i);
for(int j=0;j<ng_;j++) {cprintf("º%d",matrix[i][j]);}
cprintf("º");
}
for(int j=nt_+ng_+ng_;j<24;j++)
{ gotoxy(30,j);
for(i=0;i<ng_-1;i++) cprintf(" %d",matrix[nt_+ng_-1][i]);
delay(100);
}
cprintf("\n");
for(j=(nt_+ng_+ng_);j<23;j++)
{
for(i=0;i<ng_-1;i++) {gotoxy(30,j);cprintf(" "); }
delay(100);
}
for(i=30;i>1+nt_;i--)
{gotoxy(i,23);
for(int j=0;j<ng_-1;j++)cprintf("%d",matrix[nt_+ng_-1][j]);
delay(100);gotoxy(i+ng_-1,23);cprintf(" ");
}
clrscr();
for(i=0;i<PG.getng()-1;i++) t_[i+nt_]=matrix[ng_+nt_-1][i];
gotoxy(1,20);cprintf("ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ»\n\r");
gotoxy(1,21);cprintf("º station du depart º\n\r");
gotoxy(1,22);cprintf("ÌÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÊÍÍÍÍÍÍ»\n\r");
gotoxy(1,23);cprintf("º º\n\r");
gotoxy(1,24);cprintf("ÈÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍͼ");
gotoxy(2,23);for(i=0;i<nt_+ng_-1;i++) cprintf("%d",t_[i]);
for(i=0;i<3;i++)
{gotoxy(1,i+20);cprintf("ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ»\n\r");
delay(100);gotoxy(1,i+19);cprintf(" ");
}
for(int k=0;k<20;k++)
{ gotoxy(30-k,20);cprintf(" ");
gotoxy(30-k,21);cprintf(" \n\r");
gotoxy(30-k,22);cprintf("»\n\r");
gotoxy(30-k,23);cprintf("º\n\r");
gotoxy(30-k,24);cprintf("¼\n\r");
delay(100);
gotoxy(31-k,20);cprintf(" ");
gotoxy(31-k,21);cprintf(" ");
gotoxy(31-k,22);cprintf(" ");
gotoxy(31-k,23);cprintf(" ");
gotoxy(31-k,24);cprintf(" ");
}
send_1();eff_1();
gotoxy(21,10);cprintf("voullez vous intercepter le message Y/N");
char s;
s=getch();
if(s=='Y'||s=='y'){
clrscr();gotoxy(28,2);cprintf("interception du message");
gotoxy(28,20);cprintf("ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ»\n\r");
gotoxy(28,21);cprintf("º Interception du msg º\n\r");
gotoxy(28,22);cprintf("ÌÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÊÍÍÍÍÍÍ»\n\r");
gotoxy(28,23);cprintf("º º\n\r");
gotoxy(28,24);cprintf("ÈÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍͼ");
int r=1;int pos=0;gotoxy(29+pos,23);
for(int i=0;i<nt_+ng_-1;i++) cprintf("%d",t_[i]);gotoxy(29+pos,23);
while(r)
{
s=getch();int t=(int)s;
if(s=='1'){gotoxy(29+pos,23);putchar(s);t_[pos]=1;
gotoxy(29,23);puts(" ");
gotoxy(29,23);for(int i=0;i<nt_+ng_-1;i++)cout<<t_[i];
clean();msg_error("ok->");
gotoxy(29+pos,23);
}
if(s=='0'){gotoxy(29+pos,23);putchar(s);t_[pos]=0;
gotoxy(29,23);puts(" ");
gotoxy(29,23);for(int i=0;i<nt_+ng_-1;i++)cout<<t_[i];
clean();msg_error("ok->");
gotoxy(29+pos,23);
}
if(t==0){t=getch();
if(t==75)
{if(pos>1)gotoxy(27+pos--,23);}//deplacement gauche
if(t==77){if(pos<nt_+ng_-2)gotoxy(30+pos++,23);}
}//deplacement droit
if(s==13){clean();msg_error("ok->");r=0;gotoxy(29+pos,23);}
}
}
clrscr();send_2();eff_2();f_arr();
gotoxy(51,19);for(i=0;i<ng_;i++) cprintf("%d",g_[i]);
gotoxy(51,23);for(i=0;i<nt_+ng_-1;i++) cprintf("%d",t_[i]);
for(int i=0;i<nt_+ng_;i++)
for(int j=0;j<ng_;j++)
matrix[i][j]=0;
for(i=0;i<nt_+ng_-1;i++) matrix[i+1][ng_-1]=t_[i];
for( i=0;i<ng_-1;i++) matrix[1][i]=matrix[1][i+1];
for(k=1;k<nt_+ng_-1;k++)
{
for(int j=ng_-1;j>=0;j--)
{
if(!matrix[k][0])
{ for(int i=0;i<ng_-2;i++) matrix[k+1][i]=matrix[k][i+1];
matrix[k+1][ng_-2]=matrix[k+1][ng_-1];
}
else
{
if(j==ng_-1){ matrix[k+1][ng_-2]=xor(matrix[k+1][ng_-1],1);}
else
{
if(g_[j])
matrix[k+1][j-1]=xor(matrix[k][j],1);
else
matrix[k+1][j-1]=matrix[k][j];
}
}
}
}
for(i=0;(i<ng_-1)&&(!matrix[nt_+ng_-1][i]);i++);
if(i!=ng_-1) { gotoxy(18,12);cprintf("message mal transmit");}
else{ gotoxy(18,12);cprintf("message bien recu");}
}
else{clean();msg_error("memoire insufisante simulation impossible");}
gotoxy(18,14);cprintf("voullez vous continuer Y/N");
char s;
s=getch();
if(s=='Y'||s=='y') goto ohi;
}
Sources du même auteur
Sources de la même categorie
Commentaires et avis
Discussions en rapport avec ce code source dans le forum
Erreur [ par C++ ]
Ou est l'erreur ici svp :ShowWindow(FindWindow("AolFrame25"), sw_hide);
erreur cl.exe [ par Synhok ]
Je suis un programmeur debutant en C++ et j'utilise Visual C++, j'essaie de faire une application toute simple ("Hello World"), il est impossible qu'i
Erreur [ par C++ ]
ou est l erreur svp ici :MessageBox ("L'erreur est :" , m_Erreur.SetWindowText );
GetLastError [ par angdemon ]
BONJOUR,A chaque fois que je vais sur mon serveur internet en loccurence Aol et que je surf sur internet j'ai réguliérement ce message d'erreur getlas
VGA [ par Ron ' 1 ]
j'ai trouvé de la doc sur le mode VGA mais le code ci dessous compilé avec bcb55 ne provoque aucune erreur a la compilation mais provoque une erreur f
Détection de périphérique [ par vinc ]
Bonjour,Je souhaite créer un programme de détection de périphérique Hard. Du style Carte Réseaux, carte vidéo ...Pouvez-vous m'aider sur ce sujet car
pb avec conio je cherche l'erreur [ par kin ]
erreur de demarrage programme [ par nango ]
Quand je compile sous visual c++ il m'apparait le message d'erreur suivant : "un fichier.DLL requis, MSPDB60.DLL, n'a pas été trouvé".Pourtant ce fich
Reprendre la main sur une erreur de SCANF [ par gollum ]
voila : mon monceau de codec='n';printf("Entrer le coeff %d du terme %d \n",i,i);result = scanf("%f",&coef); while (result==0 && c=='n'){ printf("f
erreur de compilation avec l'install shield c++ [ par tsii ]
une fois fini mon logiciel de programmation qui permet l'envoi d'email et autre fonctionpour mettre les executable sur disquettes en utilisant l'insta
|
Derniers Blogs
IMAGINE CUP 2012, MAKE A SIGN EN FINALEIMAGINE CUP 2012, MAKE A SIGN EN FINALE par junarnoalg
Voilà qui est fait, la nouvelle est officielle ! L'équipe belge "Make a Sign" va au pays des kangourous défendre son projet dans la catégorie Software Design. http://www.imaginecup.com/CompetitionsContent/Competition/WorldwideFinalists.aspx V...
Cliquez pour lire la suite de l'article par junarnoalg KINECT 1.5 IS OUT !KINECT 1.5 IS OUT ! par Vko
La version 1.5 du Kinect For Microsoft vient tout juste de sortir ! Plein de nouveautés: Tracking de squelette en Near Mode Détection en position assise Détection faciale avec un SDK dédié Documentation et des guideline (enfin) Un out...
Cliquez pour lire la suite de l'article par Vko LES ACTUALITéS DE LA SEMAINE SUR C2I.FR (14 MAI - 20 MAI) LES ACTUALITéS DE LA SEMAINE SUR C2I.FR (14 MAI - 20 MAI) par richardc
Mise à jour des Web API du 14 Mai
Réservez dès maintenant votre journée du 20 juin pour le Windows Azure Dev Camp 2012 à Paris
Mise à jour de Team Foundation Service
MechCommander 2 sur Windows 8
Entity Framework 5 Release Candidate e...
Cliquez pour lire la suite de l'article par richardc REACTIVE EXTENSIONS : CONSOMMER DES SERVICES AVEC RX PARTIE 3, LES PIèGES à éVITERREACTIVE EXTENSIONS : CONSOMMER DES SERVICES AVEC RX PARTIE 3, LES PIèGES à éVITER par Groc
Une mauvaise utilisation de rx lors de l'écriture d'une couche d'accès à des services peut conduire à des cas embarassants avec des erreurs mal gérées, des appels qui ne partent lorsqu'ils le devraient, et même des résultats incorrects . le tout nuis...
Cliquez pour lire la suite de l'article par Groc SHAREPOINT BLOG SITE, PROBLèME D'ARCHIVESSHAREPOINT BLOG SITE, PROBLèME D'ARCHIVES par junarnoalg
Dernièrement, nous avons migré le site
myTIC
vers un nouveau serveur SharePoint 2010. Dans les contenus que nous vouloins récupérer, nous avions un certain nombre de blogs.
Nous avons utilisé les commandes Power...
Cliquez pour lire la suite de l'article par junarnoalg
Forum
MATRICE TEMPLATEMATRICE TEMPLATE par hjr2610
Cliquez pour lire la suite par hjr2610 RE : SAC A DOS RE : SAC A DOS par hadjkaddour
Cliquez pour lire la suite par hadjkaddour
Logiciels
sDEVIS-FACTURES vlPRO (8.1.0.3)SDEVIS-FACTURES VLPRO (8.1.0.3)sDEVIS-FACTURES vlPRO a été mis au point pour les particuliers, créateurs, entrepreneurs, artisa... Cliquez pour télécharger sDEVIS-FACTURES vlPRO 974 Application Server (12.2.4.6)974 APPLICATION SERVER (12.2.4.6)Développez de puissantes applications dans un environnement de 'cloud computing', clusterisé, séc... Cliquez pour télécharger 974 Application Server vPicture (1.4.2.1)VPICTURE (1.4.2.1)Avec vPicture, hébergez vos images facilement et rapidement.
vPicture est un utilitaire simple, ... Cliquez pour télécharger vPicture Easy-Planning (2.2.1.6)EASY-PLANNING (2.2.1.6)Easy-Planning permet de créer des plannings sous la représentation de diagrammes et est adapté au... Cliquez pour télécharger Easy-Planning COM-BACKUP (2.0)COM-BACKUP (2.0)
COM-BACKUP est un logiciel de sauvegarde qui permet de planifier les sauvegardes de vos dossiers ...
Cliquez pour télécharger COM-BACKUP
|