Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
Passing a function
Name: JB Date: May 11, 2003 at 14:15:25 Pacific OS: WindowsXP CPU/Ram: pentium4 (wish i had amd)
Comment:
I cant figure out how to pass an array say int x[5]; to a function so that function can access it. I'd like to just be able to pass it the values in the array without manually passing each individual elements.
Summary: I have created a class that need to take a string that is created at run time and pass that to a function that needs to know the strlen. Here is what I have: This is in the header file char strWrite...
Summary: i'm passing a string that contains the name of a variable the prob is now that i can't seem to find a way to use the value of the string as a variable (i know this sounds strange ... it's a bit long t...