User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the C section within the Software Development category of DaniWeb, a massive community of 402,956 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,897 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our C advertiser: Programming Forums
Views: 2180 | Replies: 3
Reply
Join Date: Oct 2004
Posts: 2
Reputation: zoey is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
zoey zoey is offline Offline
Newbie Poster

Help reversing two strings

  #1  
Oct 12th, 2004
Hi

can any one help me with the code to reverse 2 strings with unequal number of characters in them...read the first line and secondline relpace the second line with reversd first line...and replace first half with reversed second line...

thanks,
zoey
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Apr 2004
Posts: 3,474
Reputation: Dave Sinkula is a glorious beacon of light Dave Sinkula is a glorious beacon of light Dave Sinkula is a glorious beacon of light Dave Sinkula is a glorious beacon of light Dave Sinkula is a glorious beacon of light Dave Sinkula is a glorious beacon of light 
Rep Power: 16
Solved Threads: 141
Colleague
Dave Sinkula's Avatar
Dave Sinkula Dave Sinkula is offline Offline
long time no c

Re: reversing two strings

  #2  
Oct 12th, 2004
Originally Posted by zoey
can any one help me with the code to reverse 2 strings with unequal number of characters in them.
The emphasis on unequal to me seems to imply that you already know how to reverse a single string, but are having difficulty expanding on this. Perhaps show us this code for starters.
Reply With Quote  
Join Date: Oct 2004
Posts: 2
Reputation: zoey is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
zoey zoey is offline Offline
Newbie Poster

Re: reversing two strings

  #3  
Oct 13th, 2004
no i dont have the code...could any one give me the code for this...
Reply With Quote  
Join Date: Sep 2004
Posts: 6,070
Reputation: Narue has much to be proud of Narue has much to be proud of Narue has much to be proud of Narue has much to be proud of Narue has much to be proud of Narue has much to be proud of Narue has much to be proud of Narue has much to be proud of 
Rep Power: 26
Solved Threads: 419
Super Moderator
Narue's Avatar
Narue Narue is offline Offline
Expert Meanie

Re: reversing two strings

  #4  
Oct 13th, 2004
>could any one give me the code for this...
No, give it an honest try first, then try to cheat.
I'm a programmer. My attitude starts with arrogance, holds steady at condescension, and ends with hostility. Get used to it.
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb C Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Similar Threads
Other Threads in the C Forum

All times are GMT -4. The time now is 6:46 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC