how to take unknown no of input in cpp

Solutions on MaxInterview for how to take unknown no of input in cpp by the best coders in the world