Enviado em 13/07/2020 - 17:51h
Deveria ser uma coisa simples, mas não consigo entender porque não quer aceitar!for(std::string Caracter; Caracter = MyFile.get(), !MyFile.eof(); EdTagsSuggestion_Value->append(Caracter.c_str()));
for(std::string Line; getline(MyFile, Line), !MyFile.eof(); EdTagsSuggestion_Value->append(Line.c_str()));
/* ERRO
Encyclopedia.cpp:666:4: error: this ‘for’ clause does not guard... [-Werror=misleading-indentation]
666 | for(std::string Line; getline(MyFile, Line), !MyFile.eof(); EdTagsSuggestion_Value->append(Line.c_str()));
| ^~~
Encyclopedia.cpp:671:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’
671 | MyFile.close();
| ^~~~~~
cc1plus: all warnings being treated as errors *\
Como escolher o melhor escalonador de CPU para melhorar o desempenho da máquina
Curiosidade sobre DOOM Guy e Isabelle de Animal Crossing
Inicializando servidor Ubuntu na AWS e rodando apache em Container
Instalando TeamViewer no Debian 12
Conheça o Octopi, outro frontend para o Pacman com acesso ao AUR (Arch Linux e derivados)
Terminal transparente no Debian 12 com interface i3wm usando Xfce4-Terminal e Compton
Eu estou com problemas para usar o QBASIC no Dosbox X (4)