Add more C code

This commit is contained in:
2025-04-24 08:20:09 +02:00
parent 07809d7d77
commit 21a17e33fa
3 changed files with 77 additions and 0 deletions

16
C/helloworld.cpp Executable file
View File

@@ -0,0 +1,16 @@
#include <iostream>
#include <vector>
#include <string>
using namespace std;
int main()
{
vector<string> msg {"Hello", "C++", "World", "from", "VS Code", "and the C++ extension!"};
for (const string& word : msg)
{
cout << word << " ";
}
cout << endl;
}