question  Not sure where to start with program

II15X (27)   Link to this post
Well I have been slowly making progress in C++, and I want to make a completely simple program where you can:

-Write inside of it* (Like notepad)
-Save everything you wrote on it

Any suggest to where to start, anything is greatly appreciated

*I think this is simple? If I am correct string[100000]?
helios (4790)   Link to this post
If you don't mind not having anything fancy like, say, being able to go back up a line, then it can be done with streams. Otherwise, you'll have to use one of the curses libraries or system calls to manipulate the console.

And I think such a large array has a good chance of overflowing the stack.
Last edited on
II15X (27)   Link to this post
Haha thinks helios, I just put the random number in there for the sack of completion. But what is curses libraries? And yes, I would like to recall it back say if I misspelled a word
helios (4790)   Link to this post
http://en.wikipedia.org/wiki/Curses_(programming_library)

This topic is archived - New replies not allowed.