Question:
How do you write a simple Text Editor using C++?
?
2010-07-12 13:51:29 UTC
I am interested in writing a simple text editing program using C++, but I am not sure where to start as I have not used C++ before.
I have downloaded Dev C++ and when I open the software I click File>New Project and it comes up with a few options which are: Windows Application, Console Application, Static Library, DLL and Empty Project, so I don't know which one to select.
I also don't know the code to write.
Can somone help me out please?

Thank you for any help.
Three answers:
Steve B
2010-07-15 00:42:59 UTC
You don't seem to know enough to be writing software ... I suggest doing an evening course at your local college ...



C++ is (I would suggest) is a bit advanced = you might want to start with something like Visual Basic ..



FYI :-

Windows Application = a simple program, most likley a single EXE file

Console Application = a stand-alone program, intended to run without a GUI

Static Library = a 'component' that can be tested on it's own and then copied into other programs

DLL = a stand-alone component that can run on it's own and be used by other programs

Empty Project = a 'frame work' for a multi-part program that may be worked on by multiple programmers
?
2010-07-12 13:56:38 UTC
A simple text editor is not so simple to program. Here is the source code for a simple text editor called Nano: http://www.nano-editor.org/dist/v2.2/nano-2.2.4.tar.gz Most of the important stuff will be in the "src" folder after you extract the archive.
?
2016-11-07 02:57:28 UTC
interior domicile windows, you could purely submit a communication with a huge text textile container, load the container with the consumer's maximum contemporary version, and save even though is in it whilst he hits an ok button. interior that text textile container, domicile windows supplies him insert, reproduction, paste, cursor positioning, delete, and scroll applications without your code desiring to do something.


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...