Categories:
.NET (357)
C (330)
C++ (183)
CSS (84)
DBA (2)
General (7)
HTML (4)
Java (574)
JavaScript (106)
JSP (66)
Oracle (114)
Perl (46)
Perl (1)
PHP (1)
PL/SQL (1)
RSS (51)
Software QA (13)
SQL Server (1)
Windows (1)
XHTML (173)
Other Resources:
How can I call a function with an argument list built up at run time?
How can I call a function with an argument list built up at run time?
✍: Guest
There is no guaranteed or portable way to do this.
Instead of an actual argument list, you might consider passing an array of generic (void *) pointers. The called function can then step through the array, much like main() might step through argv. (Obviously this works only if you have control over all the called functions.)
2015-06-03, 1597👍, 0💬
Popular Posts:
What is difference between SITP and UTP in testing ? UTP (Unit Test Plan) are done at smallest unit ...
it will be very helpful if you send some important Questions with Answers of DBMS Tell us what types...
How to reduce the final size of an executable file? Size of the final execuatable can be reduced usi...
Do You Know the Book "JUnit in Action"? You should know this book. It received some good reviews. Ti...
What are the standard ways of parsing XML document? XML parser sits in between the XML document and ...