I know I'm sounding an awful lot like a newb by asking this however I'm curious as to know why I'm getting an error when using simple operators through an if statement on a string? Here is what I am doing to produce the error:
void Shift (string updown )
{
if (updown == "hel")
{
//random code
}
}
and my includes would be:
#include <iostream>
#include <fstream>
#include <Windows.h>
using namespace std;