plz solve this qs for me
Write a program in C++ that transforms an extended name into its initial form, for example Sudhansh Kumar Sharma to S. K. Sharma. On 05 Apr 2007 06:38:29 -0700, Nico Heinze <[EMAIL PROTECTED]> wrote: > > --- In [email protected] <c-prog%40yahoogroups.com>, Mickey > Mathieson <[EMAIL PROTECTED]> wrote: > > > > > > --- "Brett W. McCoy" <[EMAIL PROTECTED]> wrote: > > > > > On 04 Apr 2007 07:21:53 -0700, Tamas Marki > > > <[EMAIL PROTECTED]> wrote: > > > > On 04 Apr 2007 07:07:35 -0700, sanofsans > > > <[EMAIL PROTECTED]> wrote: > > > > > The command line is system("script"); and not a > > > perl command. > > > > > I am running it on Windows. Any suggestions? > > > > > > > > Ah, I thought that you were the one who asked > > > about executing a perl script. > > > > But my recommendation still applies, just use it > > > like that: > > > > > > > > system ("script > output.txt"); > > > > > > An alternative is to use the popen() function form > > > stdio.h and be able > > > to grab the output directly from the running process > > > inside your C > > > code. > > > > > > (Does popen() work on Windows?) > > > > > > -- Brett > > > > http://msdn2.microsoft.com/en-us/library/96ayss4b(vs.71).aspx > > And, in contrary to the statements at this web site, popen() is > defined in stdio.h since at least compilers for Windows 98. > > Regards, > Nico > > > [Non-text portions of this message have been removed]
