Ah. I might not even need that number in the file now. Since when I read the lines in. Line by line. I can grab which line it read, and stick the line number into a variable.
Normally in a visual...
Type: Posts; User: Fujitaka
Ah. I might not even need that number in the file now. Since when I read the lines in. Line by line. I can grab which line it read, and stick the line number into a variable.
Normally in a visual...
I am tring to figure out the best way to go about doing this.
Say the user clicks the mouse button or hits a key on the keyboard. It would open a text file, and read a line into the program. Then...
Ok. I managed to compile the example program on ALSA. Been studying it for awhile. Looking at the ALSA API too.
#include <stdio.h>
#include <stdlib.h>
#include <alsa/asoundlib.h>
...
Ah. So my first step is to not use OSS, and go with ALSA. I might even look into SDL Audio as well. Since I have programmed with SDL before.
I will go take a look at the ALSA libs then. Hopefully...
I want to start a small project so I can learn off of it atm. A small linux audio player that will play flac files. Maby you people can point me to some books, resources that can get me started on...
I am tring to write a Banshee 1.4.3 spammer in c on Linux Debian Lenny using C and dbus-glib.
But I can't figure out how to grab the track information right. x.x I get an error on compile,...
I am tring to figure out how to write something that will read/write to a config file on linux. I been searching around the forums/google. Even the ansi C book I have. I am confused. I tried reading...
Thanks. I got it to work ok for now.
#include <stdio.h>
#include <string.h>
#include <unistd.h>
int main()
{
int i;
I should of probable mentioned I am programming C on linux.
#include <stdio.h>
#include <string.h>
#include <unistd.h>
int main()
{
I have been trying to create a simple type writer effect in c. Have not been successful.
I figured it has to do with char and for, but I can't figure out how to do it.
Maby someone on here can...