Please note, that I did add a header file strutils.h, also I copied this file in the project. strutils.cpp was added to the Source Files and was also copied into the Project folder.
**The Error I receive is as follows: error C2039: 'ToLower' : is not a member of 'std::basic_string<_Elem,_Traits,_Alloc>' **
I started the code following the book Computer Science Tapestry by Astrachan, I did check the book several times, but no result on my part. (The library strutils does include ToLower() function)
I feel that I am missing something very simple.
Below is my code.
#ifndef _STRUTILS_H
#define _STRUTILS_H
#include <iostream>
#include <string>
#include "strutils.h"
using namespace std;
int main()
{
string boot = "Drimmnal";
boot.ToLower();
cin.ignore();
cin.get();
return 0;
}
#endif