[Solved] This C++ code isn’t working. Can someone please help me? [closed]


You simply cannot define a function inside another function. You are attempting to define echoer inside main. Instead, it should go outside.

You should also know that ' is used for character literals and " is used for string literals. Since ') ' has more than one character in it, it needs to be a string literal instead.

2

solved This C++ code isn’t working. Can someone please help me? [closed]