Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 1,000 results for
reversing
- Page 1
Re: Improve HAVING BY performance
Programming
Databases
2 Weeks Ago
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
11 Years Ago
by olive.ventura
reversing
string using array. example of the out : enter name: paul reverse: luap
Re: Washer for Motherboard?
Hardware and Software
Hardware
19 Years Ago
by Squirty
Reversing
the floppy connection fixed it:o . Thanks! Still no luck …
Reversing a char arrays
Programming
Software Development
10 Years Ago
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
10 Years Ago
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
17 Years Ago
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
10 Years Ago
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
16 Years Ago
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
15 Years Ago
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
10 Years Ago
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
9 Years Ago
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
9 Years Ago
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
17 Years Ago
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
17 Years Ago
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
17 Years Ago
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
16 Years Ago
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
16 Years Ago
by natd
I am having trouble
reversing
the words in a sentence. For example "a line …
Reversing A String
Programming
Software Development
15 Years Ago
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
15 Years Ago
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
15 Years Ago
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
15 Years Ago
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
15 Years Ago
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
15 Years Ago
by skatamatic
…;<kavi<<endl; cout<<"now
reversing
the word"<<endl; cout<<"…
reversing a string
Programming
Software Development
17 Years Ago
by teddy13
here is code for
reversing
a string
Reversing elements in a Queue Problem
Programming
Software Development
14 Years Ago
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
14 Years Ago
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
14 Years Ago
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
14 Years Ago
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
13 Years Ago
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
13 Years Ago
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.
1
2
3
17
Next
Last
Search
Search
Forum Categories
Hardware/Software
Programming
Digital Media
Community Center
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Meet People
Forums
Top Members
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
SEO Backlink Checker
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2024 DaniWeb® LLC