473,386 Members | 1,699 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Homework Assignment - closed

Hey guys

i really need ur help in my C++ assignment , its very hard 4 me coz its the first time 4 me to take a course in programming or anything related to computer !!! :s
so plzzzzzzzzz help me if u can ??

i'll give u the output, which i have to find its input 4 the assingnment, and u see if u can help me finding the input !

here's the output :
-------------------------------------------------------------------------------------------------------------------

File Processing
===========

1- Number of Lines
2- Number of Words
3- Number of Letters
4- Number of Digits
5- Number of Printable ASCII Characters
6- Quit
>_

-------------------------------------------------------------------------------------------------------------------



//And after u choose one of these selections, it asks u to enter the input file name which u want it to read and to find the number of its lines or digits or whatever:
//If u chose Option 1 , for example, that's what it will ask u to put :

--------------------------------------
You chose Menu Option #1
Enter you output file name :
-------------------------------------

//and then, after u enter ur input file name which will be for example , C:\RedRoses.in , it will ask u to enter ur output file name :

----------------------------------------
Enter you output file name :
----------------------------------------

// and after u enter ur input and you output file names, it will give u the number of lines in the file u chose coz u chose option#1 for sure as I said b4 !
And it will also create an output file written in it also the option u chose with the information u wanted to know , which was the number of lines for example .


That's it
I hope u understood it !!!!

Im waiting 4 ur help and ur replay coz im sure u can help me , and im sure that ur so much better than me in these things !!!


Thnx a lot ,
Bye,

Rose
Jun 1 '07 #1
3 1443
svlsr2000
181 Expert 100+
http://www.cplusplus.com/doc/tutorial/files.html

go through all the functions and calls related to file io. this would help u alot. try it your self and one day your programming skills would help you to win google contest.
Jun 1 '07 #2
Hey guys

i really need ur help in my C++ assignment , its very hard 4 me coz its the first time 4 me to take a course in programming or anything related to computer !!! :s
so plzzzzzzzzz help me if u can ??

i'll give u the output, which i have to find its input 4 the assingnment, and u see if u can help me finding the input !

here's the output :


-----------------------------------------------------------------------------------------------------------------
File Processing
===========

1- Number of Lines
2- Number of Words
3- Number of Letters
4- Number of Digits
5- Number of Printable ASCII Characters
6- Quit
>
-----------------------------------------------------------------------------------------------------------------




//And after u choose one of these selections, it asks u to enter the input file name which u want it to read and to find the number of its lines or digits or whatever:
If u chose Option 1 , for example, that's what it will ask u to put :

--------------------------------------
You chose Menu Option #1
Enter you output file name :
---------------------------------------


//and then, after u enter ur input file name which will be for example , C:\RedRoses.in , it will ask u to enter ur output file name :

----------------------------------------
Enter you output file name :
----------------------------------------


// and after u enter ur input and you output file names, it will give u the number of lines in the file u chose coz u chose option#1 for sure as I said b4 !
And it will also create an output file written in it also the option u chose with the information u wanted to know , which was the number of lines for example .


That's it
I hope u understood it !!!!

Im waiting 4 ur help and ur replay coz im sure u can help me , and im sure that ur so much better than me in these things !!!


Thnx a lot ,
Bye,

Rose
Jun 1 '07 #3
MMcCarthy
14,534 Expert Mod 8TB
This site has very strict guidelines regarding Homework/Coursework questions and our experts do not volunteer their time to do yours for you.

You have already received one warning by PM and any further posts of this nature will result in your account being temporarily banned. Your posts have been merged and this thread has been closed. Please do not post it again.

If you attempt the assignment yourself our experts will be happy to help you with any difficulties you run into. However, they will not do your assingment for you.

ADMIN
Jun 1 '07 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

31
by: Fred Astair | last post by:
I used this site for a c++ homework assignment that my teacher left me no clue on how to do it. http://www.betterteachers.com. Check it out. Fred
11
by: spawn | last post by:
but I've been struggling with this for far too long and I'm about to start beating my head against the wall. My assignment seemed simple: create a program that will cacluate the running total of...
5
by: karafire2003 | last post by:
I was wondering if someone can help me with my homework. here's the assignment: a. Write a C program that has a declaration in main() to store the string "What's for lunch?" into an array named...
1
by: RedRoses | last post by:
Hey guys I really need ur help in my C++ assignment , its very hard 4 me coz its the first time 4 me to take a course in programming or anything related to computer !!! :s so plzzzzzzzzz help me...
2
by: DonE | last post by:
Help me please. I am having problems with my homework assignment. We are to create a product class that hold the item number, the name of the product, the number of units in stock, and the price of...
3
by: alireza6485 | last post by:
I need to write a C# program that asks for a pattern and for each pattern beeps one and goes silence for 1 second. This is my code: for (int i=0;i< pattern; i++) { ...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.