3 ms·
Got an error when I compile: $ gcc -lm sig.c sig.c: In function ‘main’: sig.c:3: error: expected ‘;’ before numeric constant Fixed this statem
by e19293001 11y ago
Got an error when I compile:
$ gcc -lm sig.c
sig.c: In function ‘main’:
sig.c:3: error: expected ‘;’ before numeric constant
Fixed this statement:
< i=9 99;
> i=999;
Garbage is displayed when I execute the code.
- Rotten194 11y agoYou have to pipe it into an audio player (traditionally that was /dev/dsp IIRC but I don't think that's a thing anymore). aplay should work with the right flags.
- Narishma 11y agoIt's not a thing anymore on modern (pulseaudio-enabled) Linux but you can still use applications that write to /dev/dsp by launching them with padsp.