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 *\
Atualizando o Passado: Linux no Lenovo G460 em 2025
aaPanel - Um Painel de Hospedagem Gratuito e Poderoso
O macete do Warsaw no Linux Mint e cia
Visualizar arquivos em formato markdown (ex.: README.md) pelo terminal
Dando - teoricamente - um gás no Gnome-Shell do Arch Linux
Como instalar o Google Cloud CLI no Ubuntu/Debian
Mantenha seu Sistema Leve e Rápido com a Limpeza do APT!
Procurando vídeos de YouTube pelo terminal e assistindo via mpv (2025)
Instalação de Ubuntu em SSD (interno) como se fosse um dispositivo ext... (1)
Mikrotik não abre o webmail-segur... da Locaweb (10)