- Upvotes Received
- 0
- Posts with Upvotes
- 0
- Upvoting Members
- 0
- Downvotes Received
- 2
- Posts with Downvotes
- 1
- Downvoting Members
- 2
3 Posted Topics
HI. I made a program for my homework it doesnt fulfill the task completely but i think it's gonna do the job.What do you say will it do the job or not ???? Heres the task:Write a program square that calculates the squares of all numbers that are contained in …
I need to write a program square that calculates the squares of all numbers that are contained in a file of floating point numbers. The obtained new numbers form a new file. For example if the file contains the numbers 1, 2.5, 0.1, the numbers 1, 6.25 and 0.01 form …
[QUOTE=Theanonymous;1175837]this is the code which I write, this doesn't fulfill the condition completely but I think that is not a problem [CODE] #include <iostream> #include <fstream> #include <string> using namespace std; int main() { cout << "Enter the input file name: "; string finame; cin >> finame; ifstream in; in.open(finame.c_str()); …
The End.
finchh