I have the following signature:
int _tmain(int argc, _TCHAR* argv[])
I would like to write the following:
FILE *inputFilePtr; inputFilePtr = fopen(argv[2], "_r");
But there is a type mismatch. How am I supposed to do this? Should I use:
inputFilePtr = _tfopen(argv[2], ??????);
Thanks!
source share