+ 2
File management in c++
how we can a write a program in c++ to take square of given value by user and store the input and result that user do?
1 Réponse
+ 2
#include <cstdlib>
#include <iostream>
#include <fstream>
using namespace std;
int main()
.......
char, float, int....
ofstream output ("data.txt");
ifstream input ("data.txt");