removed warn failures on compile
This commit is contained in:
@@ -2,8 +2,10 @@
|
||||
#include <string>
|
||||
#include <iostream>
|
||||
|
||||
using namespace std;
|
||||
|
||||
const std::vector<std::string> mcquays = {
|
||||
|
||||
const vector<string> mcquays = {
|
||||
"stephen",
|
||||
"michael",
|
||||
"bryan",
|
||||
@@ -17,9 +19,10 @@ int func() {
|
||||
int main() {
|
||||
auto i = 5;
|
||||
auto j = func();
|
||||
auto s = std::string{"hello world"};
|
||||
auto s = string{"hello world"};
|
||||
cout << i << " " << j << " " << s << endl;
|
||||
for(auto it = mcquays.begin();
|
||||
it != mcquays.end(); it++) {
|
||||
std::cout << *it << std::endl;
|
||||
cout << *it << endl;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user