Hi
I've been writing some C programs with the scanf funciton and wondered if there was an easier way to input data. I need functions which can:
1. Identify set areas in strings (e.g. is the [x]th letter in a 1?)
2. Read in strings (e.g. if I want to enter 1234 into an array num[4] it can place each number into each array space, so num[0]=1..... num[3]=4)
3. Count the length of a string (e.g. the string "cisfun" is 6 characters long)
4. I need to know how spaces and new-line characters (presing the enter key) are handled
I'm only using the command line.
Thanks!