Well here is what I came up with, I'm sure it is not the best solution (especially since it converts the integer to the string backwards and I had to make another function to reverse a string) but it...
Type: Posts; User: jensbodal
Well here is what I came up with, I'm sure it is not the best solution (especially since it converts the integer to the string backwards and I had to make another function to reverse a string) but it...
Thank you for the reply had to run after I posted that. I had thought to use the ASCII codes but hadn't figured out a way to get that to work. Most of the stuff I've done I've been able to complete...
I am not exactly sure how to ask this question, but I'll do my best to explain:
(This is in relation to Project Euler #4)
I have a function that checks to see if a word is a palindrome, and it...
Sorry I just reread my original post and I wasn't very clear, but it looks like I am using scanf correctly to accept input of a string that contains spaces. Thank you for your replies :)
Hmm I tried your suggestion but I can still only get [^\n] to work. I will just post my whole code to give you a better understanding, I'm just trying to write a simple trim function that will...
Hey everyone, just found these forums and they seem to be the most active C forums I've found. I'm fairly new to programming and have a quick question about strings. If I want to ask the user for...