I have been coding in a scripting language called Autohotkey for a while now, and the way i self taught that language was that i thought of a program that i wanted to have and started reading on the manual asking myself "how do i do this...? ok, ok... and how do i achieve that?" and it has turned out to have helped me greatly!
Now i want to learn C++ and i am trying to come up with an idea of a program not too easy to build but not extremely hard so that i can get the hang of it.
So i have a quick question for you: What was your first beginner project? please share your experiences on it too if you like.
I think it might be an interesting thread and it can even turn out to be a pool of ideas for beginners like me looking for a project we could start on. :)
As a side question: Are there any sites dedicated to share ideas of potential programming projects?
I am not aware of any.
Well sorry for the long post, hope you made it and I am eager to hear about your experiences!
to mods: I was not sure if i should post this in general forum but it is targeted to beginners so i ended up dumping it here
Most fun beginner projects are usually games. Here, you don't need to struggle with the problem but with the code alone. You could go for some self-evolving project, e.g:
Start with some small dice rolling game, roulette or something similar. Plain text I/O for now. Maybe using C-Style programming (skip the classes)
Add some opponent (AI)
Add some Highscore/Savegame options
Rewrite the whole thing using C++ (now you want a player class and you don't care how many folks participate)
Add simple graphics (SDL for example and thereby learn how to interact with libraries other than standard cpp)
Just a thought...if you're not interested in graphics you might look into other stuff thereafter...
I am personally not afraid of going in to more complex stuff since thats how i get motivated to learn on a specific topic. e.g. i need to do a gui to get some imput from user, then i go running on to the manual and read how to create gui's and so on.
I still understand your point. I think a little game will come up handy. Lurking the forum i heard about "the game of life" or something of the sort, any ideas on that?
Don't try the game of life just yet. It's a simple program if you have a decent handle on the language, but it's probably not something you'd be ready to start on. One option I've seen suggested for such posts is Project Euler. It's a pretty challenging way to start, but some of the beginning ones don't require much programming knowledge. Project Euler can be coded in any language as well, so you can work on it with c++ as well as Autohotkey (maybe).
The way I started learning, however, was by making calculators where the person entered numbers and chose what function they wanted to do. This will teach the basic skills needed in all programs, but it probably won't be as difficult or as fun as the game option. Starting off calculators will also probably not be as good as Shinigami's (Go Bleach!).