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 have been learning C and C++ over the last few years...
My problem is i don't know where to go next. I know how to use pointers, classes etc... in C++ but i haven't written an actual program, only assigments from the university(calculating arithmetic means, mean deviation etc)...
I have thought of joining some opensource project but i do not have prior experience...
Perhaps you are lacking in concepts? You understand the gritty little implementation details but not the grand schemes? Then why not learn Scheme? It will give you a new perspective on the meaning of calling functions, and change the way you think about programming so that you can advance conceptually.
Almost nobody has experience with programming as part of a project until they start. Perhaps take a look at the source code of your favorite applications and see how they work. Make some improvements that you've always wanted, or hack on a plugin for some program or another. Get involved with mailing lists or chatrooms.
I say just think of a cool idea... could be a game, could be some program you've wanted to have, and then start writing it. You'll learn a lot by actually applying your coding knowledge to a real project. If you can't think of any good ideas, then joining an open source project is probably one of the best ways to become a better programmer.
Sometimes I would just implement some complex data structures or algorithms in c or c++, or some utilities for my desktop, just for the experience. It doesn't really matter what you write, as long as it has more complexity of a full program (classes, functions, abstraction, etc...).
Find a question asked on these forums that requires you to produce some code. Solve the problem, and submit your solution. Nothing beats a real-world problem for learning to create working code. Once you have cut your teeth on a few of these, you will probably have encountered enough of your own real-world problems that you can create a solution for. The more solutions you have rolling around in your head, the more solvable problems you will notice.
--- rod.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.