#include <iostream>
using namespace std;
int main()
{
cout << "Hello, world!";
return 0;
}
Login to reply
Replies (4)
are you supposed to return EXIT_SUCCESS in C++ too? or only C
It's been about a decade since I actually used c++ but I don't think so or at least not with this basic print function lol. And I remember c even less than c++ lol
You should not return ANYTHING, 9plan knew this by making the main function a void type
nostr:nevent1qqsxye0478y6jmnyf5gazjmvkppjundhhcavn6amk3yxsg2ymrj4musppamhxue69uhkummnw3ezumt0d5pzq86mrlvlfd7fkcl5wfnpwyuaafu2dnqh93l865z92klzr4tjrvnuqvzqqqqqqylg5p6u