Hi All,
I am trying to storing a string of text in to a variable, but I dont know which data type I should use. Unlike VB6, C doesn't have String variable. char can only store a character at time(if I not wrong). The problem of using the array is that it is unknown length of text, therefore I can not set the array size. I know that there is something calls vector in C++. But in this assignment, we are not suppose to use vector as we not there yet.
Thank you very much for any input.



LinkBack URL
About LinkBacks


