Re: Improve HAVING BY performance Programming Databases by toneewa … whole product list, using HAVING, and WHERE. I also tested reversing the orders. Query execution time: 0.0002336 seconds WHERE Query… Re: reversing array Programming Software Development by olive.ventura reversing string using array. example of the out : enter name: paul reverse: luap Re: Washer for Motherboard? Hardware and Software Hardware by Squirty Reversing the floppy connection fixed it:o . Thanks! Still no luck … Reversing a char arrays Programming Software Development by laklaker …,namelength, acc=0; char name[80]; char extract[80]; char reversing[80]; for(int j=0; j<strlen(extract);j…++){ reversing[strlen(extract) -j]= extract[j]; } for(int w; w<=… Re: Reversing a char arrays Programming Software Development by laklaker …0; char name[80]; char extract[80]; char reversing[80]; for(int j=0; j<strlen(extract…);j++){ reversing[k]= extract[j]; k++ } for(int w;… w<=strlen(extract);w++){ cout << reversing[w]; } But the problem is when I tried … Re: Reversing a string Programming Software Development by Infarction [quote=viv_mbbs;287856]Hi!! can anybody gimme an algo for reversing the words in a string in O(n) time.... Eg..…/p: Linux love I[/quote] Do you mean reversing the string or reversing the order of words? If it's the string…; xuniL evol I[/code] versus the sample you gave for reversing word order. Re: Reversing a char arrays Programming Software Development by laklaker I was doing a palindrome. But this time its a sentence. string str; int k=0, count = 0,namelength, acc=0; char name[80]; char extract[80]; char reversing[80]; size=strlen(name); for(int j=size; j<=0;j--){ cout << reversing[j]; q++; } How about now? Reversing a string using recursion Programming Software Development by NotThereAnymore … ends. Here is the source code. [CODE] //demonstrate recursion by reversing a string of characters public class RevString { public static void… string System.out.println(reverse(s));//shows the result of reversing the string } /* //The reverse method takes a string variable as… Reversing a linked list using Recursion Programming Software Development by Roofus …link(); // saving the 3rd Node. temp_ptr->set_link(head_ptr); // reversing head_ptr = temp_ptr; // incrementing head. temp_ptr = iter_ptr; // …end of list { current_ptr->set_link(head_ptr); //reversing head_ptr = current_ptr; //incrementing reverse_list(head_ptr); //calling function again… Re: Reversing a char arrays Programming Software Development by Ajit_2 … class member functions which already provide a proper mechanism for reversing characters. The member function I am talking about is rbegin… Reversing A String. Every other word reversing Programming Software Development by Shibbir Khan So i've got a for loop that's reversing every other word in a string. I can't determine … Re: Reversing A String. Every other word reversing Programming Software Development by JamesCherrill Every time you append a word you reverse the entire string, so the last word is reversed once, the previous word is reversed twice, the word before that is reversed 3 times, ... , and the first word is reversed (words.length) times. Of couse an even number of reversals is the same as not reversing. Reversing a string Programming Software Development by viv_mbbs Hi!! can anybody gimme an algo for reversing the words in a string in O(n) time.... Eg..i/p:I love Linux o/p: Linux love I Re: Reversing a string Programming Software Development by iamthwee [QUOTE=viv_mbbs;287856]Hi!! can anybody gimme an algo for reversing the words in a string in O(n) time.... Eg..i/p:I love Linux o/p: Linux love I[/QUOTE] Hi, which language do you want this for? c or c++. Re: Reversing a string Programming Software Development by Narue >can anybody gimme an algo for reversing the words in a string in O(n) time.... Recursively copy the words to a new string. ;) Reversing the elements of an array Programming Software Development by chihwei … , i don't know where went wrong Thank you "Reversing the elements of an array involves swapping the corresponding elements… reversing a sentence Programming Software Development by natd I am having trouble reversing the words in a sentence. For example "a line … Reversing A String Programming Software Development by sinkingships7 I'm having a bit of trouble reversing a string. Here's a code snippet of how I'm currently trying to do it: [code=c] index_s1 = strlen(num_s1); for (index_s2 = 0; index_s2 <= strlen(num_s1); index_s2++){ num_s2[index_s2] = num_s1[index_s1]; index_s1--; } [/code] reversing a string Programming Software Development by sunveer I want help in reversing a string without using another array. a string "Hello" should be printed as "olleh" Please help. Re: reversing a string Programming Software Development by STUDENT#101 [QUOTE=sunveer;704206]I want help in reversing a string without using another array. a string "Hello&… reversing the words in a char array Programming Software Development by kavithabhaskar …;<kavi<<endl; cout<<"now reversing the word"<<endl; int i; while(kavi… Re: reversing the words in a char array Programming Software Development by Sci@phy …;<kavi<<endl; cout<<"now reversing the word"<<endl; int i=-1; while… Re: reversing the words in a char array Programming Software Development by skatamatic …;<kavi<<endl; cout<<"now reversing the word"<<endl; cout<<"… reversing a string Programming Software Development by teddy13 here is code for reversing a string Reversing elements in a Queue Problem Programming Software Development by NinjaLink Hello, I need help reversing elements in a queue using Recursion. My problem is that … Reversing all root-to-leaf paths in a tree (JAVA) Programming Software Development by EdwardS … leaf.Required that given a tree, output the tree after reversing all root-to-leaf paths. For the following tree: root… Reversing a two dimensional character array Programming Software Development by krishnchaitu please give me the "C" language code for reversing a two dimensional character array. a two dimensional character array … Re: Reversing a two dimensional character array Programming Software Development by Narue [B]>please give me the "C" language code for reversing a two dimensional character array.[/B] No, piss off. We don't do homework for lazy students. [B]>Please its very urgent.[/B] I feel no sense of urgency. In fact, I'm quite content with watching you slowly come to the realization that you're going to fail the class. :) Reversing an array of chars (algorithm for this?) Programming Software Development by bmos31 … up in reverse order and I'm having trouble with reversing the array of chars in my intToBinaryString() function. Any tips… Re: Reversing an array of chars (algorithm for this?) Programming Software Development by prvnkmr449 [CODE]#include <string.h> #include <stdio.h> int main(void) { char *forward = "string"; printf("Before strrev(): %s\n", forward); strrev(forward); printf("After strrev(): %s\n", forward); return 0; } [/CODE] use strrev(char *ch) to reversing the charter array.