I'm going to assume you are developing for Linux (you mention both Linux and Windows in different areas of your question). Also, I'm going to ignore trying to build a GUI wrapper for your program, and just focus on a simple text interface.
The simplest text editor in the Unix/Linux history could be regarded as "ed". It does not display text unless you enter a command to "list" the lines of your document. It lists with line numbers, and you can ask the program to present you a line, and you may make changes to each line. This is dramatically simple compared to modern WYSIWYG word processors, but for a small C project, it's best to start small.
I don't write code for people (it takes the fun out of it) - but research the design of the "ed" program on UNIX (there is even source code available!) and see what you learn.
2006-10-21 09:23:10
·
answer #1
·
answered by WickedSmaht 3
·
0⤊
0⤋
In Visual C++ I think I could make a simple text editor in about 20 min. What is the big deal?
2014-07-13 20:08:53
·
answer #2
·
answered by Marvin 7
·
0⤊
0⤋
Within Windows, you can just put up a dialog with a big text box, load the box with the user's most recent version, and save whatever is in it when he hits an OK button. Inside that text box, Windows gives him insert, copy, paste, cursor positioning, delete, and scroll functions without your code needing to do anything.
2006-10-14 13:45:28
·
answer #3
·
answered by bh8153 7
·
0⤊
0⤋
Do you mind cheating cause you could go to planet source code and get some idea's for you code.
2006-10-14 11:42:46
·
answer #4
·
answered by Bobss b 1
·
0⤊
0⤋
Search google with "Windows API programming". Alternatively u may try it with JAVA AWT. In that case I can help u.
2006-10-15 14:07:40
·
answer #5
·
answered by binaryFusion 5
·
0⤊
0⤋
You need VC compiler 32-bit for that and it's pretty simple if you do it in Windows.
The challenge is in DOS.
2006-10-16 06:30:02
·
answer #6
·
answered by Rahul Ghose 4
·
1⤊
0⤋
why cheating? unless you copy other's code, it's not cheating. get some codes, get the idea, then do it yourself. that's it. you can get code from
http://www.pscode.com
http://www.developerfusion.com
http://www.internet.com
and plenty others...
2006-10-14 11:56:40
·
answer #7
·
answered by ri_ma_bo 4
·
1⤊
0⤋