MinGW 4.8 32bit, ÐÒÉ ËÏÍÐÉÌÑÃÉÉ ÐÒÅÄÕÐÒÅÖÄÅÎÉÅ ×ÙÓËÁËÉ×ÁÅÔ
L:\dev\new_cpp\cpp_craft_1013\solutions\nikolay_nikiforchuk\sources\task_1_5\main.cpp:20:
ÐÒÅÄÕÐÒÅÖÄÅÎÉÅ: non-static data member initializers only available with
-std=c++11 or -std=gnu++11 [enabled by default]
     int WATER_ID = -1;
                     ^


2013/11/3 Ivan Sidarau <notifications@github.com>

> In solutions/nikolay_nikiforchuk/sources/task_1_5/main.cpp:
>
> > +#include <iterator>
> > +#include <set>
> > +
> > +using namespace std;
> > +
> > +void logLine(vector<int*> &line){
> > +    std::cout << "Current line" << std::endl;
> > +    std::vector<int*>::iterator it = line.begin();
> > +    for(it; it != line.end(); ++it){
> > +        std::cout << "-" << (*((int*)*it));
> > +     }
> > +    std::cout << endl;
> > +}
> > +
> > +class Walker{
> > +    int WATER_ID = -1;
>
> which compiler do you use? this line can't be compiled by casual c++
> compilers
>
> --
> Reply to this email directly or view it on GitHub<https://github.com/sidorovis/cpp_craft_1013/pull/127/files#r7391174>
> .
>



-- 
ó õ×ÁÖÅÎÉÅÍ îÉËÏÌÁÊ.
Sincerely yours Nikolay.