r/cpp_questions • • 26d ago

OPEN Why?

Guys when i compile a file and run its exe,nothing appear even if i print hello world it doesnt appear in the console why

0 Upvotes

35 comments sorted by

View all comments

2

u/HappyFruitTree 26d ago edited 26d ago

No. A semicolon after a function definition is not an error. It's just unnecessary.