cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
Beginners
C++ Chapter 6!
C++ Chapter 6!
Mar 11, 2011 at 3:52am UTC
jimmyluk
(1)
1. Write a program that uses the function iSNurnPalindrome given in Example
6-5 (Palindrome Number). Test your program on the following numbers:
10, 34, 22, 333 , 678 , 67876, 44444, and 123454321.
Mar 11, 2011 at 3:53am UTC
Albatross
(4553)
Well, we could do that, but how would that help you?
-Albatross
Mar 11, 2011 at 4:04am UTC
ultifinitus
(1446)
you can convert a number to a string with the <stringstream> set of objects
you can access an individual character in a string with the [] operator
you can add a single char to a string using the += operator.
(that's all the hint i'm giving you)
Topic archived. No new replies allowed.