I keep getting this error, i was up until almost four working on this program. All help would be appreciated. This is the code that gives me the error:
Ok i tried that, it didn't work, i tried moving it to a function and that made the error stop, however, now it says error: invalid type of argument 'unary *'
my professor has not covered vectors yet. i don't think they get covered until the class after the one i'm in. I'm reading up on them now, but could you get a little more specific? also, if it helps, i'll include the entire source code:
actually it doesn't. that's tired thinking on my part. and I already tried removing the '*' from the above mentioned lines and the problem with that is that then it just prints out the memory address of each letter as opposed to the letter itself.
and for whatever reason if lc is not an array, the program compiles then crashes.
edit:
just tried removing the '*' again, and it counted letters but it was giving me letters that weren't part of the array, or repeating random letters, and for the count it just gave me memory locations still.