Question

I would like to participate in some open source projects.

I know a little c++ but I have not yet created a project with it: I want to learn c++ better. In order to participate in some open source project I think I need to familiarize myself with c++ because open source project's code are rather complex.

So I'm planning to create as a learning exercise a simple editor, like notepad++ but much simpler.

Is there any scintilla like library out there? I searched in google but haven't found anything.

If I'm going in the wrong direction, would anyone tell my about a better way to learn c++? I'm not looking for a "silver bullet" but for a project to learn?

Was it helpful?

Solution 2

Your approach is very good. Trying to learn a language by embarking on a project is an excellent idea. Just keep in mind that a project, even a "simple" one like a text editor, can be much larger than you expect at first, and be prepared for making a lot of false starts and having to rewrite a lot of code. After all, that's the point of exercising.

What is not clear to me is why you are not satisfied with scintilla but at the same time are looking for an alternative. I would recommend to start playing with it and getting a first taste of what a "complete" project looks like (for some definition of "complete") and then you will be in a better position to appreciate the strengths and weaknesses of scintilla or of the other various libraries.

On the side of learning C++, since you are asking for suggestion, I can recommend a book: Accelerated C++ by A. Koening and B. Moo.

OTHER TIPS

So, start writing a simple editor. It's not that easy, but not terribly hard either, if you have the basics of file handling and GUI covered.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top