Reputation
Top tag
Next privilege 125 Rep.
Vote down
Badges
3
Newest
 Student
Impact
~862 people reached

  • 0 posts edited
  • 0 helpful flags
  • 9 votes cast
May
24
comment I/O redirection using cygwin and mingw
I believe the problem was that I was not flushing the output stream fflush(stdout) in my application, which caused the data not to be output to the file, but output to the screen properly (\n line breaks).
Jul
8
comment I/O redirection using cygwin and mingw
@Pablo Castellazzi I am printing to stdout (just using printf), but am using "\n" instead of "\r\n." I don't think that should change the fact that I'm not getting any output at al, right? I will try changing the line endings to \r\n and let you know.
Jul
8
comment I/O redirection using cygwin and mingw
@Breakthrough Yes. Outputting to a file "./prog &> output.txt" or "./prog > output.txt" yields an empty output.txt
Jul
8
awarded  Student
Jul
8
asked I/O redirection using cygwin and mingw
Aug
5
comment eclipse: start a tomcat project
Are you using this eclipse? Using this one it is easy to create a project that can deploy on Tomcat.
Aug
5
awarded  Supporter
Jul
12
awarded  Autobiographer