Code Newbie
News     Forums     Search     Members     Sign Up    

My Code Newbie
Username

Password

Articles/Snippets
ASP Classic
ASP.NET
C
C#
C++
HTML / CSS
Java
Javascript
Linux / BSD
Perl
PHP
Python
Ruby
SQL
VB 6
VB.NET

C.N. Friends
  Planet Rome

Link to Us!
Code Newbie
  Code Newbie
    forums

Go Back   Code Forums > Application and Web Development > Standard C, C++

Reply
 
LinkBack Thread Tools Display Modes
Old 10-24-2004, 07:56 AM   #16 (permalink)
Androto
Mac Os X User(I hate win)
 
Join Date: Oct 2004
Posts: 138
Androto is on a distinguished road
Quote:
Originally posted by Valmont
- You need to add: using namespace std;
- You need to change the call to verify like this: verify( reversed, word);
i tried bot of these things, and it didn't work.



you said i have to allocate space. so when i want to allocate space shouldn't this : wordr = wordin : work?
Androto is offline   Reply With Quote
Old 10-24-2004, 08:46 AM   #17 (permalink)
gamehead200
Code Monkey
 
gamehead200's Avatar
 
Join Date: Oct 2004
Posts: 57
gamehead200 is an unknown quantity at this point
Use the STL approach and read this to understand how it works...
gamehead200 is offline   Reply With Quote
Old 10-24-2004, 08:54 AM   #18 (permalink)
Androto
Mac Os X User(I hate win)
 
Join Date: Oct 2004
Posts: 138
Androto is on a distinguished road
my question is still not answered
Androto is offline   Reply With Quote
Old 10-24-2004, 08:23 PM   #19 (permalink)
Kernel_Killer
Regular Contributor
 
Kernel_Killer's Avatar
 
Join Date: Feb 2003
Location: indisclosed
Posts: 210
Kernel_Killer is on a distinguished road
If the question on functions is still not answered then maybe the function tutorial might shed some light?

IIRC Golden Rule of C++

Everything must be declared before it can be used

I think that's right.....
Kernel_Killer is offline   Reply With Quote
Old 10-26-2004, 08:26 AM   #20 (permalink)
tin_man
Registered User
 
tin_man's Avatar
 
Join Date: May 2002
Posts: 4
tin_man is on a distinguished road
Send a message via AIM to tin_man Send a message via Yahoo to tin_man
of course, you could always use a character array, and a stack to reverse the ordering :-). Not exactly the most OO approach to things, or the simplist, but another way to do things.
tin_man is offline   Reply With Quote
Old 10-26-2004, 09:33 AM   #21 (permalink)
Androto
Mac Os X User(I hate win)
 
Join Date: Oct 2004
Posts: 138
Androto is on a distinguished road
i figured out how to do it! thx for all you're guys' help.
Androto is offline   Reply With Quote
Old 10-27-2004, 07:28 AM   #22 (permalink)
Valmont
[code][/code] enforcer
 
Valmont's Avatar
 
Join Date: Mar 2003
Location: Netherlands
Posts: 1,544
Valmont is on a distinguished road
Post the code. Let's have a looksie.
__________________
Valmont is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -8. The time now is 10:46 PM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0 RC8





Copyright © 2000-2008, Milano Interactive
Web Hosting provided by Portal 360 Web Hosting