or you can use getchar like this:
#include <stdio.h>
int main()
{
printf("CD burning procedure\n\n");
printf("Before burning, test with the -t option\n\n");
printf("To burn CD: burncd -f /dev/acd0 -v -s 8 data <fname> fixrate\n\n");
printf("To erase CD : burncd -f /dev/acd0 blank\n\n");
printf("Files in /home/Ron:\n\n");
system("ls");
puts("\n[Press any key to quit]");
getchar();
return(0);
}
$ cc -Wall -g -o program prog.c
xterm -e /home/`id -nu`/program
|