|
-
January 7th, 2002, 09:51 AM
#1
C++ question
I have one question... I have to pass as argument an array of string to a function that has an array of pointer to void as argument, but my code, that's like this:
//
void f(void *ptr[])
{}
//
int main()
{
//
string str[2] = {"hello", "world"};
f(....);
//
}
doesn't work.
Can somebody help me?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|