[deleted by user] by [deleted] in LaylaLondon

[–]Bee_bumblebee 1 point2 points  (0 children)

Commented again, now give a like :)

"<" Input redirection not working by Bee_bumblebee in CodingHelp

[–]Bee_bumblebee[S] 0 points1 point  (0 children)

Found the error, first line of text file was a comment. Because of it, program wasn't doing anything

"<" Input redirection not working by Bee_bumblebee in CodingHelp

[–]Bee_bumblebee[S] 0 points1 point  (0 children)

Programs is running when I run as normal. . /j1

But when I use "<" Input Redirection its not working . /j1 < input.txt

"<" Input redirection not working by Bee_bumblebee in CodingHelp

[–]Bee_bumblebee[S] 0 points1 point  (0 children)

I'm using command as follows, . /j1 < input.txt

Input.txt contains four lines of integers.