I'm new to C++ and this is example code (only part of the code where I'm recieving the error) from my text book. I'm receiving the follow error:
C:\CSC311\CHAP03\RealEstate\String2.cpp(153) : error C2039: 'strcpy' : is not a member of 'std'
#include "STRING2.h"
#include <cctype>
#include <fstream>
#include <iostream>
#include <cstring>
void StrType::CopyString(StrType& newString)
{
using namespace std;
std::strcpy(newString.letters, letters);}
void StrType:perator=(const StrType& otherString)
{
using namespace std;
std::strcpy(letters, otherString.letters);
}
Can anyone give me a hint or clue as to why or where to look?
Thanks for any help.
Rex