const char* argv
From: JKop (NULL_at_NULL.NULL)
Date: 09/30/04
- Next message: Philipp: "flush on close()?"
- Previous message: Peter Kragh: "Re: Blocking virtual methods"
- Next in thread: Sharad Kala: "Re: const char* argv"
- Reply: Sharad Kala: "Re: const char* argv"
- Reply: Mike Wahler: "Re: const char* argv"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 30 Sep 2004 12:40:33 GMT
Why isn't:
int main(int argc, char* argv[]) { /* ... */ }
as:
int main(int argc, const char* argv[])
I assume you can't edit the strings which argv points to. . . right ?
-JKop
- Next message: Philipp: "flush on close()?"
- Previous message: Peter Kragh: "Re: Blocking virtual methods"
- Next in thread: Sharad Kala: "Re: const char* argv"
- Reply: Sharad Kala: "Re: const char* argv"
- Reply: Mike Wahler: "Re: const char* argv"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]