I'm getting this error everytime i try to define a class on header's project file is there is any tips to avoid these errors ?
everytime i run this code the debug respond with this message :unknown type cout
here is the C++ (header.h file code) :
//
// start.h
// start_practice
//
// Created by Macbook Pro on 11/22/15.
// Copyright (c) 2015 Macbook Pro. All rights reserved.
//
#ifndef __start_practice__start__
#define __start_practice__start__
#include <iostream>
using namespace std ;
cout << "hello" ; <--- everytime i run this code the debug respond with this message :unknown type cout
#endif /* defined(__start_practice__start__) */