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 04-03-2009, 12:08 PM   #1
ShadowReaper
LQ Newbie
 
Registered: Jan 2009
Posts: 22

Rep: Reputation: 0
Taking the next step


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...
 
Old 04-03-2009, 12:38 PM   #2
taylor_venable
Member
 
Registered: Jun 2005
Location: Indiana, USA
Distribution: OpenBSD, Ubuntu
Posts: 892

Rep: Reputation: 43
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.
 
Old 04-03-2009, 05:47 PM   #3
Sergei Steshenko
Senior Member
 
Registered: May 2005
Posts: 4,481

Rep: Reputation: 454Reputation: 454Reputation: 454Reputation: 454Reputation: 454
Try to implement Perl 5 data structures in C++. You'll learn a lot about copy-constructors, reference counting, autovivification of references.
 
Old 04-03-2009, 07:35 PM   #4
Four
Member
 
Registered: Aug 2005
Posts: 298

Rep: Reputation: 30
Make a small game like pong; Using GUI (e.g. SDL)
 
Old 04-03-2009, 07:47 PM   #5
ilikemonkeys111
LQ Newbie
 
Registered: Mar 2009
Distribution: archlinux
Posts: 6

Rep: Reputation: 1
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...).

Good luck!
 
Old 04-04-2009, 01:05 PM   #6
theNbomr
LQ 5k Club
 
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,399
Blog Entries: 2

Rep: Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908
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.
 
  


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
Step-By-Step Instruction to install Linksys WPC11 Ver.4 Wireless Card Zypher Linux - Hardware 8 08-12-2009 10:43 AM
Install Netgear wg311v wireless card on Fedora Core 6 (step by step help thanks!) jpop Linux - Hardware 1 03-07-2007 12:16 PM
Taking the first step garmanma LinuxQuestions.org Member Intro 2 12-14-2006 11:56 PM
LXer: Easy step-by-step guide for incorporating SVG into Web pages LXer Syndicated Linux News 0 07-29-2006 12:54 PM
extremely detailed step by step instructions wanted for nvdia driver installation!!! saquib Linux - Hardware 1 03-09-2006 01:21 AM

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

All times are GMT -5. The time now is 11:16 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