hallo
weiss jemand, wie man in visual c++ 6 zahlen in eine datei schreibt und sie aus der datei liest? es handelt sich um eine windows-applikation.
Pat999 Gast |
Pat999 Gast | « 05.02.09, 15:30:20 »
|
hallo
weiss jemand, wie man in visual c++ 6 zahlen in eine datei schreibt und sie aus der datei liest? es handelt sich um eine windows-applikation.
Guck dir mal {i|o}fstreams an:
std::ofstream logFile( "C:\\myfile.txt" );
int x = 5;
logFile << "10" << x << std::endl;
| « zahlen auf dem bildschirm ausgeben | Länge eines Strings ermitteln » | ||
