+ 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?

13th Feb 2018, 7:13 PM
Muhammad Adil Adee
Muhammad Adil Adee - avatar
1 Odpowiedź
+ 2
#include <cstdlib> #include <iostream> #include <fstream> using namespace std; int main() ....... char, float, int.... ofstream output ("data.txt"); ifstream input ("data.txt");
14th Feb 2018, 2:23 AM
Jusuf Hasic
Jusuf Hasic - avatar