how to send return(enter button) character through program in windows c/c++? I want to send an external program "user name" with enter button through pipe but "\n" and "\r" and EOF are not working..
+1
A:
If this is conole application, write "\r\n" to its STDIN.
Otherwise, use SendInput
elder_george
2009-10-09 09:41:43
\r\n is not working
suresh
2009-10-09 09:47:14