to be more precise and informative im planning to use a gui designer and make my console application have a gui.
needless to say some parts have to be replaced. one is the way the data is being entered .
using files for input matters is obvious. but the catch here is ! i dont precisely understand how is it possible when im going to use a text box e.g as the mean to get input form user. and to what confuses me more,
is the way new editors function!
i cant figure out how the manage to understand when a user is done entering data , and put an end to the file! (assuming it is based on file ! ) and how they manage to sync data when user e.g. after one successful compilation
enter new lines of code e.g. ( i mean i assume when the user enters his inputs , they use getline or stuff to get one line after another and tokenize it and then save it in an array e.g, but how is it possible , when the user enters new lines of codes before and maybe after the previously last line of the code he entered! how they save it in a memory! ? )
and those editors, must have a buffer, where is it ! ? ( i mean should we seek a file somewhere that the editor is saving the codes in it!? or what! it just saves them in memory)
can some one give me a comprehensive information on this?
i dont know what to google! if you give me the some advise on this i will be very thankful.
tanx in advance