Thanks a lot
On Fri, Apr 9, 2010 at 1:52 AM, Damon Doucet wrote:
> By the way, using i/ofstream requires you to put
>
> #include
>
> with the rest of your include statements.
>
> On Thu, Apr 8, 2010 at 3:21 PM, Damon Doucet wrote:
>
>> You could also learn how to do file handling in your ow
By the way, using i/ofstream requires you to put
#include
with the rest of your include statements.
On Thu, Apr 8, 2010 at 3:21 PM, Damon Doucet wrote:
> You could also learn how to do file handling in your own programming
> language. (There are many tutorials online)
>
> For example, in C++
You could also learn how to do file handling in your own programming
language. (There are many tutorials online)
For example, in C++ you could do
ifstream input("test.in");
then instead of using cin >> value, you would do input >> value.
Likewise, for output:
ifstream output("test.out");
outpu
sry ... i put output name same as executable name :P
this should be fine :
./a.out < 1.in > 1.out
On 9 April 2010 00:31, Bharath Raghavendran wrote:
> one option is to use file handling in the code and take input from
> file and put output to new file
>
> other option is use redirection operator
one option is to use file handling in the code and take input from
file and put output to new file
other option is use redirection operator in command line while running
code. use stdin and stdout operations in code (cin and cout for
example) and while running code, type
./a.out < a.in > a.out
thi
I have downloaded small input file in practice test.can anybody tell
me how to test that input with your program and how to make output
file to submit..
--
You received this message because you are subscribed to the Google Groups
"google-codejam" group.
To post to this group, send email to googl