I am looking for a free (for commercial use) library for syntax coloring written in c/c++. Are there any out there?
I am not sure if you are looking for something to color an existing control or a control with text coloring built in. If you are looking for the later you could check out Scintilla.
Scintilla is a free source code editing component. It comes with complete source code and a license that permits use in any free project or commercial product.
GtkSourceView is a nice library for syntax highlighting and source code editing. It's used in several Gnome editors like gedit and Anjuta and is in active development; it also has a very permissive LGPL license which permits its use in commercial products.
There is also a C++ wrapper called gtksourceviewmm.
http://projects.gnome.org/gtksourceview/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With