|
Post by Abhishek on Jun 26, 2012 23:16:51 GMT -5
This is your first assignment !
|
|
|
Post by Abhishek on Jun 27, 2012 23:30:48 GMT -5
Hello Everyone, I have mailed you the input script to generate input files. If any did not get it, I have also uploaded it on the site. Hope the instructions are very clear. Please ask questions where you don't understand things !
|
|
|
Post by Varshanth on Jun 28, 2012 10:41:19 GMT -5
Hey bro, a couple of details required.
1st: are the numbers stored in the files one per line?
2nd: are the numbers stored in binary format using write() or stored using char ( using put(ch) or fobj<< ) ?
|
|
|
Post by Abhishek on Jun 28, 2012 15:18:10 GMT -5
@varshant
I am glad you asked it. The number are stored in the file one per line. And it is a normal text file, no binary and stuff. Of course, you will be reading them as ASCII characters, and would need to convert them to integers in your program. You have certain commands to do this !
|
|
|
Post by Abhishek on Jun 28, 2012 15:20:10 GMT -5
@everyone
You can run the script which I gave you. That will generate the input files you need. And then have a look at the input files for an idea of how the input will be !
Hope this helps ! All the best
|
|