ok what i want to do is to build a function that will take unspecified number of strings.
int foo("ARS IS COOL","H-HOUR IS KEWL", "NO SCRIPT KIDDIES")
ok if i were to pass it 5, 10, or 256 (or any number in between) strings how can i write the overloaded function without having to write 256 slightly differnt functions
also is there a way to get the number of strings passed to the function foo
im thinking of a char* or somthing
please let me know if this can be done and if it can how you can do it
thanks
int foo("ARS IS COOL","H-HOUR IS KEWL", "NO SCRIPT KIDDIES")
ok if i were to pass it 5, 10, or 256 (or any number in between) strings how can i write the overloaded function without having to write 256 slightly differnt functions
also is there a way to get the number of strings passed to the function foo
im thinking of a char* or somthing
please let me know if this can be done and if it can how you can do it
thanks