[C++]"post maker" help

This is a discussion on [C++]"post maker" help within the C++ Programming forums, part of the General Programming Boards category; I am making a very simple "post maker".
I am not asking you to write the whole program for me!(mentioning ...

[C++]"post maker" help

I am not asking you to write the whole program for me!(mentioning since when people see a beginning like that they think the poster didnt do a thing)

The question that I have is if there is a way to make a thread keep "reading" even after a space is entered into the program?

I need this to make the person using the program to input the message and it will be added and formated automaticly to a HTML file.
But this doesnt work since it only registers the first word in the message.

That is just a example. You said you want what they say to be put in the html file. So you need to make there input a string. So getline(cin, tmp) sets what they input to tmp. You could have it String answer or String input if you want it does not matter. If you still need help post some of you code here for me to see

I did what you told me to do but now it either gives an error or it doesnt put the info into the file at all.

Anyway to fix this?
(Don't have the code with me right now but will post it in not to long)

Posting the code will help; posting the error will help even more

I recently (last three years) wrote something like this and the logic I set it up to hand was to read until three carriage-returns were detected. I know it sounds weird but in this exact situation it was needed. So rather that just reading a cin >> stream I just read all keyboard input, accumulated it in a string, then for each carriage return I got I bumped a counter; if something else came in during this (character for example) I reset the counter to zero. BTW here is another hint: after you think you have detected the end of the message, walk the string you have accumulated and replace \n\r with <br> for the sake of the HTML.

I had written my own CMS which was an interesting project but eventually there were far better ones available for free and at the end of the day, I needed a tool I could use, not something else I needed to maintain.

I recently (last three years) wrote something like this and the logic I set it up to hand was to read until three carriage-returns were detected. I know it sounds weird but in this exact situation it was needed. So rather that just reading a cin >> stream I just read all keyboard input, accumulated it in a string, then for each carriage return I got I bumped a counter; if something else came in during this (character for example) I reset the counter to zero. BTW here is another hint: after you think you have detected the end of the message, walk the string you have accumulated and replace \n\r with <br> for the sake of the HTML.

I had written my own CMS which was an interesting project but eventually there were far better ones available for free and at the end of the day, I needed a tool I could use, not something else I needed to maintain.

Not sure i understand what you meant when you described the system you used(Im only starting the advanced part of the tutorials on this site)

And so you thought you would make a reply about that you lost everything or you thought you'd reserve a post to type it up all again at a later date?

Yes. I was extremely tired when I wrote that, not that it is an excuse for being oblique. I guess I was saying I would retype it if no one else helped him/her in advance. Maybe 10pct of that was frustration of seeing his/her plaintive "why won't someone help me?" when I had put a decent amount of effort into doing so only to find it flushed down the toilet...