am moddificat
#include<fstream.h>
int a,b;
ifstream f("adunare.in")
ofstream g("adunare.out")
si tot la evluare imi da 0 puncte...?!?!?
Later Edit:
Eroare de compilare in evaluator:
In file included from /usr/include/c++/4.2/backward/fstream.h:31, from user.cpp:1: /usr/include/c++/4.2/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the <X> header for the <X.h> header for C++ includes, or <iostream> instead of the deprecated header <iostream.h>. To disable this warning use -Wno-deprecated. user.cpp:13:2: warning: no newline at end of file user.cpp:4: error: expected ',' or ';' before 'ofstream'
Editat de moderator: Nu postati de mai multe ori consecutiv, mai ales daca e vorba despre acelasi lucru. Modificati, in schimb, mesajul anterior.