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
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,
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:
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,
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
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
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.
i have the code below: while (FileOne.hasNextLine()){ String check = FileOne.nextLine(); Reader r = new FileReader(\"something\");
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?
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