We are using OpenTK, C# and visual studio 2010. We need to ask the graphics device if it supports texture2DArray's, and what anti-aliasing modes it may support. Any help will be appreciated.
...
Hi,
I'm looking to initialize a global array of stucts in C within the header file however it keeps complaining when compiling. Here's my struct
typedef struct
{
char input[100][100];
int count;
char name;
}INPUT;
extern INPUT[] global;
Thanks
...
I have a Perl script to analyze many megabytes of data line-by-line.
As an example, I will use the close of the Dow Jones Average by day for several lines.
The data is read and the layout of the data in the file is straightforward. In this example, it is:
Date Open High Low Close Volume Adj-Close
As I read the data, many calculation...
Hello!
I have an array:
print_r($resultArray);
Array
(
[AB34] => Array
(
[a] => 13
[b] => 10
[c] => 3
[d] => 88
[e] => 73
)
...
)
And I want to copy this array into another one:
$resArray[] = $resultArray;
print_r($resArray);
->
Array
(
[0] ...
Hi all,
I'm wondering how I might go about searching the array below for the key problem_id and a value equal to a variable which I would provide. Then, when it finds an array with a the matching key and variable, it outputs the other values in that part of the array too.
For example, using the sample data below. How would you recommen...
How to get an iterator for an array in java?
int[] arr={1,2,3};
for(int i:arr)
System.out.println(i);
How does the above for-each loop work ? Is the array converted to a list to get the iterator ?
...
hi,
i'm having some simple gui environment with a button widget (=jquery plugin)
there's a gui object which holds all widgets like:
myGui["button1"] = button1;
myGui["button2"] = button2;
what i want to do is defining a widget array like:
myGui["button"][0] = button1;
myGui["button"][1] = button2;
but i'm getting an error: myGui["...
I'm coding a C++ function that accepts a string, an array and the size of the array. It looks like this:
bool funcname (string skey, string sArr[], int arrSz)
I want to pass several array data types, such as double, char, long int, etc. Is it right to use string as data type for the array? Or is there a general data type that I can us...
Hi
i am new to iphone.. I have stored the images in array .I want to know how to display those images in UIImageView ,where the UIImageView should be created dynamically according to filelist count increases, in for loop. this is the code
NSArray *filelist;
NSFileManager *filemgr;
int count;
int i=0;
int t=0;
filemgr = [NSFileManager ...
I have an array like this:
Array
(
[0] => Array
(
[id] => 9826
[tag] => "php"
)
[1] => Array
(
[id] => 9680
[tag] => "perl"
)
)
I want to pass this to a javascript variable that looks like this:
var availableTags = [
"ActionScript",
"AppleScript",
"...
Hi,
I have this array:
$a = array('it' => 'italiano',
'fr' => 'francese',
'en' => 'inglese',
'es' => 'spagnolo',
'de' => 'deutsch',
);
Is there any function that i give as arguments the array and a key (for example 'en') and it returns 'inglese'?
Reg...
I am writing a program in Java, in which I define a class
class Point
{
double x;
double y;
}
Then in a method, I define an array of points, as follows:
Point[] line = new Point[6];
In the same method, I have the line
line[SampleSize - i + 1].x = i;
The first time this statement is hit, the value of its array index i...
I have 2 .js file, each contain the SAME large array or value (price list)
Now i have to get the 2 array exactly the same... not good
i like to have another .js file that will execute the array load into any function i like
The way i approch the problem, i defining variable, and executing a function loading value into those... dont work...
I'm currently in the process of writing a client server app as an exercise and I've gotten pretty much everything to work so far, but there is a mental hurdle that I haven't been able to successfully google myself over.
In the server application am I correct in my thinking that threading the packet handler and database handler to work ...
Hello
I'm having problems getting this to work,
class A {
public:
A(int n) {
a = n;
}
int getA() {
return a;
}
private:
int a;
};
int main(){
A* a[3];
A* b[3];
for (int i = 0; i < 3; ++i) {
a[i] = new A(i + 1);
}
void * pointer = a;
b = (A* [])pointer; // DOESNT...
Possible Duplicate:
Calling dynamic function with dynamic parameters in Javascript
I have an array representing the parameters I need to pass to a function call. How can I construct this function call dynamically?
e.g.
function constructRequest(params) {
//params is an array of params to be sent to myFunction()
myFun...
Is it a linked list, an array? I searched around and only found people guessing. My C knowledge isn't good enough to look at the source code.
...
.NET 2
string[] myStrings = GetMyStrings();
string test = "testValue";
How can I verify if myStrings contains or not test?
...
I've been trying to get some display logic to behave and stay where it belongs and the code has turned into an interesting little problem that'd be nice to make a general solution for.
Bear with me, it looks like a wall of text but I've tried to format it nicely with simple example data so it should be understandable after a quick ski...
I'm rather confused at the moment, could someone explain this one to me? Maybe it's something small I'm oblivious to, but I'm confused as to why this isn't resulting as I expect it to.
I have created a samples to show the issue I'm seeing...
Sample 1
var dataString = "abc";
document.write(" This is a test ... " + "<br/>")
for (i in d...