delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/01/02/17:01:42

Message-ID: <386FBA6E.CFA57AE8@pepparkakor.demon.nl>
Date: Sun, 02 Jan 2000 21:51:59 +0100
From: Roger <roger AT pepparkakor DOT demon DOT nl>
X-Mailer: Mozilla 4.7 [en] (Win95; I)
X-Accept-Language: en
MIME-Version: 1.0
To: DJGPP <djgpp AT delorie DOT com>
Subject: What is wrong?
Reply-To: djgpp AT delorie DOT com

Hi !!

When I try this little program,my computer make a reboot,and that is not
what I like,so please,what is wrong?

#include <time.h>
#include <stdlib.h>
#include <stdio.h>

#include "allegro.h"

SAMPLE *det;

int main() {
allegro_init();
install_timer();
install_sound(DIGI_AUTODETECT,MIDI_AUTODETECT,0);
det=load_wav("applouse.wave");
play_sample(det,255,127,9000,-1);
}



- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019