Ad
  • Custom User Avatar

    it throws an unexpected type error... It says that I need a variable, but it found a value. Why is this so?

    Because you're doing something wrong. Not an issue.

  • Custom User Avatar

    Why is the charAt method not working for Strings. In the following I am trying to call newString.charAt(cout) but it throws an unexpected type error when I do. It says that I need a variable, but it found a value. Why is this so? I have used this before in other programs on other IDE's and never experienced any kind of problems.