26 lines
407 B
C++
26 lines
407 B
C++
|
#include <vector>
|
||
|
#include <string>
|
||
|
#include <iostream>
|
||
|
|
||
|
|
||
|
const std::vector<std::string> mcquays = {
|
||
|
"stephen",
|
||
|
"michael",
|
||
|
"bryan",
|
||
|
"derek",
|
||
|
};
|
||
|
|
||
|
int func() {
|
||
|
return 42;
|
||
|
}
|
||
|
|
||
|
int main() {
|
||
|
auto i = 5;
|
||
|
auto j = func();
|
||
|
auto s = std::string{"hello world"};
|
||
|
for(auto it = mcquays.begin();
|
||
|
it != mcquays.end(); it++) {
|
||
|
std::cout << *it << std::endl;
|
||
|
}
|
||
|
}
|