LinuxQuestions.org
Review your favorite Linux distribution.
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 09-29-2006, 05:07 PM   #1
BiThian
Member
 
Registered: Aug 2006
Location: Romania
Distribution: NetBSD 3.1
Posts: 118

Rep: Reputation: 15
Just an idea...


I'ld like very much learning to program under Linux. What better way to achieve that than creating your own application, no? The problem is I don't have any ideas...
However, there are some things I have to mention:
1) The programming language must be c/c++
2) I don't want anything network-related
3) I'ld like very much like my application to manage processes, memory or other low-level stuff ( I'm willing to learn as much as I can about all these)
I hope I was clear enough...So,ideas?
 
Old 09-29-2006, 08:25 PM   #2
macemoneta
Senior Member
 
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,593
Blog Entries: 2

Rep: Reputation: 344Reputation: 344Reputation: 344Reputation: 344
The best way to get started is to do something that you want. Is there something that annoys you? Do you wish some existing tool did something that it doesn't do now? If so, that's your itch - scratch it. If you're feeling generous, offer the fruits of your labor to the rest of the world. In that one step, you'll have become part of the solution.
 
Old 09-30-2006, 08:27 AM   #3
taylor_venable
Member
 
Registered: Jun 2005
Location: Indiana, USA
Distribution: OpenBSD, Ubuntu
Posts: 892

Rep: Reputation: 43
I agree with macemoneta, but to offer a possible idea for learning, how about building a shell? In one of my courses at university the final project was to write a shell (in C) that could handle I/O redirection via pipes and the stream operators. In other words, it could do stuff like:

myshell $ cat myfile.txt | grep "linux" > output.txt

That project taught me a lot, especially in process management and text processing.
 
Old 09-30-2006, 12:59 PM   #4
ta0kira
Senior Member
 
Registered: Sep 2004
Distribution: FreeBSD 9.1, Kubuntu 12.10
Posts: 3,078

Rep: Reputation: Disabled
I usually start some sort of "useful" project that results in incidental components (such as parsers, list classes, containers, etc.) Rather than being "smart" and using pre-built or standard libs, I choose to write things myself from scratch. I learn by having to research solutions to problems I run into, and a whole lot of experimentation. This also teaches me how to write better APIs, manage memory, and write more reliable code. I then try to break my code by subjecting it to bizarre situations. In all reality, I never end up finishing the big project, but instead perfect the small incidental components that result. I post the better ones on SourceForge.
ta0kira
 
Old 09-30-2006, 03:35 PM   #5
BiThian
Member
 
Registered: Aug 2006
Location: Romania
Distribution: NetBSD 3.1
Posts: 118

Original Poster
Rep: Reputation: 15
Thanks, you've been very helpful.
 
  


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
LXer: Freespire: Great Idea? Awful Idea? LXer Syndicated Linux News 1 05-04-2006 06:10 AM
mp3 jukebox idea (different idea then I have seen) supradrvr Linux - Software 8 03-27-2006 07:58 PM
9.1 to 10 idea Mr Marmmalade Slackware 6 06-27-2004 05:13 PM
any idea? perdesiz Linux - Software 3 08-26-2003 03:50 AM
any idea... kazuni Linux - Newbie 4 05-23-2003 03:17 PM

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

All times are GMT -5. The time now is 05:27 AM.

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