Hello, OnlineGDB Q&A section lets you put your programming query to fellow community users. Asking a solution for whole assignment is strictly not allowed. You may ask for help where you are stuck. Try to add as much information as possible so that fellow users can know about your problem statement easily.

Why doesn’t OnlineGDB use the new hello world command?

+7 votes
asked Feb 27 by E (530 points)
you can use

#include <print>

using namespace std;

Isn’t main() {println(“Hello, World!”);

In c++23

1 Answer

0 votes
answered Mar 3 by Hadia Faisal (150 points)

OnlineGDB doesn’t use the new C++23 std::println because the compiler and standard library implementation it runs,either don’t support that feature yet or aren’t configured to use true C++23

Welcome to OnlineGDB Q&A, where you can ask questions related to programming and OnlineGDB IDE and receive answers from other members of the community.
...