I need to use cout in C++. eg cout << "Hello world"; even tho is included, program still gets compiling error "undefined variable cout" solution: need to use namepace std the reason in the last two lines of picture.
ref: http://www.cplusplus.com/doc/tutorial/namespaces/ I
No comments:
Post a Comment