Red de conocimiento informático - Material del sitio web - ¿Cómo mover el mouse usando lenguaje C?

¿Cómo mover el mouse usando lenguaje C?

# incluir & ltWindows.h & gt

# incluir & ltstdio.h & gt

# incluir & ltprocess.h & gt

VOID MyPlaySound(LPVOID lp )

{

Frecuencia sin signo[]={392, 392, 440, 392, 523, 494

392,392,440,392,587,523,

392,392,784,659,523,494,440 ,

698.698.659.523.587.523,

392.392.440.392.523.494,

392.392.440.392.587.523,

392.392.784.659.523.494.440,

698.698.659.523.587.523};

p>

Retraso sin firmar[]= { 3751255005005001000,

375,125,500,500,500,1000,

375,125,500,500,500,500,1000,

375,125,500,500,50 ,1000,

375,125,500,500,500,1000,

375,125,500,500,500,1000,

375,125,500,500,500,500,1000,

375,125,500,500,500,1 000};

int CIRCLE

for(CIRCLE = 0; CIRCLE & lt50; círculo++)

{

Bip (frecuencia [círculos], retraso [círculos] ]);

}

}

Invalidar mi huella digital

{

int I;

char a[10][4]=;

for(I = 0;i<10;i++)

{

printf("% s ", a[I]);

Dormir(500);

}

}

int main ()

{

_beginthread(MyPlaySound, 0, NULL

_beginthread(MyPrint, 0, NULL

Sueño (20000);

Devuelve 0;

}

Recuerde cambiar las propiedades del proyecto al esquema multiproceso antes de compilar. De lo contrario, se producirán errores. Lo compilé en VS2010.