Well if you don't want to use file operating functions you can redirect the
file for the standard input if you want so, it works for both linux and
windows.

If Linux

./YourProgram < file.in

If Windows

YourProgram.exe << file.in (here I can't remember exactly if it is one or
two <, test it)

So it will be exactly as reading from keyboard.

On Fri, Aug 14, 2009 at 10:54 PM, shreyas p <[email protected]> wrote:

> Each problem specifies the input format;
> example, An integer 'N' in the first line, followed by N test cases one on
> each line, each containing 3 integers.
>
> You have to open the input filw just like any other file and read the
> elements from the file in the order of specification.
>
> You can code on ANY Operating System.
> And also any programming language or tool ; But they should be freely
> available to anyone.( doesn't apply to the OS :) ).
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"google-codejam" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/google-code?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to