Tema: Sonidos
Ver Mensaje Individual
  #3 (permalink)  
Antiguo 30/05/2003, 19:45
rojobe55
 
Fecha de Ingreso: febrero-2003
Ubicación: Costa Rica
Mensajes: 133
Antigüedad: 22 años
Puntos: 0
#include <stdio.h>
#include <dos.h>
#include <conio.h>

void mibeep(int tipo) {
switch (tipo) {
case 1:
sound(1000);
delay(50);
sound(3000);
delay(50);
sound(2000);
delay(50);
nosound();
break;
case 2:
sound(100);
delay(1000);
break;
case 3:
sound(3000);
delay(50);
nosound();
delay(50);
sound(3000);
delay(50);
nosound();
}



esto estas buscando????
Saludos.