passing (1,898)


Passing multidimensional arrays as function arguments in C

Passing multidimensional arrays as function arguments in C

In C can I pass a multidimensional array to a function as a single argument when I don't know what the dimensions of the array are going to be ? In addition my multidimensional array may contain types…


How to access.Net element on Master page from a Content page?

Is it possible to access an element on a Master page from the page loaded within the ContentPlaceHolder for the master? I have a ListView that lists people's names in a navigation area on the Master…


How do you pass a function as a parameter in C?

I want to create a function that performs a function passed by parameter on a set of data. How do you pass a function as a parameter in C?…


c# - What do ref, val and out mean on method parameters?

I'm looking for a clear, concise and accurate answer. Ideally as the actual answer, although links to good explanations welcome. This also applies to VB.Net, but the keywords are different-ByRef…



java - Passing null to a method

I am in the middle of reading the excellent Clean Code One discussion is regarding passing nulls into a method. public class MetricsCalculator{public double xProjection(Point p1, Point p2){…


functional programming - I just don't get continuations!

What are they and what are they good for? I do not have a CS degree and my background is VB6-> ASP-> ASP.NET/C#. Can anyone explain it in a clear and concise manner?…


sql server - T-SQL stored procedure that accepts multiple Id values

Is there a graceful way to handle passing a list of ids as a parameter to a stored procedure? For instance, I want departments 1, 2, 5, 7, 20 returned by my stored procedure. In the past, I have pass…


asp.net - What is the best approach for(client-side) disabling of a submit button?

Details: Only disable after user clicks the submit button, but before the posting back to the server ASP.NET Webforms(.NET 1.1) Prefer jQuery(if any library at all) Must be enabled if form reloads…


visual studio - What's the state of play with “Visual Inheritance”

We have an application that has to be flexible in how it displays it's main form to the user-depending on the user, the form should be slightly different, maybe an extra button here or there, or so…


C++ function pointers and classes

Say I have: void Render(void(*Call)()){D3dDevice->BeginScene(); Call(); D3dDevice->EndScene(); D3dDevice->Present(0,0,0,0);}This is fine as long as the function I want to use to r…




pass how from parameter function example parameters with value data