Argument-passing may refer to two different things: (1) the process of providing a program being started with some initial pieces of information (the arguments) on its command line; (2) the process of providing the initial values (the arguments) for the parameters of a function when it is called.
Questions tagged [argument-passing]
777 questions
-1
votes
2 answers
Trying to pass an array to my class constructor
I am having trouble passing an array to my sorting classes because i need to sort the same array with two different algorithms. I am getting the error
Multiple markers at this line
- Syntax error on token(s), misplaced
construct(s)
- Syntax error…

Ryan_lx
- 13
- 4
-1
votes
2 answers
Error in passing variable arguments
I have an interface
import javax.naming.AuthenticationException;
import com.unboundid.ldap.sdk.LDAPException;
public interface AuthenticationServiceManager {
/**
* Creates the Connection for the specific user logging in, and binds…

user3438489
- 309
- 2
- 5
- 14
-1
votes
1 answer
php creating a repeating form
I am trying to create a repeating form that passes variable and updates the table each time the page is submitted.
for example:
-1
votes
1 answer
Sending Outlook Mail from R via a Perl Script
Original problem: How to pass arguments in a string from an R script to a Perl script via the system() command where one flag may have 0 or more arguments.
For example: "Email.perl -t " p1@email.com; p2@email.com;" -c " p3@email.com; p4@email.com;"…

ZSH
- 652
- 6
- 22
-1
votes
3 answers
Changing an argument from inside a function
Consider functions A, B and C.
void A(){
int arg;
B(arg);
}
void B(int& arg){
C(arg)
}
void C(int& arg){
arg = 10;
}
I want value of my argument to be set by function C. This code gives an error. The order of the function calls has to…

Vishal
- 989
- 2
- 11
- 19
-1
votes
1 answer
Creating threads to do calculations on array - does not seem to access array correctly
Ok so I'm passing an argument to a thread that I use to tell it where to look in an array. I've got rid of the segmentation fault that was previously being thrown but it's still not working as I'd like. The int passed in pointer seems to change…

6TTW014
- 627
- 2
- 11
- 24
-1
votes
2 answers
Why isn't CodeIgniter passing variables?
Possible Duplicate:
CodeIgniter Routing
What should be happening: user navigates to URI, routes.php grabs the State and sends it to the controller, the controller returns some info from a database query. Pretty basic stuff.
The problem: the URI…

Tyler Rash
- 1,165
- 1
- 8
- 19
-1
votes
1 answer
Passing Date Array to a UDF giving error 13
I wrote a subroutine and was using the following code without any error in that sub routine.
Only relevant code:
Dim CandleEndTimes() as Date
NoOfCndlInDay = 5
ReDim Preserve CandleEndTimes(NoOfCndlInDay)
CandleEndTimes = Array(#10:30:00 AM#,…

BrajkishorB
- 3
- 3
-1
votes
1 answer
want to pass variable from template tool kit file to cgi script
i am having the code in the template tool kit file :
test