Very very thanks to you mr. Felipe.can u plzzz tell how to upload
source file and output file if i am not using file handling.

On 5/7/10, Felipe Sodré Silva <[email protected]> wrote:
> No. You can write a program as if you were going to do the input through
> keyboard, and then set the input file as the standard input. The following
> works on linux and windows:
>
> int main(void){
> int c;
> cin >> c;
> cout << (c+1) << endl;
> }
>
> The program above uses cin, which is the stream reader for the standard
> input (usually the keyboard).
> If instead of doing the input using the keyboard you want to use a number
> written on file input.txt, you can just do:
>
> app.exe < input.txt
>
> The cout object will output the results to the standard output (usually your
> screen), but you can also throw it into a file. For example:
>
> app.exe < input.txt > output.txt
>
> In the case above, the output of your program app.exe for the input in
> input.txt will be written into the file output.txt.
>
> Here I used C++, but that works with most programming languages.
>
> Hope it helps
>
>
>
> On Fri, May 7, 2010 at 8:12 AM, sandy <.....> <[email protected]> wrote:
>
>> Can u plz tell the way of using file handling in problems.is it
>> neccesary to use file handling?
>>
>> On 5/7/10, Leopoldo Taravilse <[email protected]> wrote:
>> > Yes, I participated in 2008 and 2009 reaching 2nd and 3rd round.
>> >
>> > --
>> > 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]<google-code%[email protected]>
>> .
>> > For more options, visit this group at
>> > http://groups.google.com/group/google-code?hl=en.
>> >
>> >
>>
>> --
>> 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]<google-code%[email protected]>
>> .
>> For more options, visit this group at
>> http://groups.google.com/group/google-code?hl=en.
>>
>>
>
> --
> 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.
>
>

-- 
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