Thread: How to design editor using c++

  1. #1
    Registered User
    Join Date
    Jul 2004
    Posts
    5

    How to design editor using c++

    I want to design an editor similar to DOS editor but slightly different from it . If anyone know how to start or have got a code plz tell me ?

  2. #2
    Registered User
    Join Date
    Jul 2004
    Posts
    101
    Your first task will be designing an intuitive and easy to use user interface. Then you must choose a graphics API if you want this editor to be any more sophisticated than a line-based console editor. The editor back-end is straightforward compared to the previous tasks and your decisions revolve around which data structures to use for storage of text.

    Depending on your level of programming ability I would suggest that you begin by writing a line-based console editor such as ed to develop valuable experience concerning how editors are written under the hood. This way you shield yourself from graphics issues until you are confident that you can write the back-end with few problems.

    Without further detail concerning your intentions I have no way of knowing what else you will need.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. which design is better to wrap another class instance
    By George2 in forum C++ Programming
    Replies: 7
    Last Post: 04-13-2008, 12:27 AM
  2. any comments about a cache design?
    By George2 in forum C Programming
    Replies: 6
    Last Post: 09-14-2006, 12:53 PM
  3. Implementing Inheritence into your design
    By bobthebullet990 in forum C++ Programming
    Replies: 6
    Last Post: 08-05-2006, 04:40 PM
  4. Cprog tutorial: Design Patterns
    By maes in forum C++ Programming
    Replies: 7
    Last Post: 10-11-2004, 01:41 AM