/*------------------------------------Main.cpp----------------------------------------------*/ #include <stdio.h> #include <stdlib.h> #include <string.h> #i...