LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 08-14-2005, 05:21 PM   #1
lowpro2k3
Member
 
Registered: Oct 2003
Location: Canada
Distribution: Slackware
Posts: 340

Rep: Reputation: 30
What is the last program you wrote (or are currently writing)?


Just curious, I'm looking for ideas. I'm working on an ls clone, with `ls` and `ls -l` functionality. Its not going as well as I had hoped, I keep getting segfault errors. Its forced me to learn more about gdb though, which is always a good thing. My programs almost finished (kind of...) and I'm already trying to think of ideas for my next project. I always seem to get frustrated before I finish a project and start a new one, I haven't finished anything in months.

Side question: Is there such thing as a standard linked list header/library in C or Linux? I'm writing this project in C and I couldn't find much so I wrote my own. Some webpage I found seemed to think that "struct _ENetList" and "struct _ENetListNode" are defined in <stdlib.h> along with functions for manipulating the lists, but I looked through my /usr/include/stdlib.h file and saw nothing of those types. I also found a file called "list.h" in /usr/include/linux/list.h but I seem to think its some sort of header for the kernel, and probably shouldn't be used.
 
Old 08-14-2005, 05:36 PM   #2
Kdr Kane
Member
 
Registered: Jan 2005
Distribution: SUSE, LFS
Posts: 357

Rep: Reputation: 30
Quote:
ls clone, with `ls` and `ls -l`
I have one on my Suse system which does just that. It's called 'vdir'.

Check your system.
 
Old 08-15-2005, 01:14 AM   #3
shanenin
Member
 
Registered: Aug 2003
Location: Rochester, MN, U.S.A
Distribution: Gentoo
Posts: 987

Rep: Reputation: 30
I am writing a fairly useful program for ripping and encoding your music cds to mp3. The cool thing it does is uses the CDDB data base to get the real names of the songs, so it can name them properly. It also makes the song titles linux friendly by replacing spaces with underscores.

the program is written in python, but uses cdparanoia as the ripping engine. It scans your system for either mp3 or ogg support, and gives you the option to choose what you want your songs encoded with(ogg, or mp3, or left as wave). You are able to set all of the options in a config file to make ripping as easy as putting in the cd and running the command.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
I met an error when I wrote a gtk program icoming Programming 1 03-16-2005 03:19 PM
Need help writing a simple program justintime32 Mandriva 8 03-04-2005 08:12 PM
CD Writing program? Which is best? nro Linux - Software 14 09-01-2004 10:19 AM
Writing and executing a program Russb Linux - Software 1 07-25-2004 06:49 PM
Wrote a program: TEXTDRAW lea Programming 1 08-13-2002 09:03 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 11:53 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration