actually, the below program is a console program, and needs command line arguments, that are as files i'm entering from (project properties-Visual studio c++ 2008). how can i make this program enter this file (arguments) and its content from screen by user(not as command line arguments)??
void __cdecl _tmain(int argc, TCHAR *argv)
if( argc == 3 ) //recombine
long long size=GetFileSize(argv);
else if(argc == 2)
printf("Error. To split a file pass a parameter with the file to be splitted\n");
printf("To recombine the file give the name of the original file and the output file\n");
printf("The name of the file is used to get the size of the original file only, in a production\n");
printf("environment the length of the original file and the id of the share must be stored along with the share");
this is a link of whole program (http://www.juancamilocorena.com/home/projects)
Information Dispersal Algorithms Rabin-IDA.