while-loop
While keeps repeating on letters but not on #'s
I have a while loop here that only takes in 1 and 2 as the number, if i insert and number that is not these my else statement will keep asking for the correct one, which works correctly. But if i inse[详细]
2023-04-11 12:23 分类:问答Using an unsigned int to terminate a while() loop
Is it possible to terminate a while() loop with an unsigned int?For example I wa开发者_如何学运维nt to terminate a while() when the user enters a negative value.But I want it to be any negative value,[详细]
2023-04-11 08:13 分类:问答php & mysql while loops
I\'m new in PHP and I think this is an easy question. I can show the content that comes from my db this way:[详细]
2023-04-11 03:07 分类:问答Sorting Algorithm With IOException after a precise number of passes, regardless of data input
I am trying to use a bubble sort ( i know its very inefficient ) to sort some data, but my code is behaving quite strangely, after exactly 926 passes of the outer while loop, an IOException is thrown,[详细]
2023-04-11 00:00 分类:问答Using filesize() PHP function in a Loop - Returns The Same Size
I\'ve done a little bit of PHP coding and am familiar with aspects of it. I have made a PHP script that runs as a cron job that will pull data from a database and if certain conditions are met, some[详细]
2023-04-10 17:23 分类:问答Conversion failed when converting the varchar value '*' to data type int
I\'m getting this issue when i\'m running nested while loops in sql server 2005. My outer loop gets one iteration, and then my inner loop gets it\'s full first iteration, but my statement after the i[详细]
2023-04-10 12:38 分类:问答PHP: E-leave: Calculating two dates using if statement in a while loop
I am trying to calculate the difference between two dates by excluding Saturday and Sunday. The output should be 9 but i got 1 instead.[详细]
2023-04-10 04:27 分类:问答while loops and fileStreams
i have the code below: while (FileOne.hasNextLine()){ String check = FileOne.nextLine(); Reader r = new FileReader(\"something\");[详细]
2023-04-10 04:12 分类:问答Decrementing while loop in c
Is it possible to decrement the array size in a while loop in C by more than x--.For example, can you decrement an array by a third of the array size with each iteration?[详细]
2023-04-09 18:16 分类:问答cant compare two files. while loopsdont work
EDIT: i have to files, FileOne and FileTwo, which in every line there is a word开发者_开发百科 or more. and i want to compare these two file, and see if every line of fileOne is exact the same or pie[详细]
2023-04-09 18:08 分类:问答