Jump to content
xisto Community

joeserhal

Members
  • Content Count

    2
  • Joined

  • Last visited

  1. No, I don't think I'm allowed to do that...I should write a simple function that can isolate these integers. I don't think there is a function in stdio.h that does that,is there??
  2. Hi there people!I'm new here, so if this post conflicts with any of the laws of this forum for any reason, I apologize in advance.I'm trying to write a function that reads from the user a set of integers separated by ',' (commas), but I'm having difficulty isolating the integers from the characters. I'm not sure if I should do it using a "for" or "while" loop,...So if the input is something like: {100,20,50}I should be able to store the integers 100 20 50Anybody got any idea how to do that??I would really appreciate the help!!Thanks.
×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.