About reading from input file

I am using Windows and it is showing the error

PS C:\Users\sanja\Documents> ./manmohanlovepattern < input.txt

At line:1 char:23

  • ./manmohanlovepattern < input.txt
  •                   ~
    

The β€˜<’ operator is reserved for future use.
+ CategoryInfo : ParserError: (:slight_smile: [], ParentContainsErrorRecordException
+ FullyQualifiedErrorId : RedirectionNotSupported

PS C:\Users\sanja\Documents> ./manmohanlovepattern.exe < input.txt

At line:1 char:27

  • ./manmohanlovepattern.exe < input.txt
  •                       ~
    

The β€˜<’ operator is reserved for future use.
+ CategoryInfo : ParserError: (:slight_smile: [], ParentContainsErrorRecordException
+ FullyQualifiedErrorId : RedirectionNotSupported

PS C:\Users\sanja\Documents> ./manmohanlovepattern.exe < input.txt >output.txt

At line:1 char:27

  • ./manmohanlovepattern.exe < input.txt >output.txt
  •                       ~
    

The β€˜<’ operator is reserved for future use.
+ CategoryInfo : ParserError: (:slight_smile: [], ParentContainsErrorRecordException
+ FullyQualifiedErrorId : RedirectionNotSupported

@gargshivam2001 please share screenshot for the same

Also don’t forget to share your code using ide.codingblocks.com
If you don’t know how to share it using ide.codingblocks.com , you can also ask me that i will tell you how to share with it.

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.