In Simple IDE I can run a C program and use a cog_run command.
Trying the same program from Visual Source Code environment I get a cog_run unrecognized compiler error. I've looked through simpletools.h and everything it #includes also.
I'd swear I have everything available in my path, but I keep getting that error. As a test I put my own little .h file in the path and called a definition from it, so the path works.
Also, I can't actually see where in any of those files that cog_run is defined. Even cog.h doesn't seem to include anything I'd recognize as code.
I'd think there'd be something like this on the forum somewhere but I didn't find it after a few tries.