After "Hello, my name is Locao ......" for me, in logic, should continue, and if the user wrote 'talk' he would say "Oh, so you want to talk ?!". But at that moment it stops, it simply does not appear anything after that, then if I write anything it goes to the last if
and it ends.
#include <iostream>
using namespace std;
//Variaveis
char assunto[50] = "conversar";
//Logica
int main()
{
cout << "Ola, meu nome eh LOCAO, e estou aqui para te ajudar, o que voce deseja?" << endl ;
cin >> assunto;
if (assunto == "conversar")
cout<<"Oh! Entao você quer conversar?! Sobre o que?"<< endl;
if (cin >> assunto)
cout << "Ah sim, isso eh muito legal" << endl;
system("pause");
return 0;
}