Can anybody help me? Eclipse errors

I've written this code three times over.



#include <iostream> // include stream for input/output functionality
using namespace std;
// function main begins program execution

int main() // set class main begin with return values as integers
{

int num1; // this makes the first integer a readable value
int num2; // this makes the second integer a readable value
int num3; // this makes the third integer a readable value

int smallest; //this makes the information for the "smallest" integer a readable value
int largest; //this makes the information for the "largest" integer a readable value
int sum; // this makes the information "sum" a readable value
int average; // this makes the information "average" a readable value
int product; // this makes the information "product" a readable value

cout << "Please enter first number\n "; // prompt for user to enter the first integer
cin << num1; // value storage for user entered value of first integer

cout << "Please enter second number\n "; // prompt for user to enter the second integer
cin << num2; // value storage for user entered value of second integer

cout << "Please enter third number\n "; // prompt for user to enter the third integer
cin << num3; // value storage for user entered value of third integer

cout << "Great thanks!" end1;

smallest = num1; // assume first integer is smallest and that user enters integers 1 through 3 from smallest to largest
if (num2 < smallest)
smallest = num2; // value placement for num2 as smallest if second integer is smaller than assumed first as smallest
if (num3 < smallest)
smallest = num3; // value placement for num3 as smallest if third integer is smaller than assumed second as smallest
cout << smallest << std::end1; // read value "smallest"

largest = num3; // assume third integer is largest and that user enters integers 1 through 3 from smallest to largest
if (num1 > largest)
largest = num1; // value placement for num1 as largest if first integer is larger than assumed third as largest
if (num2 > largest)
largest = num2; // value placement for num2 as largest if second integer is larger than assumed first as largest
cout << largest << std::end1; // read value "largest"

sum = num1 + num2 + num3; // sum calculation
cout << "Sum is " << sum << std::endl; // sum value read out

average = sum / 3; // average calculation
cout << "Average is " << average << std::endl; // average value read out

product = num1 * num2 * num3; // product calculation
cout << "Product is " << product << std::end1; // product value read out

} //end main


I've set everything: new source file with pertinent settings, i've linked the MinGW cache in the workspace....What am i doing wrong? Why is there always some code like "Launch failed. Binary not found" or something else? I really wish i knew what i was doing wrong.
Please do not post more than once:
http://www.cplusplus.com/forum/general/156523/
Topic archived. No new replies allowed.