Hullo I'm trying to read several pieces of text from various textboxes, and throw them into a textfile on separate lines, here's what I'm using so far:
The problem is that it writes it all to one line, and I'm hoping to get various lines in there. Is there something I have to concatenate to the end of the character arrays? And, if so, what would it be?
char Q; //Holds the Question
char A; //Holds the Answer
Questions = fopen(Path, "a");
GetWindowText(txQuestion, NewQ.Q, GetWindowTextLength(txQuestion) + 1);
GetWindowText(txAnswer, NewQ.A, GetWindowTextLength(txQuestion) + 1);