while-loop
scala simple while loop error
object JDWhileLoop { def main(args: Array[String]) { var index:Int = 0 while( index<=10) { println(\"index=\"+index)[详细]
2023-04-09 17:01 分类:问答php counter is being reset each loop
I\'ve got a rather complicated set of loops that pulls data out of mysql and compares it to values in an array and increments a counter. When I echo a flag when the counter is incremented, I get a bij[详细]
2023-04-09 07:34 分类:问答Jquery and php, load images and use the src of each image
I have a page that display a group of images with the src of each image, but I need to use the src valu of the images.[详细]
2023-04-09 06:05 分类:问答Javascript: to change class width from 0% to 100% and from 100% to 0% non stop
The code below changes the width of the \"inner\" class from 0% to 100%, so the bar is filled progressively with the green color. But this is incomplete because once the width is 100% I need it to go[详细]
2023-04-09 03:34 分类:问答C programming while
#include \"stdafx.h\" int _tmain(int argc, _TCHAR* argv[]) { int x=0; int y开发者_StackOverflow社区=0;[详细]
2023-04-09 01:00 分类:问答While-loop in Java not working
Alright, so the problem is this: I want to enter a bunch of numbers, a random set, of say 5 numbers. At the end of that number, I\'ll add a sixth number, 0, which will be a signal for my loop to end.[详细]
2023-04-08 17:38 分类:问答PHP IF-statement to change color of table rows <td>?
I have the following code written below. With this code I want to fetch data from MySQL database and print(echo) the result in table rows, each row with different colour. With this code data is fetche[详细]
2023-04-08 13:20 分类:问答Program that uses while loops to calculate the first n Fibonacci numbers
When I run it and input a number it just repeats it over non-stop.for example if i put a 3 it will do this[详细]
2023-04-08 08:57 分类:问答how to replace while read LINE
I wrote a script to print specific days of a log file ! the script work properly , but I wrote the loop part with while read lineand the log file contains more than 150000 items ! the script wants to[详细]
2023-04-08 04:29 分类:问答A simple C++ While loop not working
I have a simple while loop i\'m trying to implement but for the life of me can\'t figure out what I\'m missing. I have currentuser initialized at the top to -1[详细]
2023-04-08 01:44 分类:问答