The error is:
The system cannot find the file specified.
// Calculator.cpp : Started 11-16-09
#include "stdafx.h"
#include <iostream>
#include <string>
using namespace std;
int main()
{
int a, b;
cout << "Hi and welcome to calculator! " << "Enter the first number...";
getline (cin, a);
cout << "Enter the second number...";
getline (cin, b);
cout << "The answer is:" << a + b;
return 0;
cin.get();
}
So please help me because its driving me crazy that I can't figure it out myself.
This post has been edited by H4CKC0D3R: 16 November 2009 - 06:39 PM

New Topic/Question
Reply




MultiQuote






|