Expand|Select|Wrap|Line Numbers
- ret = execlp( "somefile", "somefile", num1, num2, (char *)0 );
This, on the other hand, works fine:
Expand|Select|Wrap|Line Numbers
- ret = execlp( "somefile", "somefile", argv[1], argv[2], (char *)0 );
Say, somefile simply says
Expand|Select|Wrap|Line Numbers
- cout << argv[1] << endl;
Any help is greatly appreciated!!