|
-
August 19th, 1999, 08:10 AM
#1
using an int [] array when the size is not known
I need to use and declare a int [] array to pass to this function...
something like
int phPrinter[] = ???????
and pass this phPrinter to this function... (the 2nd Parameter)
OpenPrinter(String, int [], Printer_Defaults /* can be null */);
The function initialises the int [] .
Please does anybody know how to do this...
I keep getting an error 87 (invalid parameters) when I try:
int phPrinter[] = {0}; and pass that.
the first param is just a string and the last (3rd) can be null so that leaves param 2... So how does one pass and unknown int array to a function. Class Vector doesn't do what I need to do or does it??
Thanking you in advance.
Chris
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
|