Sent from my iPhone
On Jun 3, 2010, at 5:15 AM, "alexandrfedorov at gmail dot com" > wrote:
I'm trying to write windows console application working with
directories, and i
discover that arguments processed not right. For example:
#include
int main ( int argc, char *argv[], char *envp[] )
I'm trying to write windows console application working with directories, and i
discover that arguments processed not right. For example:
#include
int main ( int argc, char *argv[], char *envp[] ) {
std::cout << "you have " << argc << " arguments";
}
resulting:
>a.exe "a a"
you have 2 arguments