From: Todd Benson Date: 2007-12-27T10:14:48+09:00 Subject: Re: File handling On Dec 26, 2007 4:44 AM, Robert Klemme wrote: > > On 26.12.2007 09:17, Advait Bellur wrote: > > ex > > ABC student3 > > o/p => student3 85 84 89 > > > > similarly > > DEF student12 > > > > o/p => 77 84 96 student12 84 > > > > How could I achieve this > > Frankly, this looks like a homework assignment and I am reluctant to > implement this for you. Also it seems, the spec is not yet fully clear > (to you). So while we have a pretty good specification (or rather > example) of the input data, it is still not clear to me what output you > expect. You talk about putting your input data into a single > associative array which is implementation terminology. But the > important bit is to get the _requirements_ straight _first_. > > Kind regards > > robert > I'm still not sure, but I think Advait wants to search for a line in a file. Is that true, Advait? Todd