There really is no hope of making this code even half-way decent without spending the time to rewrite them all properly. Don't want to do any of that
14 lines
276 B
C++
Executable File
14 lines
276 B
C++
Executable File
#include <iostream>
|
|
#include <string>
|
|
#include <vector>
|
|
|
|
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;
|
|
}
|