#Understanding formatting

7 messages · Page 1 of 1 (latest)

plain tartanBOT
#

When your question is answered use !solved to mark the question as resolved.

Remember to ask specific questions, provide necessary details, and reduce your question to its simplest form. For tips on how to ask a good question run !howto ask.

languid breach
#

!howto ask

plain tartanBOT
# languid breach !howto ask
How to Ask A Programming Question

Anyone can ask a question in our programming channels.
Following the guide
Writing The Perfect Question
is recommended.

What To Post

State your problem clearly and provide all necessary details:

  • the relevant portion of your code, or all of it
  • the expected output
  • the actual output (or the full error)
    🏆 Gold Standard: Minimal Reproducible Example
Where To Post

Provide the relevant code in the message, and format it nicely with a code block*.
If it's too much for one message, you can upload it:

  • Compiler Explorer for most C/C++ snippets
  • OnlineGDB for interaction, debugging
    Do not post screenshots, let alone photos of your screen!
regal bridgeBOT
#
Compiler Output
<source>:3:20: warning: extra tokens at end of #include directive
    3 | #include <fstream> #include <iostream> using namespace std;
      |                    ^
languid breach
#

(yeah idek how to format this post)

plain tartanBOT
#

@languid breach

Please Do Not Delete Posts!

Please don't delete forum posts. They can be helpful to refer to later and other members can learn from them. In the future you can use !solved to close a post and mark a post as solved.

languid breach
#

!solved