Borderou de evaluare (job #803570)

Utilizator avatar Sebastianus Lungu Sebastian Sebastianus IP ascuns
Problemă Laborator (clasa a 5-a) Compilator cpp-32
Rundă lasm_09_01_2025_clasa10 Status evaluat
Dată 9 ian. 2025 19:09:19 Scor 0

Raport evaluator

Eroare de compilare: main.cpp:4:13: error: variable 'std::ifstream fin' has initializer but incomplete type 4 | ifstream fin("laborator.in"); | ^ main.cpp:2:1: note: 'std::ifstream' is defined in header '<fstream>'; this is probably fixable by adding '#include <fstream>' 1 | #include <iostream> +++ |+#include <fstream> 2 | main.cpp:5:14: error: variable 'std::ofstream fout' has initializer but incomplete type 5 | ofstream fout("laborator.out"); | ^ main.cpp:5:14: note: 'std::ofstream' is defined in header '<fstream>'; this is probably fixable by adding '#include <fstream>'