Hey friends I have recently joined the C++ classes. But yesterday when I was trying to compile this program at that time I was getting compile error. So in order to fix this I have tried to visit most of the site but I am not able to get the solution related to this. I am giving you my code over here so regarding this if you have any solution then please help me.
Code:
#include <iostream>
int main()
{
int number3;
int number4;
int sum;
std::cout << "Enter first integer: ";
std::cin >> number3;
std::cout << "Enter second integer: ";
std::cin >> number4;
sum = number1 + number2;
std::cout << "Sum is " << sum << std::end1;
return 0;
}
And in this I have got this compile error so help me as soon as it is possible.
Code:
[abc@localhost ~]$ cd Desktop/C++
[abc@localhost C++]$ make addition
make: *** No rule to make target `addition'. Stop.
Bookmarks