M
mark
int main(int argc, char *argv[])
Not giving the argument via command line and trying to access it
inside the
program, gives the following error
on VC++ Application error (launches debugger if requested)
on Linux g++ "PWD=/home/local" (the present working directory where
the
program was called from
on VC++ it is fine as one is trying to access a memory location which
has not been defined.
How is g++ handling this error ? is it ok ?
Not giving the argument via command line and trying to access it
inside the
program, gives the following error
on VC++ Application error (launches debugger if requested)
on Linux g++ "PWD=/home/local" (the present working directory where
the
program was called from
on VC++ it is fine as one is trying to access a memory location which
has not been defined.
How is g++ handling this error ? is it ok ?