View Full Version : progressWindowCmd example in VC7


butCherHeLL
04 April 2005, 10:31 PM
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 ?

tweeeker
04 April 2005, 08:32 PM
cerr is declared in iostream.h. Try adding

#include <iostream>

near the top of you code.

butCherHeLL
04 April 2005, 09:09 PM
thanks for answer tweeker . I will look now

CGTalk Moderation
04 April 2005, 09:09 PM
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.


1