I'm learning to code and I'm having a very tough time understanding how the code below works. The piece of code is a function that provides a solution to a problem, which is given a number of heads ...

I have a function that reads the content of the Android clipboard every two seconds and communicates all changes with a remote server.
This works fine in the app is opened. But I need to be able to ...

i'm in online exam project with php and mysql.
im displaying quesitons with the while loop. but as you konow each question it has it's own answer but i can select only one question's answer.
I tryed ...

Create a math quiz program that prompts the user for how many
questions to ask. The program should congratulate the player if
he or she gets the correct answer or alert the user of the correct
answer ...

Is it possible to dynamically change the property "Editable" of a GridColumn regarding the value of an another Column.
Once I have filled my dataProvider I would like to loop ont he dataGrid rows, but ...

I've been following the deWiTTERS tutorial to implement the final solution - "a constant game speed independent of Variable FPS" in a game of my own. However, I'm now wondering what the best way to ...

I am trying to write a program hat removes the character 'p' in Pineapple to output the word Pineale. Here is my current code. I found similar problems to this and thought this code would work but it ...

I'm making a program that needs to analyze an image completely every few pixels. This loop works with pictures that have the same height and width (they don't give me problems because they generate a ...

When clicking on the infoWindow i pass the same 'currentStall' for each click.
It must be creating only one instance of the click listener. 'currentStall' passes a unique identifier to the location ...

I have a dataframe named seoul1to7 contains the hourly PM10 concentration data from 1 march to 7 march,2012.please,download.In this dataset, time is in yyyymmddhr format.for example, 2012030101 means ...

I have a method for which the input is an array list of array lists. I want to loop through a number of the arraylists, pull out the same indexed value from each, and then find the maximum value of ...

I am a newbie to liquid templating language, regarding the website am working on it's powered by jekyll, we publish posts and sometimes series of posts so we make a sub directory for series posts in ...

I'm new to JSLint and I'm trying to create function that outputs amount of elements specified in first argument. Normally I would use the for loop but JSLint doesn't like loops and complains about it.
...

(This question is related to this and this but answers there haven't helped me figure out what's wrong in my case.)
I am trying to create an array of clickable elements where each element is bound to ...

Here is the code, please help! I'm so lost. It successfully goes through each ID in the database.txt but every time it throws the exception and reports cannot download. I'm at my wits end, I've tried ...

I have my triggers and divs to show/hide in a while loop, instead of using div id which has to unique, i've decided to use div class to show/hide a group of content among others.
what i'm trying to ...

I have a loop for a button click that checks if a site is available or not and it gets site list into an array and check them one by one with a for loop and if they where available it adds a text to a ...

I'm having a bit of trouble with a program I've been working on for a few days now. Basically what I'm trying to do is create a GUI to display user input to an HTML file. What I want to do is have my ...