I cant get the program to compile
I am getting 'system': identifier not found
I have the following includes
#include "stdafx.h"
#include "Email.h"
#include <iostream>
#include <fstream>
#include <String>
#include <cstdio>
#include <stdlib.h>
#pragma once
using namespace System;
namespace Email {
public ref class Class1
{
private:
void telnet ()
{
system("dir");
}
};
}