I'm thinking I'm on the right track but the code isn't displaying anything. I'm trying to create a program to reads lines of text and appends them to char buffer[1000]. I get no errors but nothing is showing up can one of you gurus take a peak at my code and tell me what I'm doing wrong? Much obliged, Sean
Line 19 is attempting to read a boolean from a file. This is likely failing and putting the stream in a bad state, which causes the entire while loop to be skipped:
while (fin >> more) // <- you are extracting to 'more'
You probably don't want to do that. But instead just want to check to see if the stream is in a good state:
while(fin)
Also... I don't know if you are doing this to just experiment with pointers or what... but this is significantly easier if you just use strings and getline() instead of using char arrays and getting 1 character at a time.