I have been programming for a while, but don't have much cause to 
use input from a user. I am an EE working in controls and program 
microcontrollers in C++. This is the first time I have needed to 
gather information from the user. I have reloaded my Borland 5.02 
c++ on my machine to help me relearn all the io 
commands/routines/syntax. I need to be able to take a string of 
text, including spaces, and store it for future use as 
setting/parameters for my microcontroller. (I have tried to get my 
client to go a different rout for this, but no good).

I have searched the help files and the internet for a getline 
function, and while the net suggests that there is one, my compiler 
says it does not recognize the function. I included every library I 
could think of to see if it was in there somewhere, but still 
nothing. I ask for your help with this. I am a good programmer and 
know that I can simply store the text as a string of single 
characters, but I would prefer not to have to loop that way as it 
takes ram and clock cycles from the microcontroller.

Can anyone help me out?

Reply via email to