From: <MS...@FS...> - 2005-01-03 12:10:35
|
Dear list, Following my email earlier, I have a bit of a feature request, which I am w= illing to implement myself, but, to my misfortune, my knowledge of C is rat= her... restricted. What I want to do, is using Associate to send its neares= t neighbour output (documents and words) to a text-file instead of to the s= creen. My experience in other programming languages tell me this shouldn't = be much of a problem, so I hope someone can give me a clear answer. Now, I could be wrong here, but I think, this is the part where the output = is printed: /* Print the result. */ if ( !print_list( list, num_results_printed )) { fprintf( stderr, "Can't print output."); exit( EXIT_FAILURE); } What do I need to change in order to get my results written to a textfile? = If someone with a bit of C-knowledge could help, I'd greatly appreciate it. Cheers, Michiel Spap=E9 ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This footnote also confirms that this email message has been swept by the mailserver for the presence of computer viruses and executables. ********************************************************************** |