ProgrammingThis forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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?
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.
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:
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
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.