Your question is not clear. I don't think you want to write your own programming language. I think you probably want to use C/C++ to accept number pairs (coordinates) from the user and write them to a file.

You'll need to be clear which of those you want, however.