Ask coding questions

← Back to all posts
no output
emcat (0)

hello! im very much a beginner to c++. The code I have above appears to compile, but nothing appears as output when i run it. very confused!

Answered by Coder100 (18207) [earned 5 cycles]
View Answer
emcat (0)
Coder100 (18207)

sometimes it takes time to save and compile, so hard refresh.
Here is what I see

don't forget to add endl to append newline.

emcat (0)

@Coder100 thank you so much! might have been a glitch on my end... works now!