Usage: <executable> -i <inputFile> -p <prefix for line> build_increment.exe -i version.h -p "#define VERSION" Note: input file must exist and contains line with prefix to be able to read integer.