I want it so that i can enter multiple things upon input. Here's my code:
#include <iostream>
#include <string>
using namespace std;
int main()
{
char dot;
dot = '.';
string sztext1;
string sztext2;
cin >> sztext1 >> dot >> sztext2;
cout << "Works..." << endl;
system("pause >nul");
return 0;
}
Example, if I enter much.love, it doesn't output "Works..."