LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices



Reply
 
Search this Thread
Old 01-28-2010, 12:28 PM   #1
amused
LQ Newbie
 
Registered: Jan 2010
Posts: 6
Blog Entries: 1

Rep: Reputation: 0
Question problem with input and output on C++ programming.


As i am new to C++ i couldn't figure out how to input a file and make some change on the file and produce a output file. like this problem i have is.

"Program that processes an input file and produces an output file. The input file will contain lines of data, each containing two floating point numbers. The lines of the output file should contain the two numbers read and their average (with a '$' sign and 2 places after the decimal point)."

Thank you for your help in advance.
 
Old 01-28-2010, 12:51 PM   #2
a4z
Member
 
Registered: Feb 2009
Posts: 526

Rep: Reputation: 188Reputation: 188
you can find here
http://www.cppreference.com/wiki/io/start
all infos that you need for your homework
 
Old 01-28-2010, 12:55 PM   #3
amused
LQ Newbie
 
Registered: Jan 2010
Posts: 6
Blog Entries: 1

Original Poster
Rep: Reputation: 0
thankc for the link.
 
  


Reply

Tags
c++, input, output


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
input and output nagavinodh Linux - Newbie 2 09-12-2009 03:17 AM
DD Input/output error Aegreen Linux - Newbie 4 04-16-2009 08:26 AM
bash input/output redirect problem greno Programming 2 12-31-2006 04:23 PM
Input/Output Error lwcangus Linux - Software 0 02-06-2005 09:59 PM
NFS Input/Output error after filesystem mounted problem wahhh Linux - Networking 1 09-06-2004 08:48 PM


All times are GMT -5. The time now is 12:58 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration