Okay, i'm getting this really odd error message...26 times.

The message is:

My code to classify a triangle.Quote:

Error E2206 1: Illegal character ' ' (0x0)

What is going on!?Code:`#include <iostream>`

#include <cstdlib>

#include <cmath>

using namespace std;

int main()

{

int co1x;

int co1y;

int co2x;

int co2y;

int co3x;

int co3y;

int dis1;

int dis2;

int dis3;

cout<<"Enter the coordinates of the triangle" << endl;

cout<<"X coordinate of point 1: " << flush;

cin.ignore();

cin>>co1x;

cout<<"Y coordinate of point 1: "<< flush;

cin.ignore();

cin>>co1y;

cout<<"X coordinate of point 2: "<< flush;

cin.ignore();

cin>>co2x;

cout<<"Y coordinate of point 2: "<< flush;

cin.ignore();

cin>>co2y;

cout<<"X coordinate of point 3: "<< flush;

cin.ignore();

cin>>co3x;

cout<<"Y coordinate of point 3: "<< flush;

cin.ignore();

cin>> co3y;

sqrt((co1x - co2x)^2 + (co1y - co2y)^2) = dis1;

sqrt((co2x - co3x)^2 + (co2y - co3y)^2) = dis2;

sqrt((co3x - co1x)^2 + (co3y - co1y)^2) = dis3;

if (dis1 == dis2 && dis2 == dis3 && dis3 == dis1)

cout<<"The triangle is equilateral." << endl;

else if (dis1 == dis2 && dis2 == dis1)

cout<<"The triangle is isoceles." << endl;

else if (dis2 == dis3 && dis3 == dis2)

cout<<"The triangle is isoceles." << endl;

else if (dis3 == dis1 && dis1 == dis3)

cout<<"The triangle is isoceles." << endl;

else if (dis3 != dis1 && dis2 != dis1 && dis2 != dis3)

cout<<"The triangle is scalene." <<endl;

cin.get();

}