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 gerar um podcast a partir de um livro em PDF
Automatizando digitação de códigos 2FA no browser
Resolver problemas de Internet
Como compartilhar a tela do Ubuntu com uma Smart TV (LG, Samsung, etc.)
Como Instalar o Microsoft Teams no Linux Ubuntu
Músicas de Andrew Hulshult no DOOM (WAD)
Instalar o Apache, MySQL e PHP no Oracle Linux 8
Bloqueando telemetria no Deepin 23.1
Como converter imagens PNG/JPEG para SVG em linha de comando