The above code doesn't seem to work for me. Also as you mentioned, it seems to be checking for all white space in the string, not just leading white space.
In my code, *pp is a char*(a string)...
Type: Posts; User: mc72
The above code doesn't seem to work for me. Also as you mentioned, it seems to be checking for all white space in the string, not just leading white space.
In my code, *pp is a char*(a string)...
This is for a homework assignment. I guess I should explain the whole assignment. We input any number of text files and fgets to store to one large array of strings, line by line, dynamically...
Hi there,
I'm trying to write a compare function to be used in a qsort of a large array of strings.
It has to compare, but ignore the leading white space, and only the leading white space.
...
Thank you for your help tabstop. That makes perfect sense that I've already done the work with argv to store to an array of strings. Sorry, I am definitely a novice at this stuff. I have some...
Sorry, I guess I should have just posted the whole thing. Oh, and I should mention this is a homework assignment.
What I'm doing with i is looping through the command line first to get the...
Hi there,
I'm trying to pass in an array of strings to a function and am obviously having trouble with the basic idea behind storing strings to an array of strings.
I have a prototype something...