Hello! I'm new here and I have some questions about C++. But I don't know how to post programmes on this forum. If it helps,I have Borland C++ and as a compiler Dev C++. Thanks in advance!
Copy the program (if its not too large) from your editor paster in the edit post window.
Then select the pasted program and hit the "<>" icon on the Format menu on the right.
This is the "code" tag and formats the source code nicely.