Sunday, April 17, 2011

'NULL' was not declared in scope

(and cout, for that matter).

  • For NULL: use #include or
  • For cout: use the scope operator: std::cout or put 'using std::cout' at the top of the file.

No comments: