Looping problem Programming Software Development by jason0202 … like this: A bunch of word will drop down(using looping) User have to enter letters for each word but the… will be disappeared. I'm newbie in C++ programming. What conditions should I consider? Is this called parallel programming? Thanks! Re: Looping Using Recursion Programming Software Development by Harold_2 … right answer depends strongly on external unspecified requirements and environmental conditions. If you know that the depth of the tree is… Looping a program Programming Software Development by jessicamelillo … a while loop, but I have no idea what the conditions would be. Thankyou! Re: Looping a Sum/ Find the Max Value - 2d Array Programming Software Development by jshoot … vector, once they are redimensionable, your logical is perfect the conditions to make the read and all the another things, but… all that codes you pass together to make run? The conditions to make run, and the operations with the columns I… Re: Looping a Sum/ Find the Max Value - 2d Array Programming Software Development by ravenous … data you will see that there are a number of conditions that will cause it to break out of the [icode… Re: looping in java Programming Software Development by Lucaci Andrew … a task that is repeatedly done till one or more conditions are fullfilled. Examples of loops would be: while (condition){ //do… Re: How to add 2 conditions in whie ? Programming Software Development by hanvyj … are actually asking, but why are you opening the file, looping through all the elements to get the line number: [CODE…) { count++; }[/CODE] closing the file, then opening it and then looping thorugh every line again (missing the first one): [CODE]for… Re: Why not looping ? Programming Software Development by zeroliken it will only loop as long as the necessary conditions are met in the while statement to continue the loop also the first else if condition cannot happen, you cant have a value less than or equal to 2 and at the same time greater than 5 Re: Why not looping ? Programming Software Development by DJSAN10 Surely, while must be used with conditions. I was just giving out one way of doing it. Anyways , you are senior , thanks for your suggestion/correction. :) Re: array looping Programming Software Development by Klahr_R …. Do While Counter < List1.ListCount 'you may need other conditions here ' Your code to save would replace the next line… Re: Java looping structure Programming Software Development by brandonrunyon … various Java loop structures and how and when they evaluate conditions. Please also note that the 'goto' branch statement is heavily… VBA Excel: Looping Subs. help ! Programming Software Development by orsodani … resetting of the WorkRange should be repeated whenever the specified conditions occur. I estimate that the data series could be up… Re: Looping problem Programming Software Development by dougy83 You can use a thread to run the blocking user input functions at the same time as your other word printing so that the printing is not interrupted. Or you can use non-blocking user input functions. I would usually use kbhit() to check if the user has pressed a key (without waiting). Note this function is not available in all compilers. Re: Looping problem Programming Software Development by jason0202 Wow, you're great! U have saved alot of my time from searching the internet. Thanks for replying! Re: Looping a program Programming Software Development by Grn Xtrm Use a while loop around the text of the main() [code=cplusplus] while(1) { menu(); } [/code] You haven't included the menu function, so I can't test it for sure. I changed the menu function in the main to multiply, and i created an infinite loop where the computer kept asking for two numbers to multiply. I assume you want to do this with … Re: Looping a program Programming Software Development by Murtan Also, when posting your code for us to look at, please use code tags: [noparse][code] // Your code goes here [/code][/noparse] It makes the code MUCH easier to read. (There are several people that won't even look at your problem unless you use code tags.) Re: Looping a program Programming Software Development by jessicamelillo ahhh, i'm so sorry, i forgot to include the end of the program, haha. #include<iostream.h> int add (); int subtract (); int multiply (); int division (); void menu (); int main () { while(1) { menu (); } return 0; } int add () { int x, y; cout<<"So! You want to add. Cool.\n"; cout&… Re: Looping a program Programming Software Development by Grn Xtrm Let me see if understand your problem correctly. You want to keep running the program until the user enters 5 at the menu to quit. Is that right? If that is indeed what you want to do, just include a while loop around your menu function. [code] while( x!=5) { cout<<"Hello! Let's play a math game. Please choose one of the 5 below.\n\… Re: Looping a program Programming Software Development by siddhant3s I suggest you to change the return type of the `menu()` to int. If the user wants to continue return 1 and he doesn't wants to continue(that is, when he pressed 5), return 0 Then inside your `main()`, you can simply do like this: int main(){ while( menu() ); } Note that `<iostream.h> `is depracated header file, use `<… Re: Looping a program Programming Software Development by Murtan and you forgot the [noparse][code][/code][/noparse] around your code so that it is highlighted and has line numbers. (oops didn't see the previous post -- sorry) Re: stop rows looping Programming Web Development by shlokka … least 4 spaces ... and can span multiple lines function getfakename($conditions=array()) { $result = $this->db->query("SELECT distinct… Re: Sink the boat game (complex conditions issue) Programming Software Development by bguild ….table[positionI][positionJ] != '_'`) since you naturally want to keep looping as long as the choosen position is not empty, but… Re: Sink the boat game (complex conditions issue) Programming Software Development by Pobunjenik … to be correct. I've tested the new code by looping the seeding and printing methods 100 times to look for… Re: 4 weeks in.. do-for-while loops? Programming Software Development by kakeen …;& loop != 1);} [/code] I sorta went crazy on the looping conditions.. but *shrug* Help! Password Validator! Programming Software Development by Christina_3 …... Tasks are... Evaluate Password - If either of the following two conditions are true, then the password is not valid, and fails… reduced by one point for failing each of the following conditions (3,4,5). 3. Must contain at least one upper…,2,3) below to false before we begin. ie while looping thru, if we find a digit in there,.. we set… Re: help with b-tree using two files and hash/key lookoop Programming Software Development by d5e5 … the genedata by scaffold so I can stop looping through the data after looping through the matching scaffold data. In theory that… data for each hairpin id in each scaffold location #by looping through %h_hash my $header = 'Hairpin_ID, hairpin other, outside/inside/overlap… confused loops Programming Software Development by sherbertmonkey … n stating NO its not a festival month. Program Post-conditions: The output of this program will be a calendar arranged… again till 4th week maroon then spaceing then carry on looping again! } yeah those were my thoughts i wanted to try… Re: C++ Cash Register Program. Need help Programming Software Development by Lucaci Andrew …;"Choose: "; cin>>Choice; //if-else if conditions; else if (Choice == "6") break; else cout<… Re: help with b-tree using two files and hash/key lookoop Programming Software Development by d5e5 … the genedata file may be used only later if certain conditions are met. I think this means that the function that… data for each hairpin id in each scaffold location #by looping through %h_hash foreach my $s(keys %h_hash){ print "Scaffold… Re: Winsock Multi-Client Servers Programming Software Development by FireNet …; // Initialize winsock and start listening start_server(); // Loop forever bool looping = TRUE; while ( looping ) { // Accept all incoming client connections accept_connections(); // Receive all data…