int _tmain(int argc, char** argv)
{
FILE* file1=fopen(argv[1],"r");
FILE* file2=fopen(argv[2],"w");
}
It seems as if only the first letter of the arguments is received... I dont get why!
std::cout<<"Opening "<<strlen(argv[1])<<" and writing to "<<strlen(argv[2])<<std::endl;
outputs 1 and 1 no matter what. (in MSVC 2010)