Italian to English translations [PRO] Tech/Engineering - Computers (general) / University Course Description | | Italian term or phrase: passagio di parametri di tipo funzione | Contesto:
Linguaggio C: Techniche di programmaz. avanzata [6T + 4E]
**Passaggio di parametri di tipo funzione**
Esercitazione
Passagio di parametri in numero variabile
Esercitazione"
Grazie!
femme |
| | | passing functions as parameters | Explanation: In C/C++, programming languages, it is possible to pass functions as parameters, which is done through pointers in C/C++. As the following example shows, it is possible in other programming languages as well.
http://www.mathworks.com/company/newsletters/news_notes/win0...
See: MATLAB function handles allow you to efficiently pass functions as parameters to other functions. This is particularly useful for solving numerical optimization problems, where many of the solvers require you to provide them with a function to minimize. In previous versions of MATLAB, you pass functions as parameters by passing in the name of the function as a string. These function name strings are then passed to eval() or feval() to invoke the functions they represent. MATLAB 6 introduces function handles, a new data type that represents functions far more efficiently than strings do. |
| Selected response from: Cameron Fordyce Italy Local time: 19:44
| Grading comment Thanks. 4 KudoZ points were awarded for this answer |
| |
| Discussion entries: 0 |
|---|
Automatic update in 00:
|
1 hr confidence: peer agreement (net): -1 passing parameters to functions
Explanation: As distinct from, for example, passing parameters to sub-routines.
How to Pass Parameters to Functions - [ Traducir esta página ]
Prefer passing by const reference. Use a non-const reference when the parameter is used to send a result back to the caller.
www.goingware.com/.../parameters/parameters.html - En caché - SimilaresPassing Parameters - [ Traducir esta página ]
We then tell the function which real variables to use in place of those arguments by passing the required variables as parameters. ...
javascript.about.com/library/bltut08.htm - En caché - SimilaresPassing parameters to a function -- Flash CS3 - [ Traducir esta página ]
28 Apr 2008 ... (In this book, the terms parameter and argument are interchangeable.) You can pass parameters (values) to a function. ...
livedocs.adobe.com/flash/9.0/.../00000759.html - En caché - Similares
| xxxmediamatrix Local time: 13:44 Works in field Native speaker of: English PRO pts in category: 4
|
| |
| | Login to enter a peer comment (or grade) |
2 hrs confidence: peer agreement (net): +2 passing functions as parameters
Explanation: In C/C++, programming languages, it is possible to pass functions as parameters, which is done through pointers in C/C++. As the following example shows, it is possible in other programming languages as well.
http://www.mathworks.com/company/newsletters/news_notes/win0...
See: MATLAB function handles allow you to efficiently pass functions as parameters to other functions. This is particularly useful for solving numerical optimization problems, where many of the solvers require you to provide them with a function to minimize. In previous versions of MATLAB, you pass functions as parameters by passing in the name of the function as a string. These function name strings are then passed to eval() or feval() to invoke the functions they represent. MATLAB 6 introduces function handles, a new data type that represents functions far more efficiently than strings do.
| Cameron Fordyce Italy Local time: 19:44 Works in field Native speaker of: English PRO pts in category: 8
|
| | |
8 hrs confidence:  passing function type parameters
Explanation: It is a long time since I programmed in C and C++ and passed pointers to functions, but once you've managed to do it you don't forget.
I was about to agree with Cameron here but he has omitted an important point and that is the translation of the word "tipo", which is a technical term in most programming languages.
All variables in C and C++ are very heavily typed . It is not sufficient to pass a variable containing a pointer to a function, you have to declare a variable as a "function type" and then declare a pointer to that variable as a "function pointer type". Dead easy one you know how ,-)
Chapter 5: Statement Details
Some of the older C compilers force you to use K&R style parameters. ... Always ** declare a function type**. It is possible to have an integer function that ...
www.oualline.com/style/c05.html - Cached - Similar -
Function Class Annotations and Role Types
In C and C++, you can use a typedef to ** declare a function type**. This is distinct from a **function pointer type** and has not been used very much in most C code ...
msdn.microsoft.com/en-us/library/cc264082.aspx - Cached - Similar -
http://www.google.com/search?hl=en&safe=off&num=100&q=declar...
| James (Jim) Davis Italy Local time: 19:44 Works in field Native speaker of: English PRO pts in category: 55
|
| | | Login to enter a peer comment (or grade) |
Return to KudoZ list
| Changes made by editors |
|---|
| Oct 18, 2009 - Changes made by Barbara Cochran: | | Created KOG entry | KudoZ term => KOG term |
| |
| | | | X Sign in to your ProZ.com account... | | | | |
| KudoZ™ translation helpThe KudoZ network provides a framework for translators and others to assist each other with translations or explanations of terms and short phrases. See also: Search millions of term translations |