Re: C++ and Readline
This is very cool. After reading very little of the info on readline, it was very simple to modify my program so that I could maintain a history of previously entered lines. The other thing I realized is that I can edit a line using the arrow keys instead of deleting characters and typing them over again.
I have to admit that my initial response to pianoboy3333's question was "dumb question" and I almost gave a response like thumper's. But I was a CS professor for 21 years, where I learned a lot from my students' "dumb questions." First, they asked things that I didn't even know about. (Such is the case here. I had never heard of readline before.) Second, I had to then learn about the topic in order to avoid embarrassing myself in front of an entire class of students. (Still did that a few times. )
Thanks for raising the question and for the responses.
Intel i7-920; Nvidia GT 220, 1GB; MSI X58 Pro-E; 6GB DDR; 64-bit mode.
Bookmarks