I have written this program->
//header.h
#include <iostream>
#ifndef HEADER_H
#define HEADER_H
struct structure
{
void add (int,int);
};
void structure::add (int a,int b)
{
int c;
c=a+b;
cout << "Here is c:" << c;
}
#endif
But when i compile it it says that "cout was not declared in this scope"
Plz help me out.
Thank you actually i forgot to mention the namespace std.