Yes,I am using c++ and compiler vc++ and i am not able to take input through command line. And fstream method would be very time consuming
On 3/27/13, Carlos Guia <[email protected]> wrote: > Since you mention fstream I'll guess you are using C++. > > You can use "freopen" to redirect input/output in code. > > Or, in a terminal you can run your program (called "program" here) as: > program < problem.in > problem.out > > Carlos Guía > > > On Tue, Mar 26, 2013 at 4:45 PM, champ <[email protected]> wrote: > >> How i am supposed to take input and do output without using fstream? >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Google Code Jam" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> To post to this group, send email to [email protected]. >> For more options, visit https://groups.google.com/groups/opt_out. >> >> >> > > -- > You received this message because you are subscribed to the Google Groups > "Google Code Jam" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- You received this message because you are subscribed to the Google Groups "Google Code Jam" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
