I need some help here, why this program is not working? What should be his correct form?
Code:#include <iostream> using namespace std; struct database { int Telefone(); }; int main() { string x; cout<<"Testing\n"; cin>> x; cin.ignore(); if ( x = Teste ) { database Teste; database *ptr; teste.Telefone = 33327731 *ptr = &database; cout<< ptr->Telefone cin.get(); }