I want to create a vim like text editor in c/c++, but unfortunately i don't know from where to start. Can some one please guide me from where i can start my project. I have studied about ncruses library, but i don't want to use it. Can someone please guide me or tell me where i can get tutorial to create the text editor (mainly terminal one). Provide with the tutorial from where i can learn and improve my language skill.
Even on Windows, you may be tempted to do some stuff on your own. PDCurses is a much more advanced library for your needs, and makes it significantly easier to maintain a single code base for multiple operating systems.
Cubbi is being a pedant because the term is being used in a nonsense context*, showing OP to be a rank newbie. So not only is he committing the error of choosing to be ignorant (I know nothing about this stuff, but the knowledge I have managed to gleam I reject), he is also committing the error of soliciting work from others (please provide all the details I need to accomplish my specific task).
To the OP: people have managed to write CUI text editors since the late '60s, using the tools available to them. If you wish to write one today, there is no better option than NCurses for your terminal control. No full-terminal editors exist (outside of some very specialized contexts) that don't use it, because it is *the* API for terminal control.
You will learn most of what you need by simply learning NCurses. The remaining parts are how you plan to handle files, and whatever top-level logic (subwindows, menus, configuration options, project management, etc) you wish to add to it.
JSYK, you've asked how to do one of the harder things to do in CS: text editors.**
*To explain: I can't go write a valid program in Pascal/O'Camel. I've got to pick one.
**Sure, anyone can whip up a simple Notepad-esque piece o'junk. Please don't.