How to check "cout" result in maya?


#1

Hello everyone!

I`m learning maya api now.

#include <maya/MSimple.h>
#include <maya/MIOStream.h>
DeclareSimpleCommand( helloWorld, “Autodesk”, “8.0”);
MStatus helloWorld::doIt( const MArgList& )
{
cout << “Hello World
”;
return MS::kSuccess;
}

      cout << “Hello World

”;

Why I can`t see result in maya?

So I need your help!
Thanks!


#2

This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.