I thought a string could hold an infinite number of characters?
Why doesnt it? I was told a long time ago that strings could hold an infinite number of characters. I never used strings until recently because they were a bit difficult to work with as opposed to character arrays. I was bored so i decided to make a little program in like 15 minutes; a diary/journal one. That just took the input buffer and saved it to a text file with the date. Well when i was testing it and writing random sentances it only let me write a certain amount than it wouldnt let me write anymore. I was under the impression you could write as much as you wanted and that the string would expand to fit your needs. Any help would be greatly appreciated. Thanks!