Declare a minimal value to the first pair of coordinates. Then compare it with other points using i-counter in a for-loop. If (pair < min) min = pair. Multimap associative container can be used to make pair. You can use usual static array point[x][y] too.
It's exemplary scheme using static array (without multimap pair):
1 2 3 4 5 6 7 8 9
min =point[1][1];
for (i = 2; i <= n; i++) {
for (j = 2; j <= n; j++) {
if (a[i] [j] > min) min = a[i] [j];
}
}
printf("minimal coordinates: %i\n",min);
struct Point {
float x;
float y;
};
bool lower( Point a, Point b ) {
// return true if a is lower than b
}
int main() {
std::ifstream fin("input.txt");
Point p;
std::vector<Point> data;
data.reserve(50);
while ( fin >> p.x >> p.z ) {
// append p to data
}
if ( /*data has points*/ ) {
std::sort( begin(data), end(data), lower );
// show the winner
}
return 0;
}