I read it, and I understand why it was having a problem. But it was saying getline() should be used in place of cin, right? I'm not sure how I would use getline() instead.
Hey everyone, I hope I have this in the right forum.. I'm using Microsoft Visual C++ 6.0.. I'm just starting to learn to program, and I was trying to make an extremely basic calculator.
#include <iostream.h>
#include <string.h>
#include <stdlib.h>
int Add(int x, int y)
{
return(x+y);
}
int...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.