I am new to c++ classes. I am trying to write a simple e-mail class. below is my .h file. In the cpp all I have is the main which is empty right now since it wont even compile. I am getting cout and endl as an undelclared identifier.
I also have the following includes:
#include "StdAfx.h"
#include <iostream>
#include "Email.h"
#include <fstream>
#include <String>
#include <cstdio>
#include <stdlib.h>
#pragma once
namespace EmailClass
{
ref class Email
{
public:
Email(void);
private:
void telnet()
{
cout << "Testing" << endl;
}
};
}