Your cout statement is printing a hard coded text output that by coincidence is the name of your functionish example. Its the same as cout << "text unrelated to anything at all";
now, this is more interesting:
string blah()
{
return "how exciting!";
}
…
cout << blah(); //note the difference, no quotes, () function call syntax, and the function returns a value that has meaning to cout (a string of text, here).
its not a bad thing to think of function in terms of the math … y = f(x); //look familiar? variable = foo(parameters); … right? But a group of statements works too. Different ways to look at it.
While this does not directly answer your question, most of these links should answer your questions. These are the sites and YouTube Playlists that have helped me a TON while learning C++. I recommend bookmarking them and checking them out.