grep all lines after first match

C++
For grepping all lines from match to end of file use onw of following:
sed -n '/matched/,$p' file
awk '/matched/,0' fileFor retrieving part from match to end of file use onw of following:
sed -n '/matched/,$p' file
awk '/matched/,0' file
Source

Also in C++: