progressWindowCmd example in VC7


#1

I am trying to make work progressWindowCmd example (in maya6.5) in VC7 (.NET 2002)

the line which begins with CHECK_MSTATUS

has problem

progressWindowCmd.cpp(78): error C2065: ‘cerr’ : undeclared identifier
progressWindowCmd.cpp(78): error C2296: ‘<<’ : illegal, left operand has type ‘‘unknown-type’’
progressWindowCmd.cpp(78): error C2297: ‘<<’ : illegal, right operand has type ‘char [24]’

any opinion ?


#2

cerr is declared in iostream.h. Try adding

#include <iostream>

near the top of you code.


#3

thanks for answer tweeker . I will look now


#4

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.