C++ probl�me function input in file
Bonjour,
J'ai une fonction de type string qui donc, retourne un string que je veux stocker dans un fichier.
Mais je recois plein d'erreurs notamment une :
.\functions.cpp(59) : error C2677: binary '<<' : no global operator found which takes type 'std::string' (or there is no acceptable conversion)
qui convient � cette ligne :
Code:
direct << timesincelastboot();
direct �tant de type ofstream;
timesincelastboost() retourne le string que je veux stocker,
Merci,
ggcourtois