Welcome to the new platform of Programmers Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use it's exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.
NeedHelp c++ code to open a file and search a token (Unix environment)
[b][red]This message was edited by jedi06 at 2006-1-30 21:50:15[/red][/b][hr]
[b][red]This message was edited by jedi06 at 2006-1-30 21:49:0[/red][/b][hr]
What program does (Compiled and run on Unix):
Get Key and filename from user
1.) Open the file.
2.) Read each line of the file. If the key matches the first token of the line, display the line.
Here is the link to the program assignment(cs216)http://www.cs.uky.edu/~paulp/CS216PGM1.html
This is supposedly an easy assignment. Just need help with the c++ program, Shell script is done. Can anyone help please?