Graphics

Hi, I'm beginner to c++. Currently, i am learning to basics of c++. I've a very big question in my mind and it is that can we design an interface like editor of C++(in which we type codes).
Guys someone help me and tell me that is it possible, if yes what of things i need to learn to implement this.
Can you clarify what you want a little bit more? I don't follow what you wish to do.
Of course you can.I think you must first learn C++ well for that.After that,you can study win32 API if you intend to work on windows systems or there are libraries for windowing,input,graphics,text handling etc.But I think,if you mean this, syntax highlighting,auto complete etc are not simple things to add to your editor.
I would suggest learning a library specifically for creating GUIs. Generally, they're less confusing than the raw Win32 API, the ones I recommend are fairly well-written, and they're also cross-platform.

QT -> http://qt.nokia.com/
GTK+ ->http://www.gtkmm.org/en/
WxWidgets -> http://wxwidgets.org/

When you get into dealing with the syntax highlighting, you'll need some sort of basic parser to recognize keywords, variables, types, etc... it's fun, and not too terribly difficult, though admittedly non-trivial. ;)

Auto-complete is a tricker matter, but it's still not too terrible (once you get better that is... :/). If you eventually decide that auto completion in any form is too difficult, remember that there are some of us who really like writing with lightweight editors and that your project isn't a failure. :)

-Albatross
Last edited on
Topic archived. No new replies allowed.