I have a palindrome program.Is there a way to ensure user input terminated in a string by a punctuation mark (e.g. ‘!’, ‘.’, or ‘?’.) in an array? And how do i get the program to exclude commas?
xeto
0
Newbie Poster
Recommended Answers
Jump to PostYou didn't post any code so I am assuming you are just interested in general help.
Check out string.h (they have a nice writeup on Wikipedia) which will give you some ideas about the kinds of string handling functions available in C.
Good luck!
All 2 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.