![]() |
|
#1
|
|||
|
|||
Partition a file on user inputhi all,
I need C++ program that read data from text file and partition it into specific number ,specified by the user.for example the user run the program,the program first will ask the user how many partition do you want ?after obtain the number of partitions ,the program will read the text file and show the partitions on the console and and the content of each partition. thank you in advance aiman |
|||
|
#2
|
||||
|
||||
Re: help needed!Quote:
__________________
The 3 Laws of the Procrastination Society: 1) Never do today that which can be put off until tomorrow 2) Tomorrow never comes |
|
#3
|
|||
|
|||
Re: help needed!Quote:
1) Open the file and count the number of characters. 2) Get the partition number from the user. 3) Calculate the partition size based on the character count and the partition number. 4) Reset the file to the beginning. 5) For each partition, read the correct number of characters from the file and print them to the screen. |
Recent GIDBlog
Install Adobe Flash - Without Administrator Rights by LocalTech
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Program Needed: Perfect Number Program in C language | koool_kid | C Programming Language | 13 | 22-Aug-2009 09:42 |
| C++ games programmer needed (London, freelance contract) | Nickdammit | Computer Programming Advertisements & Offers | 2 | 22-Dec-2008 14:01 |
| help needed !!! | haruka | C Programming Language | 3 | 13-Nov-2007 13:24 |
| Free 1st month / Free setup / No credit card needed...Plans start at 4.95 | LarryIsaac | Web Hosting Advertisements & Offers | 0 | 11-Oct-2003 14:03 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The