-
Created PHP x-loops?
Hi all, I have a multidimensional array [0]:[0], [1], [2], [3] and I want to try and find the min and max values of each index of that array over … -
Began Watching PHP x-loops?
Hi all, I have a multidimensional array [0]:[0], [1], [2], [3] and I want to try and find the min and max values of each index of that array over … -
Replied To a Post in C# Image Transition code issue
Thanks, I'd appreciate it if you could take a look at the code :) Just a note that it search for pics from your my pictures folder, so there has … -
Replied To a Post in PHP Algebra
Nice. I like that new approach to dealing with it! One semi-related question though: what happens when x or y is a irrational number and you want to use it … -
Gave Reputation to jkon in PHP Algebra
That was interesting but it took me a lot more time to decide the names of the variables than actually writing (I am not sure for those names till now). … -
Marked Solved Status for PHP Algebra
Here's a fun one... How would you solve a basic simultanous equation with PHP? I have an array with a range [high,low] of [378,395] and I want to normalise the … -
Replied To a Post in PHP Algebra
Wow. I really didn't expect a response like that, it's amazing! The only problem now is I don't actually understand the code! A bit more advanced than I'm used to, … -
Edited PHP Algebra
Here's a fun one... How would you solve a basic simultanous equation with PHP? I have an array with a range [high,low] of [378,395] and I want to normalise the … -
Created PHP Algebra
Here's a fun one... How would you solve a basic simultanous equation with PHP? I have an array with a range [high,low] of [378,395] and I want to normalise the … -
Began Watching PHP Algebra
Here's a fun one... How would you solve a basic simultanous equation with PHP? I have an array with a range [high,low] of [378,395] and I want to normalise the … -
Replied To a Post in PHP Array Merging
Solved! for ($c=0; $c < $num; $c++) { echo '<pre>'; $data[$c] = (str_getcsv($data[$c], ' ')); $finalData[] = $data[$c]; echo '</pre>'; } -
Marked Solved Status for PHP Array Merging
Hi all, I am using a for statement to generate lots of arrays, example: Array ( [0] => 2 [1] => 395.0 [2] => 0.33 ) Array ( [0] => … -
Replied To a Post in PHP Array Merging
Update: code now reads: for ($c=0; $c < $num; $c++) { echo '<pre>'; $finalData[] = $data[$c]; print_r(str_getcsv($data[$c], ' ')); echo '</pre>'; } And below that I've added another for statement: … -
Marked Solved Status for CSV to Double Array
Hi all, I am able to pull data from a CSV file into a string array using the following code. public static string[,] ReadCSV(string filename) { //Read Text string whole_file … -
Replied To a Post in CSV to Double Array
Haha. Whoops. Yea, that works - thanks for your help with this!! -
Replied To a Post in CSV to Double Array
Hmmm. This actually thows up the same problem. Any index greater than the number of columns through an error. It only seems to work for one row. When I simply … -
Created PHP Array Merging
Hi all, I am using a for statement to generate lots of arrays, example: Array ( [0] => 2 [1] => 395.0 [2] => 0.33 ) Array ( [0] => … -
Began Watching PHP Array Merging
Hi all, I am using a for statement to generate lots of arrays, example: Array ( [0] => 2 [1] => 395.0 [2] => 0.33 ) Array ( [0] => … -
Replied To a Post in CSV to Double Array
I've taken another look at this and now have the following code: static void ReadCSV(string filename) { using (Microsoft.VisualBasic.FileIO.TextFieldParser parser = new Microsoft.VisualBasic.FileIO.TextFieldParser(filename)) { string[] fields = null; parser.TextFieldType = … -
Revoked Solved Status for CSV to Double Array
Hi all, I am able to pull data from a CSV file into a string array using the following code. public static string[,] ReadCSV(string filename) { //Read Text string whole_file … -
Marked Solved Status for CSV to Double Array
Hi all, I am able to pull data from a CSV file into a string array using the following code. public static string[,] ReadCSV(string filename) { //Read Text string whole_file … -
Replied To a Post in CSV to Double Array
That's really helpful thanks. I was hoping for something I can apply to the whole array, but I guess I have to convert each entry under a loop. -
Created CSV to Double Array
Hi all, I am able to pull data from a CSV file into a string array using the following code. public static string[,] ReadCSV(string filename) { //Read Text string whole_file … -
Began Watching CSV to Double Array
Hi all, I am able to pull data from a CSV file into a string array using the following code. public static string[,] ReadCSV(string filename) { //Read Text string whole_file … -
Replied To a Post in C# Image Transition code issue
Here, I've published my source code. Hopefully someone may be able to see what's going on now. https://drive.google.com/file/d/0B_DxF4ssjiwaM3FqR2RlUHdVY1k/view?usp=sharing -
Replied To a Post in C# Encog Neural Net
No, the data.DefineSingleOutputOthersInput(columnSSN); is defining a column to make predictions from (I should have mentioned this is a time series prediction walkthrough). But yeah, I thought it was a long … -
Created C# Encog Neural Net
Hi all, I am doing some basic experimenting with ENCOG ANN, but am having issue following a simple walthough. At this stage I am simply trying to grab data from … -
Began Watching C# Encog Neural Net
Hi all, I am doing some basic experimenting with ENCOG ANN, but am having issue following a simple walthough. At this stage I am simply trying to grab data from … -
Replied To a Post in C# Image Transition code issue
You're right that I am just using one double animation, a true cross fade would dip in the middle, but I like having the previous background visible on the fade … -
Replied To a Post in PHP mySQL Ordering
Actually.. Ignore this. I was adding the ORDER BY to the wrong $query! -
Marked Solved Status for PHP mySQL Ordering
I am using a mySQL query in PHP to pull content from rows into an array. A simple for statement is then displaying this data: for ($i = 0; $i … -
Created PHP mySQL Ordering
I am using a mySQL query in PHP to pull content from rows into an array. A simple for statement is then displaying this data: for ($i = 0; $i … -
Began Watching PHP mySQL Ordering
I am using a mySQL query in PHP to pull content from rows into an array. A simple for statement is then displaying this data: for ($i = 0; $i … -
Replied To a Post in C# Image Transition code issue
How does your transition code compare to mine? As you can see I use two image elements to simulate the cross fade - do you do something different? I might … -
Replied To a Post in C# windows
Oh right, yeah those are always annoying haha. -
Replied To a Post in C# Image Transition code issue
I've actually just made a small modification. I realised using a for statement was silly because when the while() returns false it would still cycle through each iteration before finishing. … -
Replied To a Post in C# Image Transition code issue
Which window are you talking about? Window 2 with the linear slideshow has no fade transitions using DoubleAnimation, it simply snaps to the next one. Window 1 should stop the … -
Marked Solved Status for C# windows
Hi there, I'm still fairly new to programming. Would someone be able to explain exactly how different windows should be used in MS Visual Studio? It seems that variable sharing … -
Replied To a Post in C# windows
Thanks guys for your awesome responses! That makes a lot of sense. Though what is a modal window, is it different from a form? -
Replied To a Post in C# Image Transition code issue
Okay, so I've taken another look at this. I was wrong about the CPU usage, I was only able to clock it up to about 3% of total use. The … -
Created C# windows
Hi there, I'm still fairly new to programming. Would someone be able to explain exactly how different windows should be used in MS Visual Studio? It seems that variable sharing … -
Began Watching C# windows
Hi there, I'm still fairly new to programming. Would someone be able to explain exactly how different windows should be used in MS Visual Studio? It seems that variable sharing … -
Replied To a Post in C# Image Transition code issue
30% did seem to jump out at me as quite a high load for some relatively minor code. I'll run the programme through on its own and connected via HDMI … -
Marked Solved Status for PHP variable as array index
Hi all, I have a multi-dimensional array. Using a **for** function, I would like to display the information inside the array. This means using a variable $i for the first … -
Replied To a Post in PHP variable as array index
Oh awesome, that works great! Thanks so much for your help! -
Replied To a Post in PHP variable as array index
Here is the full array: Array ( [0] => Array ( [0] => Array ( [blog_id] => 1 [0] => 1 [title] => hello world [1] => hello world [post] … -
Replied To a Post in PHP variable as array index
Thanks. It is referring to the other thread I just posted. But actually I've just realised what I want to do hasn't worked. My mistake in pulling the mySQL data … -
Created PHP variable as array index
Hi all, I have a multi-dimensional array. Using a **for** function, I would like to display the information inside the array. This means using a variable $i for the first … -
Began Watching PHP variable as array index
Hi all, I have a multi-dimensional array. Using a **for** function, I would like to display the information inside the array. This means using a variable $i for the first … -
Marked Solved Status for PHP multi-dimensional arrays
Hi there, I am trying to populate a page with multiple rows from a mySQL database. To grab the data, I am using: for ($i=1; $i < 5; $i++) { …
The End.