Search:

Type: Posts; User: jensbodal

Search: Search took 0.01 seconds.

  1. Well here is what I came up with, I'm sure it is...

    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...
  2. Thank you for the reply had to run after I posted...

    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...
  3. Using an integer like a string or converting an integer to a string?

    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...
  4. Sorry I just reread my original post and I wasn't...

    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 :)
  5. Hmm I tried your suggestion but I can still only...

    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...
  6. Question about scanf and spaces or whitespace

    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...
Results 1 to 6 of 6