Header file problem

I have written this program->
#include <iostream>
#ifndef HEADER_H
#define HEADER_H
struct structure
void add (int,int);
void structure::add (int a,int b)
int c;
cout << "Here is c:" << c;

But when i compile it it says that "cout was not declared in this scope"
Plz help me out.

You want to learn about namespaces.
Thank you actually i forgot to mention the namespace std.
Topic archived. No new replies allowed.