diff --git a/cpp/README.md b/cpp/README.md index 0a0f496..5569dce 100644 --- a/cpp/README.md +++ b/cpp/README.md @@ -6,10 +6,8 @@ First, you will need: Then run: ``` -$ make -$ ./bin/hello-world -``` - +Copy your code to a c++ editor online like as +https://www.onlinegdb.com/online_c++_compiler diff --git a/cpp/main.cpp b/cpp/main.cpp index 0f7588e..777e2ff 100644 --- a/cpp/main.cpp +++ b/cpp/main.cpp @@ -1,5 +1,7 @@ #include - -int main(void) { - std::cout << "Hello, world!" << std::endl; +using namespace std; +int main() +{ + cout << "Hello, World!"; + return 0; } \ No newline at end of file