im working with c++ (MinGW), cout < < i < < endl; in loop after run sumline crash without endl work normal