(still need help and please note i get this error for whenever i try and compile and run any program no matter how simple or advanced)
I downloaded bloodshed dev.c++ program for c++
its the program that we are using in school for the class
I type in the program perfectly no problems or whatever but i get an error when i try and compile it it says
[Linker error] undefined reference to `__cpu_features_init'
ld returned 1 exit status
(note this is the file) C:\Dev-Cpp\My Projects\Makefile.win
(this is the error message) [Build Error] [Project1.exe] Error 1
here is what im trying to compile and run its pretty simple and ive tried even simpler ones the
cout << "Hello World"<<;
one also but i get the same error
Code:
#include <iostream>
using namespace std;
int main()
{
int num1,num2;
float average;
cout << "Hello World!"<< endl;
cout << "Press Enter to continue..." << endl;
cin.get();
cout << "Enter an integer betweeen 1 and 10"<<endl;
cin >> num1;
cin.get();
cout << "Enter an integer between 11 and 20";
cin >> num2;
cin.get();
average=(num1+num2)/2;
cout << "Average=" << average << endl;
cin.get();
return 0;
}
im running on a gateway media center so im thinking that maybe im missinig some program?? but i have no idea
if anybody is using this program or have used it and have any ideas please help
please be specific in details im just a beginner to c++